This file provides some information about the dependencies required to use the pepper codebase. Installation scripts are provided for several common distros, but this information should help if you're installing on other distributions.
First, you will need a bunch of tools that your distribution almost certainly packages for you. See "Tools." If you are using a distribution other than the ones we've tested, there's a section at the end of this file that should give you enough information to figure out which ones to install.
Second, you will need to compile several third-party packages that we distribute. We make a script available that will take care of this for you; see "Packages," below, for more details.
Your distribution will likely have these as binary packages.
Tested with Debian (Wheezy and Jessie), CentOS 7, Fedora 21, Arch 2015.03ish.
Note: Ubuntu should be largely similar if not identical, and openjdk-8 should work.
apt-get install python2.7 libpython2.7 libpython2.7-dev openjdk-7-jdk \
golang build-essential gcc g++ gcc-multilib g++-multilib ant \
ant-optional make time libboost-all-dev libgmp10 libgmp-dev \
zlib1g zlib1g-dev cmake
CentOS should be largely similar, assuming a sufficiently up-to-date release. We have tested this with CentOS 7.
yum groupinstall 'Development Tools'
yum install python python-devel java-1.8.0-openjdk-devel golang gcc \
gcc-c++ glibc-devel libstdc++ glibc-devel.i686 libstdc++.i686 ant \
make time boost boost-devel gmp gmp-devel zlib zlib-devel cmake
First, you need to enable multilib. See https://wiki.archlinux.org/index.php/multilib
pacman -S python python2 jdk7-openjdk go base-devel multilib-devel \
libstdc++5 lib32-glibc lib32-libstdc++5 lib32-gcc-libs \
gcc-libs-multilib libtool-multilib gcc-multilib apache-ant \
make time boost boost-libs gmp zlib cmake
Note that by default Arch uses python3 instead of python2. We haven't tested extensively, but it seems to work. If you have problems, you can try
ln -sf /usr/bin/python2 /usr/bin/python
ln -sf /usr/bin/python2-config /usr/bin/python-config
For more details, see the end of this file.
We have archived known-working versions of these packages in the thirdparty/ directory, along with an install script.
After installing the packages listed in Tools, above:
cd thirdparty
./install_pepper_deps.sh
When you've finished installing all of these, you should run sudo ldconfig
for good measure.
-
python 2.x
-
java >= 1.7
-
go >= 1.0.2
-
gcc, g++ >= 4.7.3 (including multilib support)
-
Apache ant
-
GNU Make
-
GNU time
-
Boost
-
gmp (including development libraries)
-
zlib
-
cmake