How To Install tokyocabinet.x86_64 on Amazon Linux 2

In this tutorial we learn how to install tokyocabinet.x86_64 in Amazon Linux 2. tokyocabinet.x86_64 is A modern implementation of a DBM

Introduction

In this tutorial we learn how to install tokyocabinet.x86_64 on Amazon Linux 2.

What is tokyocabinet.x86_64

Tokyo Cabinet is a library of routines for managing a database. It is the successor of QDBM. Tokyo Cabinet runs very fast. For example, the time required to store 1 million records is 1.5 seconds for a hash database and 2.2 seconds for a B+ tree database. Moreover, the database size is very small and can be up to 8EB. Furthermore, the scalability of Tokyo Cabinet is great.

We can use yum to install tokyocabinet.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install tokyocabinet.x86_64.

Install tokyocabinet.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install tokyocabinet.x86_64 using yum by running the following command:

sudo yum -y install tokyocabinet.x86_64

How To Uninstall tokyocabinet.x86_64 on Amazon Linux 2

To uninstall only the tokyocabinet.x86_64 package we can use the following command:

sudo yum remove tokyocabinet.x86_64

tokyocabinet.x86_64 Package Contents on Amazon Linux 2

/usr/bin/tcamgr
/usr/bin/tcamttest
/usr/bin/tcatest
/usr/bin/tcbmgr
/usr/bin/tcbmttest
/usr/bin/tcbtest
/usr/bin/tcfmgr
/usr/bin/tcfmttest
/usr/bin/tcftest
/usr/bin/tchmgr
/usr/bin/tchmttest
/usr/bin/tchtest
/usr/bin/tctmgr
/usr/bin/tctmttest
/usr/bin/tcttest
/usr/bin/tcucodec
/usr/bin/tcumttest
/usr/bin/tcutest
/usr/lib64/libtokyocabinet.so.9
/usr/lib64/libtokyocabinet.so.9.11.0
/usr/libexec/tcawmgr.cgi
/usr/share/doc/tokyocabinet-1.4.48
/usr/share/doc/tokyocabinet-1.4.48/COPYING
/usr/share/doc/tokyocabinet-1.4.48/ChangeLog
/usr/share/doc/tokyocabinet-1.4.48/README
/usr/share/man/man1/tcamgr.1.gz
/usr/share/man/man1/tcamttest.1.gz
/usr/share/man/man1/tcatest.1.gz
/usr/share/man/man1/tcbmgr.1.gz
/usr/share/man/man1/tcbmttest.1.gz
/usr/share/man/man1/tcbtest.1.gz
/usr/share/man/man1/tcfmgr.1.gz
/usr/share/man/man1/tcfmttest.1.gz
/usr/share/man/man1/tcftest.1.gz
/usr/share/man/man1/tchmgr.1.gz
/usr/share/man/man1/tchmttest.1.gz
/usr/share/man/man1/tchtest.1.gz
/usr/share/man/man1/tctmgr.1.gz
/usr/share/man/man1/tctmttest.1.gz
/usr/share/man/man1/tcttest.1.gz
/usr/share/man/man1/tcucodec.1.gz
/usr/share/man/man1/tcumttest.1.gz
/usr/share/man/man1/tcutest.1.gz

References

Summary

In this tutorial we learn how to install tokyocabinet.x86_64 on Amazon Linux 2 using yum.