How To Install elfutils-devel.x86_64 on Amazon Linux 2

In this tutorial we learn how to install elfutils-devel.x86_64 in Amazon Linux 2. elfutils-devel.x86_64 is Development libraries to handle compiled objects

Introduction

In this tutorial we learn how to install elfutils-devel.x86_64 on Amazon Linux 2.

What is elfutils-devel.x86_64

The elfutils-devel package contains the libraries to create applications for handling compiled objects. libebl provides some higher-level ELF access functionality. libdw provides access to the DWARF debugging information. libasm provides a programmable assembler interface.

We can use yum to install elfutils-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-devel.x86_64.

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

sudo yum -y install elfutils-devel.x86_64

How To Uninstall elfutils-devel.x86_64 on Amazon Linux 2

To uninstall only the elfutils-devel.x86_64 package we can use the following command:

sudo yum remove elfutils-devel.x86_64

elfutils-devel.x86_64 Package Contents on Amazon Linux 2

/usr/include/dwarf.h
/usr/include/elfutils
/usr/include/elfutils/elf-knowledge.h
/usr/include/elfutils/known-dwarf.h
/usr/include/elfutils/libasm.h
/usr/include/elfutils/libdw.h
/usr/include/elfutils/libdwelf.h
/usr/include/elfutils/libdwfl.h
/usr/include/elfutils/libebl.h
/usr/include/elfutils/version.h
/usr/lib64/libasm.so
/usr/lib64/libdw.so
/usr/lib64/libebl.a
/usr/lib64/pkgconfig/libdw.pc

References

Summary

In this tutorial we learn how to install elfutils-devel.x86_64 on Amazon Linux 2 using yum.