How To Install autogen-libopts.x86_64 on Amazon Linux 2

In this tutorial we learn how to install autogen-libopts.x86_64 in Amazon Linux 2. autogen-libopts.x86_64 is Automated option processing library based on autogen

Introduction

In this tutorial we learn how to install autogen-libopts.x86_64 on Amazon Linux 2.

What is autogen-libopts.x86_64

Libopts is very powerful command line option parser consisting of a set of AutoGen templates and a run time library that nearly eliminates the hassle of parsing and documenting command line options.

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

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

sudo yum -y install autogen-libopts.x86_64

How To Uninstall autogen-libopts.x86_64 on Amazon Linux 2

To uninstall only the autogen-libopts.x86_64 package we can use the following command:

sudo yum remove autogen-libopts.x86_64

autogen-libopts.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/libopts.so.25
/usr/lib64/libopts.so.25.16.1
/usr/share/doc/autogen-libopts-5.18.12
/usr/share/doc/autogen-libopts-5.18.12/COPYING.lgplv3
/usr/share/doc/autogen-libopts-5.18.12/COPYING.mbsd

References

Summary

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