How To Install glibc-benchtests on CentOS 8

glibc-benchtests is Benchmarking binaries and scripts for glibc

Introduction

In this tutorial we learn how to install glibc-benchtests on CentOS 8.

What is glibc-benchtests

This package provides built benchmark binaries and scripts to run microbenchmark tests on the system.

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

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

sudo dnf -y install glibc-benchtests

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

sudo yum -y install glibc-benchtests

How To Uninstall glibc-benchtests on CentOS 8

To uninstall only the glibc-benchtests package we can use the following command:

sudo dnf remove glibc-benchtests

glibc-benchtests Package Contents on CentOS 8

/usr/lib/.build-id
/usr/lib/.build-id/01/de2b05ad3aac016d7444d6d52c3fdd79f3d006
/usr/lib/.build-id/06
/usr/lib/.build-id/06/9805b463d9d751b8432eaf905a03ac9bf7a4a7
/usr/lib/.build-id/07/7ca50a46a4f37a15039eb5662e8fc58f72eb51
/usr/lib/.build-id/09/95e77c0c882ad1814b88d25bb6d6c5e5267b0c
/usr/lib/.build-id/0a/32e7831e4d2e16150903395484d4ef319ab192
/usr/lib/.build-id/0d/b2b8d5695ad3a7f15155bfedf1647bc5aaa001
/usr/lib/.build-id/0f/7812dcdf065df61e3b216e24e76f0ae1caef0e
/usr/lib/.build-id/10/099972864a4e9c23669968a28614d21e90dd19
/usr/lib/.build-id/12
/usr/lib/.build-id/12/487eddfbdda764a9e18aabcf57122977ca80b1
/usr/lib/.build-id/13/d9b324e41917eb9bd8ec1a19182e53a04bb7ee
/usr/lib/.build-id/17
/usr/lib/.build-id/17/0e1f1b4ae245da944eda7d68a59640421b2ea2
/usr/lib/.build-id/17/3734bf020efaedde4ea2a8c1a0e820fab905f6
/usr/lib/.build-id/17/b94dbcde239a996678bc02ed5e2c09ebc8aacd
/usr/lib/.build-id/19/6bc52f90a25e7665eb9a5045aea7c6e9ee6a1a
/usr/lib/.build-id/1f
/usr/lib/.build-id/1f/106835f374407b0e0a39abf61510ffcac2972f
/usr/lib/.build-id/1f/7df9b95ac0131527ca732cca09b57edac9b7ec
/usr/lib/.build-id/20/7ee11caf144e95c97261cdc24d618dd2ea4dd0
/usr/lib/.build-id/22
/usr/lib/.build-id/22/204d2ae67cf3bf8bfcedb722294d4f26f952bd
/usr/lib/.build-id/23/cca90683eb851b5e3a116d1459359815b8b9b7
/usr/lib/.build-id/24/617f78852145afd9eb52a13085ad3159e97249
/usr/lib/.build-id/25/797305a4672ee8f10897fc80433efbba7566ed
/usr/lib/.build-id/26/14c90f91f4f68178e2d75572bc77ae72579b5b
/usr/lib/.build-id/29/4e1c3506c68a359a4a6058ed02c99dcc4cc13c
/usr/lib/.build-id/31
/usr/lib/.build-id/31/d517ab2e1dd39571f09c4ac41c0fb6e1364bcf
/usr/lib/.build-id/33/1cc921d0bdec90b84946c3fa2809338425488c
/usr/lib/.build-id/34/a93dc46773aa5260018e22424d3cd808d242bd
/usr/lib/.build-id/3b/7ce14b5fa0e9106aa77c24d3e1cdafde0ec499
/usr/lib/.build-id/3c/ec865cfa084261975d89f43403627f75217437
/usr/lib/.build-id/3e
/usr/lib/.build-id/3e/2fabc91a99a1b529f578bdcdadbae4f0a30c3e
/usr/lib/.build-id/3f/67e8a393efeb930bfd797fa31a79c4a24328fc
/usr/lib/.build-id/40/f4061e76ee63f4e2d5b4125b69bd7ff27cc1b2
/usr/lib/.build-id/45/157ba5ed7455535ea65ea93bb74b40b38d0644
/usr/lib/.build-id/4a/f01699466bf43d487529bccff2185618af9a20
/usr/lib/.build-id/4d/596cfe6bf24c123293c55794bca3d274aa29ba
/usr/lib/.build-id/4e
/usr/lib/.build-id/4e/46c2b4aff5c9ad9a2c5c4e3193cf9708714933
/usr/lib/.build-id/4e/5da263f6fbbdd0a3bf094fafb8bbf36d748292
/usr/lib/.build-id/4f/e9dbab5808f44a1dbfbb0d5725889f1d02bd30
/usr/lib/.build-id/50/ebf6fe974e3f61c0185522b8083e6851424c92
/usr/lib/.build-id/54/1af9b1e30d35616756be9461e4b4566c7adb23
/usr/lib/.build-id/57
/usr/lib/.build-id/57/c86f6f07c7cf45964b9198e31f2ff56ef830bb
/usr/lib/.build-id/58/a07b41f696b89b0d8ebab2049907d90e3220f5
/usr/lib/.build-id/58/b875558bb46c0e1dcc7e71f28316d2188ef59a
/usr/lib/.build-id/5a/1fe89183783c8878360499cc2bcf009d499ab4
/usr/lib/.build-id/5d/7d15186a101d1ea10b7b000cd113c1affc131d
/usr/lib/.build-id/61/e09ac2cc7cd1dfddf762ce807f847852a2da88
/usr/lib/.build-id/62/afd2045fe97a7f0cfe3f68029fdd9918d12c9e
/usr/lib/.build-id/62/b65af0ebadbc5249bbb66f9eb5282a235361be
/usr/lib/.build-id/63/b4b98a8acff60fee06e38cd643aec475075ccb
/usr/lib/.build-id/63/b4cf6a72f12c0cb859688632a25d9accd70197
/usr/lib/.build-id/64/0f0cb24e771fabd0ce4ae9fbf37e60d1eed038
/usr/lib/.build-id/65/35793924f9288db3e5b9fb2e5fe330ec562381
/usr/lib/.build-id/66/fffd357258c31e64755118b694a4a60d3fb991
/usr/lib/.build-id/68/8213b05f6ce190c20030f59280dfab444b497f
/usr/lib/.build-id/6b/866f451e13078912b737d8aef7613f9c905dd5
/usr/lib/.build-id/6b/b0cd0cfb2d4bd1954fb5c2fa3d6de90dd393f9
/usr/lib/.build-id/6c/f6e23a29ad277f11a36112722427379b929c17
/usr/lib/.build-id/6d
/usr/lib/.build-id/6d/93da0d9839221675ec39fd2ff602c1438d80d5
/usr/lib/.build-id/6e
/usr/lib/.build-id/6e/1a18fca6988f3307c6451dca04330cd79641b7
/usr/lib/.build-id/70/d0d841aa725d7a5a4c397fc3c5d5f993c49dd7
/usr/lib/.build-id/70/e4e4ce4ed82fc303a99be357562ed582f4914a
/usr/lib/.build-id/72/073eaf744af1a4c3618c1461588b5a5002f5b1
/usr/lib/.build-id/76/d08e78eb0cc5cd475145fa529024f8127a8ce8
/usr/lib/.build-id/7b/deb0fd3f2016cf033483ea6b8b913784027dd4
/usr/lib/.build-id/7c/58bc52fe7bc8964f4401f4fda82007b6a98b1f
/usr/lib/.build-id/7c/a70d2ac49e63d0bb384853e7f70d885423e03c
/usr/lib/.build-id/7c/fc25f84a35179e26e7029fc22416c7c3223fe7
/usr/lib/.build-id/7d/fe720681d5976a0681518e39853abda7cceb45
/usr/lib/.build-id/82
/usr/lib/.build-id/82/2f17a1f2bbc687aedd7b116c9af8e7e9200f84
/usr/lib/.build-id/8b/f84576fb322b96743755b68c3b540581fdb1f2
/usr/lib/.build-id/8c
/usr/lib/.build-id/8c/0de14f9375d6120a56865491daa40f5b7ab5a2
/usr/lib/.build-id/8d/43183036f35c69e0bafa15949db3333e5cb64a
/usr/lib/.build-id/8d/6ec30ee751abc5657103bbfca972e5204d0375
/usr/lib/.build-id/8f/59943e6caad20ac2a967c2175dbad6a0283559
/usr/lib/.build-id/95/2b02920beb1a683c9d00b729dcfc0b51e6e35c
/usr/lib/.build-id/95/33466ee97931860057f82390975188b60c0611
/usr/lib/.build-id/95/b36ff772f878c11b4b0dc35ec3c9b698fc583d
/usr/lib/.build-id/96/7b20edb02a0325c33d642500383ed1dfce2ee9
/usr/lib/.build-id/99
/usr/lib/.build-id/99/afd076d733102db92692f04321cea1da77d203
/usr/lib/.build-id/9c/72ec0920f7d39a67d827f2f237be227b6a4482
/usr/lib/.build-id/9f/999ef4db273f30a22eed0ac7b1275d35fc4591
/usr/lib/.build-id/a5/9b350d04f95ea09587bb932b7ad3f4e6d2e064
/usr/lib/.build-id/b3/725e9fd898c52b374d03b07ab26a2288d083ae
/usr/lib/.build-id/b3/fdea5f31338728a85c63021f299bd56ef33414
/usr/lib/.build-id/b5/8de89cfa85d44e4c2514f9b42f6d7dac658d71
/usr/lib/.build-id/ba/d617cbe9942ff7640af1b0102b98c704a5a76f
/usr/lib/.build-id/c9/a57376cfb9f4df3ae0b0b297bea8d3d00ac3a2
/usr/lib/.build-id/ca
/usr/lib/.build-id/ca/05a09e988dabbe13f7a269fe8ef65a661a9b95
/usr/lib/.build-id/cb/b04bff7c793aa622a330b18da00365e05989e4
/usr/lib/.build-id/ce/bf9886685b398340646d0e648906ebe75b61f6
/usr/lib/.build-id/cf/434a8db14da18ad9b634822f1c0fd470197111
/usr/lib/.build-id/cf/d4930ebda9841e9611506c6b7c4bcbdf5d96b9
/usr/lib/.build-id/d2
/usr/lib/.build-id/d2/1034e9597eaf2be3c630c7269ba19d21ea1fa5
/usr/lib/.build-id/d2/df633fbd4ffdf2f9c74778fd358d6cedf38cc3
/usr/lib/.build-id/d2/e4965ffc9bf1784aa3dc64e1d24f00f5938c74
/usr/lib/.build-id/d5
/usr/lib/.build-id/d5/ca3cb56b824d65e337f53653e706d2b1f6fd0a
/usr/lib/.build-id/d6/3637d748d989830c8a689abe5c9e1da5d3a5e1
/usr/lib/.build-id/d9
/usr/lib/.build-id/d9/eb4d5991c3f25adcdd52adadb2c183e4afa790
/usr/lib/.build-id/e0
/usr/lib/.build-id/e0/3ae652008324f136da4853d31415b5dd8fc137
/usr/lib/.build-id/e0/9b4c72d58bedd970dd6e481c1e22dec8a404eb
/usr/lib/.build-id/e1/4de3bb6113714d4c30a0807a0fa333c4dcabf2
/usr/lib/.build-id/e1/cbcd2405208d2f18ea26a8603c089cc89ecccc
/usr/lib/.build-id/e3/1eb69bcc9a00036f3a39d2060e3c1b6f639e5b
/usr/lib/.build-id/e4
/usr/lib/.build-id/e4/683b752e33aa92c1449a6d15eff5c2d6d4a060
/usr/lib/.build-id/e4/8510886775206cfd211f624fff4deb456b2a4f
/usr/lib/.build-id/e7
/usr/lib/.build-id/e7/386a9a2129f2045c5e7b7876f676b822cf3800
/usr/lib/.build-id/ea
/usr/lib/.build-id/ea/5a5e94aeb2edc01d73483e78c1b5c9956400be
/usr/lib/.build-id/f4
/usr/lib/.build-id/f4/66c6499e0411253769b65cdf076b45fee8d922
/usr/libexec/glibc-benchtests/bench-acos
/usr/libexec/glibc-benchtests/bench-acosh
/usr/libexec/glibc-benchtests/bench-asin
/usr/libexec/glibc-benchtests/bench-asinh
/usr/libexec/glibc-benchtests/bench-atan
/usr/libexec/glibc-benchtests/bench-atanh
/usr/libexec/glibc-benchtests/bench-bcopy
/usr/libexec/glibc-benchtests/bench-bzero
/usr/libexec/glibc-benchtests/bench-cos
/usr/libexec/glibc-benchtests/bench-cosf
/usr/libexec/glibc-benchtests/bench-cosh
/usr/libexec/glibc-benchtests/bench-exp
/usr/libexec/glibc-benchtests/bench-exp2
/usr/libexec/glibc-benchtests/bench-exp2f
/usr/libexec/glibc-benchtests/bench-expf
/usr/libexec/glibc-benchtests/bench-ffs
/usr/libexec/glibc-benchtests/bench-ffsll
/usr/libexec/glibc-benchtests/bench-fmax
/usr/libexec/glibc-benchtests/bench-fmaxf
/usr/libexec/glibc-benchtests/bench-fmin
/usr/libexec/glibc-benchtests/bench-fminf
/usr/libexec/glibc-benchtests/bench-log
/usr/libexec/glibc-benchtests/bench-log2
/usr/libexec/glibc-benchtests/bench-log2f
/usr/libexec/glibc-benchtests/bench-logf
/usr/libexec/glibc-benchtests/bench-malloc-thread
/usr/libexec/glibc-benchtests/bench-math-inlines
/usr/libexec/glibc-benchtests/bench-memccpy
/usr/libexec/glibc-benchtests/bench-memchr
/usr/libexec/glibc-benchtests/bench-memcmp
/usr/libexec/glibc-benchtests/bench-memcpy
/usr/libexec/glibc-benchtests/bench-memcpy-large
/usr/libexec/glibc-benchtests/bench-memcpy-random
/usr/libexec/glibc-benchtests/bench-memcpy-walk
/usr/libexec/glibc-benchtests/bench-memmem
/usr/libexec/glibc-benchtests/bench-memmove
/usr/libexec/glibc-benchtests/bench-memmove-large
/usr/libexec/glibc-benchtests/bench-memmove-walk
/usr/libexec/glibc-benchtests/bench-mempcpy
/usr/libexec/glibc-benchtests/bench-memrchr
/usr/libexec/glibc-benchtests/bench-memset
/usr/libexec/glibc-benchtests/bench-memset-large
/usr/libexec/glibc-benchtests/bench-memset-walk
/usr/libexec/glibc-benchtests/bench-modf
/usr/libexec/glibc-benchtests/bench-pow
/usr/libexec/glibc-benchtests/bench-powf
/usr/libexec/glibc-benchtests/bench-pthread_once
/usr/libexec/glibc-benchtests/bench-rawmemchr
/usr/libexec/glibc-benchtests/bench-rint
/usr/libexec/glibc-benchtests/bench-sin
/usr/libexec/glibc-benchtests/bench-sincos
/usr/libexec/glibc-benchtests/bench-sincosf
/usr/libexec/glibc-benchtests/bench-sinf
/usr/libexec/glibc-benchtests/bench-sinh
/usr/libexec/glibc-benchtests/bench-sprintf
/usr/libexec/glibc-benchtests/bench-sqrt
/usr/libexec/glibc-benchtests/bench-stpcpy
/usr/libexec/glibc-benchtests/bench-stpcpy_chk
/usr/libexec/glibc-benchtests/bench-stpncpy
/usr/libexec/glibc-benchtests/bench-strcasecmp
/usr/libexec/glibc-benchtests/bench-strcasestr
/usr/libexec/glibc-benchtests/bench-strcat
/usr/libexec/glibc-benchtests/bench-strchr
/usr/libexec/glibc-benchtests/bench-strchrnul
/usr/libexec/glibc-benchtests/bench-strcmp
/usr/libexec/glibc-benchtests/bench-strcoll
/usr/libexec/glibc-benchtests/bench-strcpy
/usr/libexec/glibc-benchtests/bench-strcpy_chk
/usr/libexec/glibc-benchtests/bench-strcspn
/usr/libexec/glibc-benchtests/bench-strlen
/usr/libexec/glibc-benchtests/bench-strncasecmp
/usr/libexec/glibc-benchtests/bench-strncat
/usr/libexec/glibc-benchtests/bench-strncmp
/usr/libexec/glibc-benchtests/bench-strncpy
/usr/libexec/glibc-benchtests/bench-strnlen
/usr/libexec/glibc-benchtests/bench-strpbrk
/usr/libexec/glibc-benchtests/bench-strrchr
/usr/libexec/glibc-benchtests/bench-strsep
/usr/libexec/glibc-benchtests/bench-strspn
/usr/libexec/glibc-benchtests/bench-strstr
/usr/libexec/glibc-benchtests/bench-strtod
/usr/libexec/glibc-benchtests/bench-strtok
/usr/libexec/glibc-benchtests/bench-tan
/usr/libexec/glibc-benchtests/bench-tanh
/usr/libexec/glibc-benchtests/bench-thread_create
/usr/libexec/glibc-benchtests/bench-timing-type
/usr/libexec/glibc-benchtests/bench-trunc
/usr/libexec/glibc-benchtests/bench-truncf
/usr/libexec/glibc-benchtests/bench-wcpcpy
/usr/libexec/glibc-benchtests/bench-wcpncpy
/usr/libexec/glibc-benchtests/bench-wcscat
/usr/libexec/glibc-benchtests/bench-wcschr
/usr/libexec/glibc-benchtests/bench-wcschrnul
/usr/libexec/glibc-benchtests/bench-wcscmp
/usr/libexec/glibc-benchtests/bench-wcscpy
/usr/libexec/glibc-benchtests/bench-wcscspn
/usr/libexec/glibc-benchtests/bench-wcslen
/usr/libexec/glibc-benchtests/bench-wcsncat
/usr/libexec/glibc-benchtests/bench-wcsncmp
/usr/libexec/glibc-benchtests/bench-wcsncpy
/usr/libexec/glibc-benchtests/bench-wcsnlen
/usr/libexec/glibc-benchtests/bench-wcspbrk
/usr/libexec/glibc-benchtests/bench-wcsrchr
/usr/libexec/glibc-benchtests/bench-wcsspn
/usr/libexec/glibc-benchtests/bench-wmemchr
/usr/libexec/glibc-benchtests/bench-wmemcmp
/usr/libexec/glibc-benchtests/bench-wmemset
/usr/libexec/glibc-benchtests/bench.mk
/usr/libexec/glibc-benchtests/benchout.schema.json
/usr/libexec/glibc-benchtests/compare_bench.py
/usr/libexec/glibc-benchtests/glibc-bench-compare
/usr/libexec/glibc-benchtests/import_bench.py
/usr/libexec/glibc-benchtests/validate_benchout.py

References

Summary

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