docs/ops/install_en.md
If you want to quickly try out Pika, pre-built binary versions for CentOS 5, CentOS 6, and Debian (Ubuntu 16) are available on the release page — look for files named pikaX.Y.Z_xxx_bin.tar.gz.
1. Unzip the file
$ tar zxf pikaX.Y.Z_xxx_bin.tar.gz
2. Change working directory to output
note: we should be in this directory because the RPATH is ./lib;
$ cd output
3. Run pika:
$ ./bin/pika -c conf/pika.conf
$ sudo yum install gflags-devel snappy-devel glog-devel protobuf-devel
$ sudo yum install zlib-devel lz4-devel libzstd-devel
$ sudo yum install gcc-c++
$ sudo wget -O /etc/yum.repos.d/slc6-devtoolset.repo http://linuxsoft.cern.ch/cern/devtoolset/slc6-devtoolset.repo
$ sudo yum install --nogpgcheck devtoolset-2
$ scl enable devtoolset-2 bash
$ git clone https://github.com/OpenAtomFoundation/pika.git
$ cd pika
$ git submodule update --init
a. Run git tag to view the latest release tag (e.g., v2.3.1)
b. Run git checkout TAG to switch to the latest version (e.g., git checkout v2.3.1)
$ make
note: If the compilation process prompts that a required library is not installed, follow the prompt to install it, then recompile.
$ sudo apt-get install libgflags-dev libsnappy-dev
$ sudo apt-get install libprotobuf-dev protobuf-compiler
$ sudo apt install libgoogle-glog-dev
$ git clone https://github.com/OpenAtomFoundation/pika.git
$ cd pika
a. Run git tag to view the latest release tag (e.g., v2.3.1)
b. Run git checkout TAG to switch to the latest version (e.g., git checkout v2.3.1)
$ make
note: If the compilation process prompts that a required library is not installed, follow the prompt to install it, then recompile.
$ ./output/bin/pika -c ./conf/pika.conf