How To Install elfutils-libs on CentOS 8

elfutils-libs is Libraries to handle compiled objects Libraries to handle compiled objects Libraries to handle compiled objects

Introduction

In this tutorial we learn how to install elfutils-libs on CentOS 8.

What is 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. elfutils-libs 0.182 3.el8 i686 332 k elfutils-0.182-3.el8.src.rpm baseos 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. elfutils-libs 0.182 3.el8 x86_64 293 k elfutils-0.182-3.el8.src.rpm baseos 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 elfutils-libs on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install elfutils-libs.

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

sudo dnf -y install elfutils-libs

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

sudo yum -y install elfutils-libs

How To Uninstall elfutils-libs on CentOS 8

To uninstall only the elfutils-libs package we can use the following command:

sudo dnf remove elfutils-libs

elfutils-libs Package Contents on CentOS 8

/usr/lib/.build-id
/usr/lib/.build-id/1b
/usr/lib/.build-id/1b/52cc6690dd74c6012b264616f1e60aaa9e41b3
/usr/lib/.build-id/52
/usr/lib/.build-id/52/932db1f069fe1c7b9c94c731f133c83c94a410
/usr/lib64/libasm-0.182.so
/usr/lib64/libasm.so.1
/usr/lib64/libdw-0.182.so
/usr/lib64/libdw.so.1
/usr/share/licenses/elfutils-libs
/usr/share/licenses/elfutils-libs/COPYING-GPLV2
/usr/share/licenses/elfutils-libs/COPYING-LGPLV3
/usr/lib/.build-id
/usr/lib/.build-id/5d
/usr/lib/.build-id/5d/4226c04484660c14cda304a6bc65206dd2da2b
/usr/lib/.build-id/fc
/usr/lib/.build-id/fc/73494f50401d5bb6ea8368a43f22b3bec4d9f0
/usr/lib/libasm-0.182.so
/usr/lib/libasm.so.1
/usr/lib/libdw-0.182.so
/usr/lib/libdw.so.1
/usr/share/licenses/elfutils-libs
/usr/share/licenses/elfutils-libs/COPYING-GPLV2
/usr/share/licenses/elfutils-libs/COPYING-LGPLV3

References

Summary

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