How To Install tokyocabinet on Fedora 34

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 Fedora 34.

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 17.fc34 x86_64 505 k tokyocabinet-1.4.48-17.fc34.src.rpm fedora 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 Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install tokyocabinet.

Install tokyocabinet on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 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 Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 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 Fedora 34

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

sudo dnf remove tokyocabinet

tokyocabinet Package Contents on Fedora 34

/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/06
/usr/lib/.build-id/06/75c5fee0434b5c191f15d86d455e88190c930b
/usr/lib/.build-id/27
/usr/lib/.build-id/27/234b528b8003aba3c3e7838f45adb38ad5e30e
/usr/lib/.build-id/35
/usr/lib/.build-id/35/8725c21bf0b07a095774b88cac96170f6898b4
/usr/lib/.build-id/40
/usr/lib/.build-id/40/69a37567041d31d6fa73f3f1d05cf13d6d0da6
/usr/lib/.build-id/44
/usr/lib/.build-id/44/c7eb9f9cdc35345a5add275d6ffb3c20f8948a
/usr/lib/.build-id/4b
/usr/lib/.build-id/4b/af740034e30cd62d359b965808b593001fadf8
/usr/lib/.build-id/55
/usr/lib/.build-id/55/d2bca11aa793312a5f034ef76c3a110c8c3b28
/usr/lib/.build-id/6b
/usr/lib/.build-id/6b/2ed12b46949caa9b16456fbd850f8bffeebfbb
/usr/lib/.build-id/6f
/usr/lib/.build-id/6f/5cc05862aaf142dc915b513d228a018d95f8bc
/usr/lib/.build-id/71
/usr/lib/.build-id/71/902adef5fdcdf04fb9b68e9498811dfe9b224f
/usr/lib/.build-id/8f
/usr/lib/.build-id/8f/ca8ed88a22feb1a34ec8f742305c9d294bbded
/usr/lib/.build-id/9c
/usr/lib/.build-id/9c/3b4b38217a9efa7c9b89ae70fab551d53d545e
/usr/lib/.build-id/9d
/usr/lib/.build-id/9d/51669ff9b6aac7e320e6a810505ec61c322811
/usr/lib/.build-id/ac
/usr/lib/.build-id/ac/ea1843fb373fb64294de118d9b5a3eee2195ff
/usr/lib/.build-id/ae
/usr/lib/.build-id/ae/a75bd2a93734fbbb14b9443c15f63fe0d65601
/usr/lib/.build-id/b7
/usr/lib/.build-id/b7/398e2e5a7da1504fdea5063fcea5e21357fb36
/usr/lib/.build-id/d8
/usr/lib/.build-id/d8/7d86538896d79be11dcfdad59f247fe759b975
/usr/lib/.build-id/db
/usr/lib/.build-id/db/1d9a4423a3e2f904ccf0da703ddbbb898db550
/usr/lib/.build-id/ee
/usr/lib/.build-id/ee/ca6fc3c52bca61a6da32c0993f1ccb283f1aaf
/usr/lib/.build-id/f1
/usr/lib/.build-id/f1/fc42ca77612f2600af8a3133eb020de56df128
/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
/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/06
/usr/lib/.build-id/06/bf03351147508f137dc56ecc20b71152a36dfd
/usr/lib/.build-id/09
/usr/lib/.build-id/09/137a30c2157f8f83bdce2dbcde4ad36598ef28
/usr/lib/.build-id/3e
/usr/lib/.build-id/3e/abb0fc4be8328778e5e0f35b99199c58cb08d8
/usr/lib/.build-id/47
/usr/lib/.build-id/47/26e6629c93cec43c3cbad1cebadfaf3a6021f4
/usr/lib/.build-id/52
/usr/lib/.build-id/52/349a92531666e470addb03cbf097d3aa13592a
/usr/lib/.build-id/53
/usr/lib/.build-id/53/968df75c3ce6b074fed821a30f104a21662a85
/usr/lib/.build-id/5b
/usr/lib/.build-id/5b/21de2ef1264d3068dc56fd91753f971d657f93
/usr/lib/.build-id/5d
/usr/lib/.build-id/5d/aa653883399ec9b7346ea798ebf529f3f1d0f3
/usr/lib/.build-id/73
/usr/lib/.build-id/73/f9ac938f3ae9b07193ad18b7585f90c4139b7d
/usr/lib/.build-id/7f
/usr/lib/.build-id/7f/b8d3a9ae3bda1243cbcb2abed03c341f753321
/usr/lib/.build-id/80
/usr/lib/.build-id/80/1a62eabad24e5d7868472e6be9665528440f93
/usr/lib/.build-id/81
/usr/lib/.build-id/81/d67f9562f3b4ee1675148169e30d3b48925e5e
/usr/lib/.build-id/96
/usr/lib/.build-id/96/1a87ff61cf1c6ad1c978947552c95c36000bed
/usr/lib/.build-id/96/fb17142a35a95776afe238ced594f59a1b0a03
/usr/lib/.build-id/a1
/usr/lib/.build-id/a1/1155bb07ab03b897cdd9f0604cad45e3b47572
/usr/lib/.build-id/c5
/usr/lib/.build-id/c5/666692d3c027a2a0ea588e292647ea56f2e252
/usr/lib/.build-id/e3
/usr/lib/.build-id/e3/d6e7b2a12187af1f1d1935d30e12a261dd3aa3
/usr/lib/.build-id/ee
/usr/lib/.build-id/ee/18163daca4bce6edfd4a4fd7608e4f8dbf78ee
/usr/lib/.build-id/f1
/usr/lib/.build-id/f1/22ede105b3a1d132ee8840f81497166630acd1
/usr/lib/.build-id/f9
/usr/lib/.build-id/f9/25572c877a780639563904b96714171094f8cb
/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

References

Summary

In this tutorial we learn how to install tokyocabinet on Fedora 34 using yum and dnf.