Skip to content

Instantly share code, notes, and snippets.

@dustismo
Last active July 22, 2024 18:51
Show Gist options
  • Save dustismo/6203329 to your computer and use it in GitHub Desktop.
Save dustismo/6203329 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
@phananh1010
Copy link

you can install leveldb on ubuntu using libleveldb-dev instead. Work for me:
sudo apt-get install libleveldb-dev

@Kolomiits
Copy link

sudo apt-get install python3-pip python3-dev && python3 -m pip install -U leveldb

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