Simplified instructions for CentOS
Summary: Minimal changes for improvements to INSTALL.md for CentOS/RHEL Closes https://github.com/facebook/rocksdb/pull/2266 Differential Revision: D5053530 Pulled By: yiwu-arbug fbshipit-source-id: c05f30299f8efec949b9001a73969d649536ea8a
This commit is contained in:
parent
a5cc7ecec4
commit
1a60982a5a
21
INSTALL.md
21
INSTALL.md
@ -63,26 +63,25 @@ makes use of SSE4, add 'USE_SSE=1' before your make commands, like this: `USE_SS
|
|||||||
git checkout v2.0
|
git checkout v2.0
|
||||||
./configure && make && sudo make install
|
./configure && make && sudo make install
|
||||||
|
|
||||||
**Notice**: Once installed, please add the include path for gflags to your CPATH env var and the
|
**Notice**: Once installed, please add the include path for gflags to your `CPATH` environment variable and the
|
||||||
lib path to LIBRARY_PATH. If installed with default settings, the lib will be /usr/local/lib
|
lib path to `LIBRARY_PATH`. If installed with default settings, the include path will be `/usr/local/include`
|
||||||
and the include path will be /usr/local/include.
|
and the lib path will be `/usr/local/lib`.
|
||||||
|
|
||||||
* Install snappy:
|
* Install snappy:
|
||||||
|
|
||||||
wget https://github.com/google/snappy/releases/download/1.1.4/snappy-1.1.4.tar.gz
|
sudo yum install snappy snappy-devel
|
||||||
tar -xzvf snappy-1.1.4.tar.gz
|
|
||||||
cd snappy-1.1.4
|
|
||||||
./configure && make && sudo make install
|
|
||||||
|
|
||||||
* Install zlib:
|
* Install zlib:
|
||||||
|
|
||||||
sudo yum install zlib
|
sudo yum install zlib zlib-devel
|
||||||
sudo yum install zlib-devel
|
|
||||||
|
|
||||||
* Install bzip2:
|
* Install bzip2:
|
||||||
|
|
||||||
sudo yum install bzip2
|
sudo yum install bzip2 bzip2-devel
|
||||||
sudo yum install bzip2-devel
|
|
||||||
|
* Install ASAN (optional for debugging):
|
||||||
|
|
||||||
|
sudo yum install libasan
|
||||||
|
|
||||||
* Install zstandard:
|
* Install zstandard:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user