How To Install gperftools-libs on Rocky Linux 8
Introduction
In this tutorial we learn how to install gperftools-libs
on Rocky Linux 8.
What is gperftools-libs
Libraries provided by gperftools, including libtcmalloc and libprofiler.
We can use yum
or dnf
to install gperftools-libs
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install gperftools-libs.
Install gperftools-libs on Rocky Linux 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install gperftools-libs
using dnf
by running the following command:
sudo dnf -y install gperftools-libs
Install gperftools-libs on Rocky Linux 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install gperftools-libs
using yum
by running the following command:
sudo yum -y install gperftools-libs
How To Uninstall gperftools-libs on Rocky Linux 8
To uninstall only the gperftools-libs
package we can use the following command:
sudo dnf remove gperftools-libs
gperftools-libs Package Contents on Rocky Linux 8
/usr/lib/.build-id
/usr/lib/.build-id/03
/usr/lib/.build-id/03/a826e894296e8a834a7a5378821885acda325f
/usr/lib/.build-id/17
/usr/lib/.build-id/17/00677b96115d66836234a49fa7c1568979e3e2
/usr/lib/.build-id/2a
/usr/lib/.build-id/2a/f8a846581d5a62a36ebf5528ccd5a2484be464
/usr/lib/.build-id/2c
/usr/lib/.build-id/2c/61dab09d46c69147ec39b9cec0b5daed2fc101
/usr/lib/.build-id/7e
/usr/lib/.build-id/7e/ec65f2b4e39dbefad415e9640a631851a77ffa
/usr/lib/.build-id/d5
/usr/lib/.build-id/d5/555de1328238f4aea66a1d976f53665df81f90
/usr/lib64/libprofiler.so.0
/usr/lib64/libprofiler.so.0.4.18
/usr/lib64/libtcmalloc.so.4
/usr/lib64/libtcmalloc.so.4.5.3
/usr/lib64/libtcmalloc_and_profiler.so.4
/usr/lib64/libtcmalloc_and_profiler.so.4.5.3
/usr/lib64/libtcmalloc_debug.so.4
/usr/lib64/libtcmalloc_debug.so.4.5.3
/usr/lib64/libtcmalloc_minimal.so.4
/usr/lib64/libtcmalloc_minimal.so.4.5.3
/usr/lib64/libtcmalloc_minimal_debug.so.4
/usr/lib64/libtcmalloc_minimal_debug.so.4.5.3
References
Summary
In this tutorial we learn how to install gperftools-libs
on Rocky Linux 8 using yum and dnf.