How To Install golang-github-coreos-bbolt-dev on Debian 10

Learn how to install golang-github-coreos-bbolt-dev on Debian 10 with this tutorial. golang-github-coreos-bbolt-dev is low-level key/value database for Go, especially CoreOSs etcd

Introduction

In this tutorial we learn how to install golang-github-coreos-bbolt-dev on Debian 10.

What is golang-github-coreos-bbolt-dev

golang-github-coreos-bbolt-dev is:

bbolt is a fork of Ben Johnson’s Bolt key/value store (github.com/boltdb/bolt).

The purpose of this fork is to better cater to the needs of CoreOS’s etcd (github.com/coreos/etcd), and to provide the Go community with an active maintenance and development target for Bolt; the goal is improved reliability and stability. bbolt includes bug fixes, performance enhancements, and features not found in Bolt while preserving backwards compatibility with the Bolt API.

Bolt is a pure Go key/value store inspired by Howard Chu’s and the LMDB project. The goal of the project is to provide a simple, fast, and reliable database for projects that don’t require a full database server such as Postgres or MySQL.

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

Install golang-github-coreos-bbolt-dev Using apt-get

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

sudo apt-get update

After updating apt database, We can install golang-github-coreos-bbolt-dev using apt-get by running the following command:

sudo apt-get -y install golang-github-coreos-bbolt-dev

Install golang-github-coreos-bbolt-dev Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install golang-github-coreos-bbolt-dev using apt by running the following command:

sudo apt -y install golang-github-coreos-bbolt-dev

Install golang-github-coreos-bbolt-dev 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 golang-github-coreos-bbolt-dev using aptitude by running the following command:

sudo aptitude -y install golang-github-coreos-bbolt-dev

How To Uninstall golang-github-coreos-bbolt-dev on Debian 10

To uninstall only the golang-github-coreos-bbolt-dev package we can use the following command:

sudo apt-get remove golang-github-coreos-bbolt-dev

Uninstall golang-github-coreos-bbolt-dev And Its Dependencies

To uninstall golang-github-coreos-bbolt-dev and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove golang-github-coreos-bbolt-dev

Remove golang-github-coreos-bbolt-dev Configurations and Data

To remove golang-github-coreos-bbolt-dev configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge golang-github-coreos-bbolt-dev

Remove golang-github-coreos-bbolt-dev configuration, data, and all of its dependencies

We can use the following command to remove golang-github-coreos-bbolt-dev configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge golang-github-coreos-bbolt-dev

Dependencies

golang-github-coreos-bbolt-dev have the following dependencies:

References

Summary

In this tutorial we learn how to install golang-github-coreos-bbolt-dev package on Debian 10 using different package management tools: apt, apt-get and aptitude.