How to install RocksDB into ubuntu?

Helmut Kemper picture Helmut Kemper · Dec 21, 2017 · Viewed 9.7k times · Source

RocksDB is a key / value database created by facebook and works very well, but it lacks documentation on how to install the production version.

Answer

Helmut Kemper picture Helmut Kemper · Dec 21, 2017

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