How To Install elfutils-libelf-devel on CentOS 7
Introduction
In this tutorial we learn how to install elfutils-libelf-devel
on CentOS 7.
What is elfutils-libelf-devel
The elfutils-libelf-devel package contains the libraries to create applications for handling compiled objects. libelf allows you to access the internals of the ELF object file format, so you can see the different sections of an ELF file. The elfutils-libelf-devel package contains the libraries to create applications for handling compiled objects. libelf allows you to access the internals of the ELF object file format, so you can see the different sections of an ELF file.
We can use yum
or dnf
to install elfutils-libelf-devel
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install elfutils-libelf-devel.
Install elfutils-libelf-devel on CentOS 7 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install elfutils-libelf-devel
using yum
by running the following command:
Install elfutils-libelf-devel on CentOS 7 Using dnf
If you don’t have dnf installed you can install DNF on CentOS 7 first.
Update yum database with dnf
using the following command.
After updating yum database, We can install elfutils-libelf-devel
using dnf
by running the following command:
How To Uninstall elfutils-libelf-devel on CentOS 7
To uninstall only the elfutils-libelf-devel
package we can use the following command:
References
Summary
In this tutorial we learn how to install elfutils-libelf-devel
on CentOS 7 using yum
and dnf
.