How To Install libleveldb1d on Debian 11

In this tutorial we learn how to install libleveldb1d on Debian 11. libleveldb1d is fast key-value storage library

Introduction

In this tutorial we learn how to install libleveldb1d on Debian 11.

What is libleveldb1d

libleveldb1d is:

LevelDB is a fast key-value storage library written at Google that provides an ordered mapping from string keys to string values.

Features:

  • Keys and values are arbitrary byte arrays.
  • Data is stored sorted by key.
  • Callers can provide a custom comparison function to override the sort order.
  • The basic operations are Put(key,value), Get(key), Delete(key).
  • Multiple changes can be made in one atomic batch.
  • Users can create a transient snapshot to get a consistent view of data.
  • Forward and backward iteration is supported over the data.
  • Data is automatically compressed using the Snappy compression library.
  • External activity (file system operations etc.) is relayed through a virtual interface so users can customize the operating system interactions.
  • Detailed documentation about how to use the library is included with the source code.

Limitations:

  • This is not a SQL database. It does not have a relational data model, it does not support SQL queries, and it has no support for indexes.
  • Only a single process (possibly multi-threaded) can access a particular database at a time.
  • There is no client-server support builtin to the library. An application that needs such support will have to wrap their own server around the library.

This package provides the shared library.

There are three methods to install libleveldb1d on Debian 11. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libleveldb1d Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install libleveldb1d using apt-get by running the following command:

sudo apt-get -y install libleveldb1d

Install libleveldb1d Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libleveldb1d using apt by running the following command:

sudo apt -y install libleveldb1d

Install libleveldb1d Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install libleveldb1d using aptitude by running the following command:

sudo aptitude -y install libleveldb1d

How To Uninstall libleveldb1d on Debian 11

To uninstall only the libleveldb1d package we can use the following command:

sudo apt-get remove libleveldb1d

Uninstall libleveldb1d And Its Dependencies

To uninstall libleveldb1d and its dependencies that are no longer needed by Debian 11, we can use the command below:

sudo apt-get -y autoremove libleveldb1d

Remove libleveldb1d Configurations and Data

To remove libleveldb1d configuration and data from Debian 11 we can use the following command:

sudo apt-get -y purge libleveldb1d

Remove libleveldb1d configuration, data, and all of its dependencies

We can use the following command to remove libleveldb1d configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libleveldb1d

Dependencies

libleveldb1d have the following dependencies:

References

Summary

In this tutorial we learn how to install libleveldb1d package on Debian 11 using different package management tools: apt, apt-get and aptitude.