Reputation: 712
RocksDB is a key / value database created by facebook and works very well, but it lacks documentation on how to install the production version.
Upvotes: 8
Views: 20495
Reputation: 421
I was going through the same thing but I found answer, installation instructions are in fact there, just need to snoop around a little
https://github.com/facebook/rocksdb/blob/master/INSTALL.md
to wrap these instructions in few lines:
Dependencies:
sudo apt-get install libgflags-dev libsnappy-dev zlib1g-dev libbz2-dev libzstd-dev
Installation:
git clone https://github.com/facebook/rocksdb.git
cd rocksdb/
make all
Upvotes: 4
Reputation: 712
The code below works fine on Ubuntu 16.04 and was placed here to help
git clone https://github.com/facebook/rocksdb.git
cd rocksdb
DEBUG_LEVEL=0 make shared_lib install-shared
export LD_LIBRARY_PATH=/usr/local/lib
Hope this helps.
Kemper
Upvotes: 15