How To Install HdrHistogram_c on CentOS 8

HdrHistogram_c is C port of the HdrHistogram C port of the HdrHistogram

Introduction

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

What is HdrHistogram_c

C port of High Dynamic Range (HDR) Histogram. HdrHistogram_c 0.9.13 2.el8 x86_64 28 k HdrHistogram_c-0.9.13-2.el8.src.rpm appstream C port of the HdrHistogram https BSD and Public Domain C port of High Dynamic Range (HDR) Histogram.

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

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

sudo dnf -y install HdrHistogram_c

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

sudo yum -y install HdrHistogram_c

How To Uninstall HdrHistogram_c on CentOS 8

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

sudo dnf remove HdrHistogram_c

HdrHistogram_c Package Contents on CentOS 8

/usr/lib/.build-id
/usr/lib/.build-id/04
/usr/lib/.build-id/04/9eb389416ea23541c387ea3908c35e31de58a7
/usr/lib/.build-id/79
/usr/lib/.build-id/79/a6f82dcaf9d612d70d07be6135fcb314233417
/usr/lib/.build-id/9e
/usr/lib/.build-id/9e/efc01cbb7bad193c8c36b660d5063ef72dfef9
/usr/lib/.build-id/ad
/usr/lib/.build-id/ad/af55325603ef15cd881e8124045e10c0fca6bb
/usr/lib/.build-id/af
/usr/lib/.build-id/af/15d3305dc97d880dfc342fc1bb2ff35af6a49b
/usr/lib/.build-id/c3
/usr/lib/.build-id/c3/8e8c7e7ea00f3cb457454a78eebbf8d2e0483e
/usr/lib/.build-id/fa
/usr/lib/.build-id/fa/3f4cae49d02bb534557727a8af924244084f14
/usr/lib64/libhdr_histogram.so.5
/usr/lib64/libhdr_histogram.so.5.0.0
/usr/share/doc/HdrHistogram_c
/usr/share/doc/HdrHistogram_c/README.md
/usr/share/licenses/HdrHistogram_c
/usr/share/licenses/HdrHistogram_c/LICENSE.txt
/usr/lib/.build-id
/usr/lib/.build-id/4d
/usr/lib/.build-id/4d/a90b835f7c095373b6215cad7bf8fc22ce10d4
/usr/lib/.build-id/6e
/usr/lib/.build-id/6e/e6f10871e6b8adc9a89b84a18b6e8e59688c2d
/usr/lib/.build-id/7c
/usr/lib/.build-id/7c/65682f21fec864b57f7bdec0fae5e7990b4109
/usr/lib/.build-id/a8
/usr/lib/.build-id/a8/a79060b4001fe076cb827d247d2e3d2968e6c5
/usr/lib/.build-id/b9
/usr/lib/.build-id/b9/4a51b6bbe7a42341d722322d3ac28d614944c7
/usr/lib/.build-id/b9/e21f856fb9d3331856a35cd2a05af1f92fca06
/usr/lib/.build-id/de
/usr/lib/.build-id/de/1b28ae28c7ecee593f84c706c72d1a10b0186e
/usr/lib/libhdr_histogram.so.5
/usr/lib/libhdr_histogram.so.5.0.0
/usr/share/doc/HdrHistogram_c
/usr/share/doc/HdrHistogram_c/README.md
/usr/share/licenses/HdrHistogram_c
/usr/share/licenses/HdrHistogram_c/LICENSE.txt

References

Summary

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