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.
It is also now recommended that administrators consider installing Python in addition to R on the Connect server. For more information please see FAQ for Using Python with RStudio Connect.
RedHat/CentOS
- rrdtool
Recommended Packages
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
Debian/Ubuntu
- libc6
- rrdtool
Recommended Packages
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
Supplemental Packages
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
How is this different from the "Install System Prerequisites" on the Package Manager Setup page? and also https://github.com/rstudio/r-system-requirements
Hi Steve, thank you for the question and the link. It is only different in so much as the desired audience and detail. This Support Article is designed for fast reading by administrators that cover a lot of systems and don't necessarily want to parse the Posit RStudio Github repositories for details. The level of detail is just as much as most need, and the packages listed are the most commonly necessary, as seen in our Support tickets.
The repo you point to is significantly more in depth, and notes that the "primary purpose of this catalog is to support RStudio Package Manager".
I hope this answers your question clearly enough.