Installing LevelDB on Ubuntu 18.04 and Ubuntu 16.04

Установка LevelDB на Ubuntu

LevelDB is a high-performance key/value developed by Corporation.

Requirements

Installation

Install the archiving utility:

sudo apt-get install libsnappy-dev libleveldb-dev

With this command, we installed LevelDB, now we need to test the performance. For this we need Python-pip.

Install Python-pip:

sudo apt-get install python-pip

Install the interface for interacting with LevelDB:

pip install leveldb-cli

Now let’s check. Let’s create a new database:

leveldb create -d newdb.db

Insert the hello key into with the world value:

leveldb put hello world -d newdb.db

Next, we turn to the hello key, which will result in a world result:

leveldb get hello -d newdb.db

Remove the hello key:

leveldb delete hello -d newdb.db

Let’s try to get the hello key:

leveldb get hello -d newdb.db

Error: key hello does not exist

In general, it looks like this:

Тестирование работоспособности LevelDB

 

Welcome to the world of DomainRooster, where roosters (and hens) rule the roost! We're a one-stop shop for all your entrepreneurial needs, bringing together domain names and website hosting, and all the tools you need to bring your ideas to life. With our help, you'll soar to new heights and hatch great success. Think of us as your trusty sidekick, always there to lend a wing and help you navigate the sometimes-complex world of domain names and web hosting. Our team of roosters are experts in their fields and are always on hand to answer any questions and provide guidance. So why wait? Sign up today and join the ranks of the world's greatest entrepreneurs. With DomainRooster, the sky's the limit! And remember, as the saying goes, "Successful people do what unsuccessful people are not willing to do." So don't be afraid to take that leap of faith - DomainRooster is here to help you reach for the stars. Caw on!