How To Install gcc-toolset-10-elfutils-libs on CentOS 8

gcc-toolset-10-elfutils-libs is Libraries to handle compiled objects Libraries to handle compiled objects

Introduction

In this tutorial we learn how to install gcc-toolset-10-elfutils-libs on CentOS 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. gcc-toolset-10-elfutils-libs 0.182 3.el8 x86_64 278 k gcc-toolset-10-elfutils-0.182-3.el8.src.rpm appstream Libraries to handle compiled objects http GPLv2+ or LGPLv3+ 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 CentOS 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 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 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 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 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 CentOS 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 CentOS 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/2f
/usr/lib/.build-id/2f/847cc4928ac7b21cabf265939bc286c6c47f37
/usr/lib/.build-id/78
/usr/lib/.build-id/78/8b9130d77d99a5a8cfe71d6e9b7e1e4d3883f7
/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/4b
/usr/lib/.build-id/4b/03a1a38cd4e7bc63a705d3f8f37a3f50adeb70
/usr/lib/.build-id/5b
/usr/lib/.build-id/5b/3dd860e97db450fe40bc874448919fce9950fd

References

Summary

In this tutorial we learn how to install gcc-toolset-10-elfutils-libs on CentOS 8 using yum and dnf.