Skip to content

Instantly share code, notes, and snippets.

@diegovdev
Forked from owenkellogg/install_rippled.sh
Last active August 29, 2015 14:26
Show Gist options
  • Save diegovdev/32b6bfde594b10282b41 to your computer and use it in GitHub Desktop.
Save diegovdev/32b6bfde594b10282b41 to your computer and use it in GitHub Desktop.
rippled installation script
sudo apt-get update
sudo -y apt-get upgrade
## Install Boost
sudo apt-get -y install build-essential g++ python-dev autotools-dev libicu-dev build-essential libbz2-dev
wget -O boost_1_55_0.tar.gz http://sourceforge.net/projects/boost/files/boost/1.55.0/boost_1_55_0.tar.gz/download
tar xzvf boost_1_55_0.tar.gz
cd boost_1_55_0/
./bootstrap.sh --prefix=/usr/local
user_configFile=`find $PWD -name user-config.jam`
echo "using mpi ;" >> $user_configFile
n=`cat /proc/cpuinfo | grep "cpu cores" | uniq | awk '{print $NF}'`
sudo ./b2 --with=all -j $n install
sudo sh -c 'echo "/usr/local/lib" >> /etc/ld.so.conf.d/local.conf'
sudo ldconfig
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment