How To Install gcc-toolset-10-elfutils-libs on Rocky Linux 8
Introduction
In this tutorial we learn how to install gcc-toolset-10-elfutils-libs
on Rocky Linux 8.
What is gcc-toolset-10-elfutils-libs
The elfutils-libs package contains libraries which implement DWARF, ELF, and machine-specific ELF handling and process introspection. These libraries are used by the programs in the elfutils package. The elfutils-devel package enables building other programs using these libraries.
We can use yum
or dnf
to install gcc-toolset-10-elfutils-libs
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install gcc-toolset-10-elfutils-libs.
Install gcc-toolset-10-elfutils-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 gcc-toolset-10-elfutils-libs
using dnf
by running the following command:
sudo dnf -y install gcc-toolset-10-elfutils-libs
Install gcc-toolset-10-elfutils-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 gcc-toolset-10-elfutils-libs
using yum
by running the following command:
sudo yum -y install gcc-toolset-10-elfutils-libs
How To Uninstall gcc-toolset-10-elfutils-libs on Rocky Linux 8
To uninstall only the gcc-toolset-10-elfutils-libs
package we can use the following command:
sudo dnf remove gcc-toolset-10-elfutils-libs
gcc-toolset-10-elfutils-libs Package Contents on Rocky Linux 8
/opt/rh/gcc-toolset-10/root/usr/lib/libasm-0.182.so
/opt/rh/gcc-toolset-10/root/usr/lib/libasm.so.dts.1
/opt/rh/gcc-toolset-10/root/usr/lib/libdw-0.182.so
/opt/rh/gcc-toolset-10/root/usr/lib/libdw.so.dts.1
/opt/rh/gcc-toolset-10/root/usr/share/licenses/gcc-toolset-10-elfutils-libs
/opt/rh/gcc-toolset-10/root/usr/share/licenses/gcc-toolset-10-elfutils-libs/COPYING-GPLV2
/opt/rh/gcc-toolset-10/root/usr/share/licenses/gcc-toolset-10-elfutils-libs/COPYING-LGPLV3
/usr/lib/.build-id
/usr/lib/.build-id/49
/usr/lib/.build-id/49/ae14565a8d5004860023aed402ccb1d2bddfae
/usr/lib/.build-id/ca
/usr/lib/.build-id/ca/836c116c7e87dc8e9f6cc6076ef9675bb46831
/opt/rh/gcc-toolset-10/root/usr/lib64/libasm-0.182.so
/opt/rh/gcc-toolset-10/root/usr/lib64/libasm.so.dts.1
/opt/rh/gcc-toolset-10/root/usr/lib64/libdw-0.182.so
/opt/rh/gcc-toolset-10/root/usr/lib64/libdw.so.dts.1
/opt/rh/gcc-toolset-10/root/usr/share/licenses/gcc-toolset-10-elfutils-libs
/opt/rh/gcc-toolset-10/root/usr/share/licenses/gcc-toolset-10-elfutils-libs/COPYING-GPLV2
/opt/rh/gcc-toolset-10/root/usr/share/licenses/gcc-toolset-10-elfutils-libs/COPYING-LGPLV3
/usr/lib/.build-id
/usr/lib/.build-id/17
/usr/lib/.build-id/17/55b441b889f0e66a1a166b399077746104cd70
/usr/lib/.build-id/85
/usr/lib/.build-id/85/a5478df8c32a6a0b9a6d16fc98f0bd14e7870b
References
Summary
In this tutorial we learn how to install gcc-toolset-10-elfutils-libs
on Rocky Linux 8 using yum and dnf.