How To Install tokyocabinet on CentOS 8

tokyocabinet is A modern implementation of a DBM A modern implementation of a DBM

Introduction

In this tutorial we learn how to install tokyocabinet on CentOS 8.

What is tokyocabinet

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. tokyocabinet 1.4.48 10.el8 x86_64 486 k tokyocabinet-1.4.48-10.el8.src.rpm appstream A modern implementation of a DBM http LGPLv2+ 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 or dnf to install tokyocabinet on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install tokyocabinet.

Install tokyocabinet on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo dnf -y install tokyocabinet

Install tokyocabinet on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo yum -y install tokyocabinet

How To Uninstall tokyocabinet on CentOS 8

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

sudo dnf remove tokyocabinet

tokyocabinet Package Contents on CentOS 8

/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/lib/.build-id
/usr/lib/.build-id/07
/usr/lib/.build-id/07/d6b77c0362ea78ab0ca0b0d8d4539131afe1d9
/usr/lib/.build-id/0d
/usr/lib/.build-id/0d/b6b7e66e96ef3444fa5efceb514b7b10a400ad
/usr/lib/.build-id/19
/usr/lib/.build-id/19/10a5f86ea0643805c146f7f189a20f3a2efd9b
/usr/lib/.build-id/19/8a0688ca045d6dc0bfc8985b470bf0550f47ff
/usr/lib/.build-id/1b
/usr/lib/.build-id/1b/e32ee9cf18ec896f4347c4508149ad7ee9e3de
/usr/lib/.build-id/1c
/usr/lib/.build-id/1c/7d3235a0988e976ca1aafe950fc3ef4bb2ecf2
/usr/lib/.build-id/32
/usr/lib/.build-id/32/6b255929f7da4a1c66b20554b1ba24281e4c76
/usr/lib/.build-id/4e
/usr/lib/.build-id/4e/0b5ac71e67b6ef3d77156ba0ec4c429d89d7d8
/usr/lib/.build-id/52
/usr/lib/.build-id/52/3f403a24cd317b85bff3dbf10fe377b3282660
/usr/lib/.build-id/64
/usr/lib/.build-id/64/a4d40547c3e23b80b889c57ea3587c0a964e2d
/usr/lib/.build-id/7f
/usr/lib/.build-id/7f/4476a1f392270ff89fe5c3c7cbdf759589b931
/usr/lib/.build-id/9d
/usr/lib/.build-id/9d/0dddc6913d9db406f506881883a3a9301d2322
/usr/lib/.build-id/be
/usr/lib/.build-id/be/edc9430bc5d4e65031ece2f79cd8232d6867df
/usr/lib/.build-id/bf
/usr/lib/.build-id/bf/a7df2d43e8d25631dc6d61960c9e3823c71cfe
/usr/lib/.build-id/c4
/usr/lib/.build-id/c4/9f5c49722ce8534941e1ab64ff82e7e1109b20
/usr/lib/.build-id/cd
/usr/lib/.build-id/cd/95e843883fef178098e846f33c0975674707cd
/usr/lib/.build-id/dd
/usr/lib/.build-id/dd/b4a15eb993b8db4a2f65542123befb5b715b2c
/usr/lib/.build-id/e6
/usr/lib/.build-id/e6/d845c0c3398a3df7f21a2ca1f207bc5dd0358e
/usr/lib/.build-id/e7
/usr/lib/.build-id/e7/3736de3f3547d8e9cbe5cfac56022d7d32edde
/usr/lib/.build-id/fd
/usr/lib/.build-id/fd/d312c011ff8d89ad56c6294c0b9f386869c354
/usr/lib/libtokyocabinet.so.9
/usr/lib/libtokyocabinet.so.9.11.0
/usr/libexec/tcawmgr.cgi
/usr/share/doc/tokyocabinet
/usr/share/doc/tokyocabinet/COPYING
/usr/share/doc/tokyocabinet/ChangeLog
/usr/share/doc/tokyocabinet/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
/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/lib/.build-id
/usr/lib/.build-id/10
/usr/lib/.build-id/10/f9648fe53f668b9be23c69a3893f6ff6d1898b
/usr/lib/.build-id/1c
/usr/lib/.build-id/1c/894752c02333aa0b6fce4618800ddb2b6b60ef
/usr/lib/.build-id/1e
/usr/lib/.build-id/1e/f289ea1c4fa9267a1fbcead1317bf9caf2dc21
/usr/lib/.build-id/34
/usr/lib/.build-id/34/dfac74c2bef53485c0f59299d9e3933f4e0a17
/usr/lib/.build-id/3d
/usr/lib/.build-id/3d/c9d7718ecc6d3dfaf4cb8a82b6daf4299d542d
/usr/lib/.build-id/4e
/usr/lib/.build-id/4e/964c68aea8feb582b0fb5c851b249522f7f43a
/usr/lib/.build-id/5f
/usr/lib/.build-id/5f/b1e27ce79a2ef316e07af17fcef48b570914bf
/usr/lib/.build-id/74
/usr/lib/.build-id/74/e224b6293529297faee362d59c32052001781e
/usr/lib/.build-id/9b
/usr/lib/.build-id/9b/384186f7a302e4c3e5ecdb69ceef43700b7fa7
/usr/lib/.build-id/a5
/usr/lib/.build-id/a5/06f032c7b37458cb7bd3e7d8e53b15050f1edd
/usr/lib/.build-id/ab
/usr/lib/.build-id/ab/c97ef44ef9d990b7f64e77372a026ad0ef2d42
/usr/lib/.build-id/ae
/usr/lib/.build-id/ae/9460cd255262060f340385a57f68fc66c906e0
/usr/lib/.build-id/af
/usr/lib/.build-id/af/3eb42db2fbdc5f4c12e4454dacc2f1ed9478d1
/usr/lib/.build-id/c2
/usr/lib/.build-id/c2/0c76b9700620a395c4280ee8692783bd80b20d
/usr/lib/.build-id/c4
/usr/lib/.build-id/c4/42e6b2939294c75ed56118d47d08d9b538d38a
/usr/lib/.build-id/cf
/usr/lib/.build-id/cf/86826bee1d01fc997942677f435089b5970846
/usr/lib/.build-id/d2
/usr/lib/.build-id/d2/7c1b4bbfb54edb5a38f4b2e090492391fdbef4
/usr/lib/.build-id/dd
/usr/lib/.build-id/dd/7b0b5ed33a3b7f4426074dc1cd3b4eb5eb7699
/usr/lib/.build-id/e2
/usr/lib/.build-id/e2/e9b08ff56456ce55d3643a84e61fb21e0af7d0
/usr/lib/.build-id/fa
/usr/lib/.build-id/fa/ba075df1b7ded73f7b48026e5b357cd28b72cd
/usr/lib64/libtokyocabinet.so.9
/usr/lib64/libtokyocabinet.so.9.11.0
/usr/libexec/tcawmgr.cgi
/usr/share/doc/tokyocabinet
/usr/share/doc/tokyocabinet/COPYING
/usr/share/doc/tokyocabinet/ChangeLog
/usr/share/doc/tokyocabinet/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 on CentOS 8 using yum and dnf.