How To Install kyotocabinet on CentOS 7

In this tutorial we learn how to install kyotocabinet on CentOS 7. kyotocabinet is A straightforward implementation of DBM

Introduction

In this tutorial we learn how to install kyotocabinet on CentOS 7.

What is kyotocabinet

Kyoto Cabinet is a library of routines for managing a database. The database is a simple data file containing records, each is a pair of a key and a value. Every key and value is serial bytes with variable length. Both binary data and character string can be used as a key and a value. Each key must be unique within a database. And there is neither concept of data tables nor data types. Records are organized in hash table or B+ tree.

We can use yum or dnf to install kyotocabinet on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install kyotocabinet.

Install kyotocabinet on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install kyotocabinet using yum by running the following command:

sudo yum -y install kyotocabinet

Install kyotocabinet on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install kyotocabinet using dnf by running the following command:

sudo dnf -y install kyotocabinet

How To Uninstall kyotocabinet on CentOS 7

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

sudo dnf remove kyotocabinet

References

Summary

In this tutorial we learn how to install kyotocabinet on CentOS 7 using yum and dnf.