If you are installing RStudio Connect on an offline server, you may need dependencies installed in order for Connect to install correctly. Below you will find a list of common dependencies for major distributions – note that your requirements may be different depending on the system you’re installing on.
In general, we recommend installing the latest versions of these dependencies available; however, you may find that older versions work as well.
All operating systems
For versions prior to 2022.09.0, on all operating systems, you will need to have R installed. You can find the necessary binaries or source code here. For information on how to install R please see our official document: Install R.
Note: As of version 2022.09.0, although R is still a recommended installation, R is no longer a required prerequisite for installing RStudio/Posit Connect.
The following system dependencies are required by many common R packages and nearly all deployments will need to provide these. These package names may vary slightly between different versions of RedHat/CentOS.
make gcc gcc-c++ libcurl-devel libxml2-devel java-1.7.0-openjdk-devel # may require also executing `R CMD javareconf` openssl-devel texlive-* # VERY large dependency, but needed to render PDF documents from R Markdown
The following system dependencies are required by many common R packages and nearly all deployments will need to provide these. These package names may vary slightly between different versions of Ubuntu.
build-essential libcurl4-gnutls-dev openjdk-7-* # may require also executing `R CMD javareconf` libxml2-dev libssl-dev texlive-full # very large dependency, but needed to render PDF documents from R Markdown
There are additional system dependencies that may be required for some R packages depending on the types of R packages your users are leveraging. You could consider providing these packages for your users now, or wait until they are requested.
An up-to-date resource to help understand the system dependencies of various R packages in Ubuntu is available at https://github.com/rstudio/shinyapps-package-dependencies.
libgmp10-dev libgsl0-dev libnetcdf6 libnetcdf-dev netcdf-bin libdigest-hmac-perl libgmp-dev libgmp3-dev libgl1-mesa-dev libglu1-mesa-dev libglpk-dev tdsodbc freetds-bin freetds-common freetds-dev odbc-postgresql libtiff-dev libsndfile1 libsndfile1-dev libtiff-dev tk8.5 tk8.5-dev tcl8.5 tcl8.5-dev libgsl0-dev libv8-dev