Skip to content

Instantly share code, notes, and snippets.

@diegopacheco
Created May 27, 2017 16:06
Show Gist options
  • Save diegopacheco/e8ccd6e719628e30a2ad0de3cc60234c to your computer and use it in GitHub Desktop.
Save diegopacheco/e8ccd6e719628e30a2ad0de3cc60234c to your computer and use it in GitHub Desktop.
How to install RocksDB on Ubuntu Linux 16.04 LTS
sudo apt-get install -y libgflags-dev libsnappy-dev zlib1g-dev libbz2-dev libzstd-dev
git clone https://github.com/facebook/rocksdb.git
cd rocksdb/
make all
@OscarB7
Copy link

OscarB7 commented Jul 14, 2017

Hello friend. How am I sure that Rocksdb is installed? I am on Ubuntu 17. Everything is update, and I want to install Rocksdb to install GoRocksdb, but it returns that there was no rocksdb.h in the directory. I want to make sure the problem is that Rocksdb is not installed. Thank you, Diego.

@hu38
Copy link

hu38 commented Aug 19, 2019

This is super helpful!! Just one package liblz4-dev missing, according to current INSTALL.md.

@anisbhsl
Copy link

anisbhsl commented Dec 17, 2019

As reported by @hu38, for those who still experience package missing error, you need to do this:
sudo apt install liblz4-dev

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment