How To Install elfutils-libelf-devel.x86_64 on Amazon Linux 2
Introduction
In this tutorial we learn how to install elfutils-libelf-devel.x86_64
on Amazon Linux 2.
What is elfutils-libelf-devel.x86_64
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
to install elfutils-libelf-devel.x86_64
on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install elfutils-libelf-devel.x86_64.
Install elfutils-libelf-devel.x86_64 on Amazon Linux 2 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install elfutils-libelf-devel.x86_64
using yum
by running the following command:
sudo yum -y install elfutils-libelf-devel.x86_64
How To Uninstall elfutils-libelf-devel.x86_64 on Amazon Linux 2
To uninstall only the elfutils-libelf-devel.x86_64
package we can use the following command:
sudo yum remove elfutils-libelf-devel.x86_64
elfutils-libelf-devel.x86_64 Package Contents on Amazon Linux 2
/usr/include/gelf.h
/usr/include/libelf.h
/usr/include/nlist.h
/usr/lib64/libelf.so
/usr/lib64/pkgconfig/libelf.pc
References
Summary
In this tutorial we learn how to install elfutils-libelf-devel.x86_64
on Amazon Linux 2 using yum.