Skip to content

Installing RStudio Package Manager#

These instructions describe how to install RStudio Package Manager on a Linux server.

Step 1. Download and install#

  • Download and install RStudio Package Manager:

    $ curl -O https://s3.amazonaws.com/rstudio-package-manager/centos/x86_64/rstudio-pm-1.1.6.1-5.x86_64.rpm
    $ sudo yum install rstudio-pm-1.1.6.1-5.x86_64.rpm
    
    $ curl -O https://s3.amazonaws.com/rstudio-package-manager/centos8/x86_64/rstudio-pm-1.1.6.1-5.x86_64.rpm
    $ sudo yum install rstudio-pm-1.1.6.1-5.x86_64.rpm
    
    $ sudo apt-get install gdebi-core
    $ curl -O https://s3.amazonaws.com/rstudio-package-manager/ubuntu/amd64/rstudio-pm_1.1.6.1-5_amd64.deb
    $ sudo gdebi rstudio-pm_1.1.6.1-5_amd64.deb
    
    $ sudo apt-get install gdebi-core
    $ curl -O https://s3.amazonaws.com/rstudio-package-manager/ubuntu20/amd64/rstudio-pm_1.1.6.1-5_amd64.deb
    $ sudo gdebi rstudio-pm_1.1.6.1-5_amd64.deb
    
    $ curl -O https://s3.amazonaws.com/rstudio-package-manager/opensuse/x86_64/rstudio-pm-1.1.6.1-5.x86_64.rpm
    $ sudo zypper --no-gpg-checks install rstudio-pm-1.1.6.1-5.x86_64.rpm
    
    $ curl -O https://s3.amazonaws.com/rstudio-package-manager/opensuse15/x86_64/rstudio-pm-1.1.6.1-5.x86_64.rpm
    $ sudo zypper --no-gpg-checks install rstudio-pm-1.1.6.1-5.x86_64.rpm
    

Step 2. Activate license#

  • Run the following command to determine the status of your license and verify that your evaluation license is active:

    Terminal
    $ sudo /opt/rstudio-pm/bin/license-manager status
    

    Using online activation

    If you already have a license key and your server is in an online environment, you can activate the license using the following command:

    Terminal
    $ sudo /opt/rstudio-pm/bin/license-manager activate <LICENSE-KEY>
    

    where <LICENSE-KEY> is the license key that was provided to you.

    Using offline activation

    If your server is offline, you can use this app to activate your offline license. For more information about offline license activation, refer to the offline activation section of the RStudio Package Manager Administration Guide.

    Using a floating license server

    If you are using a floating licensing server, refer to the floating licenses section of the RStudio Package Manager Administration Guide.

    For more information on different options of activating your license, refer to the Licensing section of the RStudio Package Manager Administration guide.

Step 3. Verify installation#

  • Now, you can visit RStudio Package Manager in a browser at http://<SERVER-ADDRESS>:4242 and replacing <SERVER-ADDRESS> with the DNS name or IP address of the server.