-
-
Save diegovdev/32b6bfde594b10282b41 to your computer and use it in GitHub Desktop.
rippled installation script
This file contains 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
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