Skip to content

Instantly share code, notes, and snippets.

@jarrettmeyer
Last active August 25, 2016 13:22
Show Gist options
  • Select an option

  • Save jarrettmeyer/bc6dbe8c4f78261f4909386530436a0d to your computer and use it in GitHub Desktop.

Select an option

Save jarrettmeyer/bc6dbe8c4f78261f4909386530436a0d to your computer and use it in GitHub Desktop.
# Install prerequisites.
sudo apt-get install -y build-essential \
libreadline6 libreadline6-dev \
gfortran \
libxorg-dev \
libbz2-dev \
liblzma-dev \
libpcre3-dev \
libcurl4-openssl-dev \
libjpeg-dev libtiff5-dev libicu-dev libcairo2-dev \
texlive-binaries texlive-latex-base texinfo texlive-fonts-extra
./configure --enable-R-shlib
# The output of configure should be the following...
# R is now configured for x86_64-pc-linux-gnu
#
# Source directory: .
# Installation directory: /usr/local
#
# C compiler: gcc -g -O2
# Fortran 77 compiler: f95 -g -O2
#
# C++ compiler: g++ -g -O2
# C++11 compiler: g++ -std=c++11 -g -O2
# Fortran 90/95 compiler: gfortran -g -O2
# Obj-C compiler:
#
# Interfaces supported: X11
# External libraries: readline, curl
# Additional capabilities: PNG, JPEG, TIFF, NLS, cairo, ICU
# Options enabled: shared BLAS, R profiling
#
# Capabilities skipped:
# Options not enabled: memory profiling
#
# Recommended packages: yes
# Be sure to set your JAVA_HOME environment variable.
export JAVA_HOME=/usr/lib/jvm/java-8-opensdk-amd64/
sudo make
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment