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

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

Introduction

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

What is elfutils-devel-static.x86_64

The elfutils-devel-static package contains the static archives with the code to handle compiled objects.

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

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

sudo yum -y install elfutils-devel-static.x86_64

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

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

sudo yum remove elfutils-devel-static.x86_64

elfutils-devel-static.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/libasm.a
/usr/lib64/libdw.a

References

Summary

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