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

In this tutorial we learn how to install popt-devel.x86_64 in Amazon Linux 2. popt-devel.x86_64 is Development files for the popt library

Introduction

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

What is popt-devel.x86_64

The popt-devel package includes header files and libraries necessary for developing programs which use the popt C library. It contains the API documentation of the popt library, too.

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

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

sudo yum -y install popt-devel.x86_64

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

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

sudo yum remove popt-devel.x86_64

popt-devel.x86_64 Package Contents on Amazon Linux 2

/usr/include/popt.h
/usr/lib64/libpopt.so
/usr/share/doc/popt-devel-1.13
/usr/share/doc/popt-devel-1.13/README
/usr/share/man/man3/popt.3.gz

References

Summary

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