Support

Purging RStudio Package Manager

Follow

You can fully remove RStudio Package Manager and all its data from your server using the following steps:

  1. Stop the RStudio Package Manager service. (See Section 5.1 of the admin guide for details)
  2. Uninstall the RStudio Package Manager package from your system.

    Ubuntu:

    sudo apt-get purge rstudio-pm

    Red Hat/CentOS:

    sudo yum remove rstudio-pm

    SUSE:

    sudo zypper remove rstudio-pm
  3. Remove /opt/rstudio-pm if it still exists.
  4. Remove logs from /var/log/rstudio-pm*
  5. Purge the databases
    • When using SQLite, remove the SQLite.Dir directory. This has a default location of/var/lib/rstudio-pm/db.
    • When using PostgreSQL, drop the databases used by RStudio Package Manager. You may also wish to remove the PostgreSQL user associated with RStudio Package Manager.
  6. Remove the Server.DataDir directory. By default, this is /var/lib/rstudio-pm.
  7. Remove configuration files from /etc/rstudio-pm if they still exist.

Comments