Skip to content

Instantly share code, notes, and snippets.

@ns408
Forked from dustismo/gist:6203329
Created April 23, 2018 16:29
Show Gist options
  • Save ns408/9cfd6370aa7d5660ff3be35d646485b6 to your computer and use it in GitHub Desktop.
Save ns408/9cfd6370aa7d5660ff3be35d646485b6 to your computer and use it in GitHub Desktop.
How to install leveldb on ubuntu
sudo apt-get install libsnappy-dev
wget https://leveldb.googlecode.com/files/leveldb-1.9.0.tar.gz
tar -xzf leveldb-1.9.0.tar.gz
cd leveldb-1.9.0
make
sudo mv libleveldb.* /usr/local/lib
cd include
sudo cp -R leveldb /usr/local/include
sudo ldconfig
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment