How To Install tinycdb on CentOS 8

tinycdb is Utility and library for manipulating constant databases Utility and library for manipulating constant databases

Introduction

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

What is tinycdb

tinycdb is a small, fast and reliable utility and subroutine library for creating and reading constant databases. The database structure is tuned for fast reading. This package contains tinycdb utility and shared library. tinycdb 0.78 9.el8 x86_64 35 k tinycdb-0.78-9.el8.src.rpm appstream Utility and library for manipulating constant databases http Public Domain tinycdb is a small, fast and reliable utility and subroutine library for creating and reading constant databases. The database structure is tuned for fast reading. This package contains tinycdb utility and shared library.

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

Install tinycdb 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 tinycdb using dnf by running the following command:

sudo dnf -y install tinycdb

Install tinycdb 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 tinycdb using yum by running the following command:

sudo yum -y install tinycdb

How To Uninstall tinycdb on CentOS 8

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

sudo dnf remove tinycdb

tinycdb Package Contents on CentOS 8

/usr/bin/cdb
/usr/lib/.build-id
/usr/lib/.build-id/01
/usr/lib/.build-id/01/43f5d89bec67ec5217bb8419d0e27cfaca9568
/usr/lib/.build-id/a9
/usr/lib/.build-id/a9/e270eb85fc240067e2509f6656b95f3bc74ca9
/usr/lib64/libcdb.so.1
/usr/share/doc/tinycdb
/usr/share/doc/tinycdb/ChangeLog
/usr/share/doc/tinycdb/NEWS
/usr/share/man/man1/cdb.1.gz
/usr/share/man/man5/cdb.5.gz
/usr/bin/cdb
/usr/lib/.build-id
/usr/lib/.build-id/3b
/usr/lib/.build-id/3b/348bf84d5d9b52a2c162b311b558afef47a963
/usr/lib/.build-id/e3
/usr/lib/.build-id/e3/2e5a54e3f7678c1452ae4944e686f73e6857c0
/usr/lib/libcdb.so.1
/usr/share/doc/tinycdb
/usr/share/doc/tinycdb/ChangeLog
/usr/share/doc/tinycdb/NEWS
/usr/share/man/man1/cdb.1.gz
/usr/share/man/man5/cdb.5.gz

References

Summary

In this tutorial we learn how to install tinycdb on CentOS 8 using yum and dnf.