How To Install popt.i686 on Amazon Linux 2

In this tutorial we learn how to install popt.i686 in Amazon Linux 2. popt.i686 is C library for parsing command line parameters

Introduction

In this tutorial we learn how to install popt.i686 on Amazon Linux 2.

What is popt.i686

Popt is a C library for parsing command line parameters. Popt was heavily influenced by the getopt() and getopt_long() functions, but it improves on them by allowing more powerful argument expansion. Popt can parse arbitrary argv[] style arrays and automatically set variables based on command line arguments. Popt allows command line arguments to be aliased via configuration files and includes utility functions for parsing arbitrary strings into argv[] arrays using shell-like rules.

We can use yum to install popt.i686 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install popt.i686.

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

sudo yum -y install popt.i686

How To Uninstall popt.i686 on Amazon Linux 2

To uninstall only the popt.i686 package we can use the following command:

sudo yum remove popt.i686

popt.i686 Package Contents on Amazon Linux 2

/etc/popt.d
/lib/libpopt.so.0
/lib/libpopt.so.0.0.0
/usr/share/doc/popt-1.13
/usr/share/doc/popt-1.13/CHANGES
/usr/share/doc/popt-1.13/COPYING
/usr/share/locale/cs/LC_MESSAGES/popt.mo
/usr/share/locale/da/LC_MESSAGES/popt.mo
/usr/share/locale/de/LC_MESSAGES/popt.mo
/usr/share/locale/es/LC_MESSAGES/popt.mo
/usr/share/locale/fr/LC_MESSAGES/popt.mo
/usr/share/locale/ga/LC_MESSAGES/popt.mo
/usr/share/locale/gl/LC_MESSAGES/popt.mo
/usr/share/locale/hu/LC_MESSAGES/popt.mo
/usr/share/locale/is/LC_MESSAGES/popt.mo
/usr/share/locale/it/LC_MESSAGES/popt.mo
/usr/share/locale/ja/LC_MESSAGES/popt.mo
/usr/share/locale/ko/LC_MESSAGES/popt.mo
/usr/share/locale/nb/LC_MESSAGES/popt.mo
/usr/share/locale/nl/LC_MESSAGES/popt.mo
/usr/share/locale/pl/LC_MESSAGES/popt.mo
/usr/share/locale/pt/LC_MESSAGES/popt.mo
/usr/share/locale/ro/LC_MESSAGES/popt.mo
/usr/share/locale/ru/LC_MESSAGES/popt.mo
/usr/share/locale/sk/LC_MESSAGES/popt.mo
/usr/share/locale/sl/LC_MESSAGES/popt.mo
/usr/share/locale/sv/LC_MESSAGES/popt.mo
/usr/share/locale/tr/LC_MESSAGES/popt.mo
/usr/share/locale/uk/LC_MESSAGES/popt.mo
/usr/share/locale/vi/LC_MESSAGES/popt.mo
/usr/share/locale/wa/LC_MESSAGES/popt.mo
/usr/share/locale/zh_CN/LC_MESSAGES/popt.mo

References

Summary

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