Skip to content

Support for Ubuntu 12.04

Joe Cheng edited this page Oct 19, 2016 · 1 revision

Ubuntu 12.04 (Precise Pangolin) support is deprecated for Shiny Server 1.5 and above.

Ubuntu 12.04 is approaching its end-of-life date of April 2017. The R project has already discontinued support for it (12.04 is not supported for R 3.3.0 and above). If you're still running Ubuntu 12.04, we highly recommend you upgrade to a more recent LTS version of Ubuntu!

Due to using a modern version of Node.js, Shiny Server 1.5 must be built using an up-to-date gcc compiler toolchain, which is not available from the default Ubuntu 12.04 package repositories. If you install the Shiny Server 1.5 .deb package and attempt to run it, you will encounter errors that will prevent the server from starting, perhaps like:

/opt/shiny-server/ext/node/bin/shiny-server: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.18' not found (required by /opt/shiny-server/ext/node/bin/shiny-server)

That said, if you absolutely must use Ubuntu 12.04 until April 2017, you can run the following commands to install the necessary gcc components.

sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get install libstdc++6-4.7-dev

If this solution doesn't work or isn't suitable for you, please contact support.