How To Install golang-github-hashicorp-memdb-devel on Fedora 36

In this tutorial we learn how to install golang-github-hashicorp-memdb-devel in Fedora 36. golang-github-hashicorp-memdb-devel is Golang in-memory database built on immutable radix trees

Introduction

In this tutorial we learn how to install golang-github-hashicorp-memdb-devel on Fedora 36.

What is golang-github-hashicorp-memdb-devel

The Memdb package implements a simple in-memory database built on immutable radix trees. The database provides Atomicity, Consistency and Isolation from ACID. Being that it is in-memory, it does not provide durability. The database is instantiated with a schema that specifies the tables and indices that exist and allows transactions to be executed. The database provides the following – Multi-Version Concurrency Control (MVCC) - By leveraging immutable radix trees the database is able to support any number of concurrent readers without locking, and allows a writer to make progress. – Transaction Support - The database allows for rich transactions, in which multiple objects are inserted, updated or deleted. The transactions can span multiple tables, and are applied atomically. The database provides atomicity and isolation in ACID terminology, such that until commit the updates are not visible. – Rich Indexing - Tables can support any number of indexes, which can be simple like a single field index, or more advanced compound field indexes. Certain types like UUID can be efficiently compressed from strings into byte indexes for reduced storage requirements. – Watches - Callers can populate a watch set as part of a query, which can be used to detect when a modification has been made to the database which affects the query results. This lets callers easily watch for changes in the database in a very general way. This package contains the source code needed for building packages that reference the following Go import paths – github.com/hashicorp/go-memdb

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

Install golang-github-hashicorp-memdb-devel 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-github-hashicorp-memdb-devel using dnf by running the following command:

sudo dnf -y install golang-github-hashicorp-memdb-devel

Install golang-github-hashicorp-memdb-devel 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-github-hashicorp-memdb-devel using yum by running the following command:

sudo yum -y install golang-github-hashicorp-memdb-devel

How To Uninstall golang-github-hashicorp-memdb-devel on Fedora 36

To uninstall only the golang-github-hashicorp-memdb-devel package we can use the following command:

sudo dnf remove golang-github-hashicorp-memdb-devel

golang-github-hashicorp-memdb-devel Package Contents on Fedora 36

/usr/share/doc/golang-github-hashicorp-memdb-devel
/usr/share/doc/golang-github-hashicorp-memdb-devel/README.md
/usr/share/gocode/src/github.com
/usr/share/gocode/src/github.com/hashicorp
/usr/share/gocode/src/github.com/hashicorp/go-memdb
/usr/share/gocode/src/github.com/hashicorp/go-memdb/.goipath
/usr/share/gocode/src/github.com/hashicorp/go-memdb/README.md
/usr/share/gocode/src/github.com/hashicorp/go-memdb/changes.go
/usr/share/gocode/src/github.com/hashicorp/go-memdb/filter.go
/usr/share/gocode/src/github.com/hashicorp/go-memdb/filter_test.go
/usr/share/gocode/src/github.com/hashicorp/go-memdb/glide.lock
/usr/share/gocode/src/github.com/hashicorp/go-memdb/glide.yaml
/usr/share/gocode/src/github.com/hashicorp/go-memdb/go.mod
/usr/share/gocode/src/github.com/hashicorp/go-memdb/index.go
/usr/share/gocode/src/github.com/hashicorp/go-memdb/index_test.go
/usr/share/gocode/src/github.com/hashicorp/go-memdb/integ_test.go
/usr/share/gocode/src/github.com/hashicorp/go-memdb/memdb.go
/usr/share/gocode/src/github.com/hashicorp/go-memdb/memdb_test.go
/usr/share/gocode/src/github.com/hashicorp/go-memdb/schema.go
/usr/share/gocode/src/github.com/hashicorp/go-memdb/schema_test.go
/usr/share/gocode/src/github.com/hashicorp/go-memdb/txn.go
/usr/share/gocode/src/github.com/hashicorp/go-memdb/txn_test.go
/usr/share/gocode/src/github.com/hashicorp/go-memdb/watch-gen
/usr/share/gocode/src/github.com/hashicorp/go-memdb/watch-gen/main.go
/usr/share/gocode/src/github.com/hashicorp/go-memdb/watch.go
/usr/share/gocode/src/github.com/hashicorp/go-memdb/watch_few.go
/usr/share/gocode/src/github.com/hashicorp/go-memdb/watch_test.go
/usr/share/licenses/golang-github-hashicorp-memdb-devel
/usr/share/licenses/golang-github-hashicorp-memdb-devel/LICENSE

References

Summary

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