Google LevelDB with C

LevelDB is a fast key-value storage library written at Google that provides an ordered mapping from string keys to string values.The library was written in C++ and developers have developed bindings for many languages such as C# and node.js. The db is using google's snappy compression library to decrease the on-disk size of LevelDB stores with minimal sacrifice of speed. In this post we'll talk about using LevelDB in an Ubuntu environment with C. First install snappy dependencies using following command. sudo apt-get install libsnappy-dev Get the latest copy of levelDB from GitHub. git clone https://github.com/google/leveldb.git Execute the following set of commands to make and install the library on your Ubuntu environment.(the libleveldb.* is in the out-static now). cd leveldb/ make sudo scp -r out-static/lib* out-shared/lib* /usr/local/lib/ cd include/ sudo scp -r leveldb /usr/local/include/ sudo ldconfig man scp - r sudo ldconfig man scp -r If...