How To Install golang-etcd-bbolt on Fedora 36

In this tutorial we learn how to install golang-etcd-bbolt in Fedora 36. golang-etcd-bbolt is Embedded key/value database for Go

Introduction

In this tutorial we learn how to install golang-etcd-bbolt on Fedora 36.

What is golang-etcd-bbolt

Package Bbolt implements a low-level key/value store in pure Go. It supports fully serializable transactions, ACID semantics, and lock-free MVCC with multiple readers and a single writer. Bolt can be used for projects that want a simple data store without the need to add large dependencies such as Postgres or MySQL. Bolt is a single-level, zero-copy, B+tree data store. This means that Bolt is optimized for fast read access and does not require recovery in the event of a system crash. Transactions which have not finished committing will simply be rolled back in the event of a crash. The design of Bolt is based on Howard Chu’s LMDB database project.

We can use yum or dnf to install golang-etcd-bbolt on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install golang-etcd-bbolt.

Install golang-etcd-bbolt on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install golang-etcd-bbolt using dnf by running the following command:

sudo dnf -y install golang-etcd-bbolt

Install golang-etcd-bbolt on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install golang-etcd-bbolt using yum by running the following command:

sudo yum -y install golang-etcd-bbolt

How To Uninstall golang-etcd-bbolt on Fedora 36

To uninstall only the golang-etcd-bbolt package we can use the following command:

sudo dnf remove golang-etcd-bbolt

golang-etcd-bbolt Package Contents on Fedora 36

/usr/bin/bbolt
/usr/lib/.build-id
/usr/lib/.build-id/fd
/usr/lib/.build-id/fd/29b38624feac96acde3ba96992acfca6ade938
/usr/share/doc/golang-etcd-bbolt
/usr/share/doc/golang-etcd-bbolt/README.md
/usr/share/licenses/golang-etcd-bbolt
/usr/share/licenses/golang-etcd-bbolt/LICENSE

References

Summary

In this tutorial we learn how to install golang-etcd-bbolt on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).