Last active
September 11, 2018 07:28
-
-
Save bmmalone/2690ba29ce80e56671ab2ecbb16d4116 to your computer and use it in GitHub Desktop.
Install Pagoda prerequisties
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env bash | |
# pixman | |
wget https://cairographics.org/releases/pixman-0.34.0.tar.gz | |
tar -xvf pixman-0.34.0.tar.gz | |
cd pixman-0.34.0/ | |
./configure --prefix=$HOME/local --disable-static | |
make | |
make install | |
export pixman_CFLAGS="-I$HOME/local/include/pixman-1" | |
export pixman_LIBS="-L$HOME/local/lib -lpixman-1" | |
# cairo | |
wget https://cairographics.org/releases/cairo-1.14.8.tar.xz | |
tar -xvf cairo-1.14.8.tar.xz | |
cd cairo-1.14.8/ | |
./configure --prefix=$HOME/local --disable-static --enable-tee | |
make | |
make install | |
export CAIRO_CFLAGS="-I$HOME/local/include/cairo" | |
export CAIRO_LIBS="-L$HOME/local/lib -lcairo" | |
# boost | |
cd $HOME/install | |
wget https://dl.bintray.com/boostorg/release/1.66.0/source/boost_1_66_0.tar.bz2 | |
tar -xvf boost_1_66_0.tar.bz2 | |
cd boost_1_66_0/ | |
ln -s $HOME/install/boost_1_66_0/boost $HOME/local/include/ | |
./bootstrap.sh --prefix=$HOME/local | |
./b2 | |
./b2 install --prefix=$HOME/local | |
# gsl | |
wget ftp://ftp.gnu.org/gnu/gsl/gsl-2.4.tar.gz | |
tar -xvf gsl-2.4.tar.gz | |
cd gsl-2.4 | |
./configure --prefix=$HOME/local | |
make | |
make install | |
# let ipython see R | |
# within R | |
install.packages('devtools') | |
devtools::install_github('IRkernel/IRkernel') | |
IRkernel::installspec(name='ir34', displayname='R 3.4') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See this walkthrough for installing R.