How To Install autogen-libopts on CentOS 8

autogen-libopts is Automated option processing library based on autogen Automated option processing library based on autogen

Introduction

In this tutorial we learn how to install autogen-libopts on CentOS 8.

What is autogen-libopts

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. autogen-libopts 5.18.12 8.el8 x86_64 75 k autogen-5.18.12-8.el8.src.rpm appstream Automated option processing library based on autogen http LGPLv3+ 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 or dnf to install autogen-libopts on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install autogen-libopts.

Install autogen-libopts on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install autogen-libopts using dnf by running the following command:

sudo dnf -y install autogen-libopts

Install autogen-libopts on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install autogen-libopts using yum by running the following command:

sudo yum -y install autogen-libopts

How To Uninstall autogen-libopts on CentOS 8

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

sudo dnf remove autogen-libopts

autogen-libopts Package Contents on CentOS 8

/usr/lib/.build-id
/usr/lib/.build-id/d4
/usr/lib/.build-id/d4/33ec6c4aa284c10a9d949d7e295046a612265f
/usr/lib/libopts.so.25
/usr/lib/libopts.so.25.16.1
/usr/share/doc/autogen-libopts
/usr/share/doc/autogen-libopts/COPYING.lgplv3
/usr/share/doc/autogen-libopts/COPYING.mbsd
/usr/lib/.build-id
/usr/lib/.build-id/fc
/usr/lib/.build-id/fc/b85cabddeccf16806f1b2ece599cc5a2a04b22
/usr/lib64/libopts.so.25
/usr/lib64/libopts.so.25.16.1
/usr/share/doc/autogen-libopts
/usr/share/doc/autogen-libopts/COPYING.lgplv3
/usr/share/doc/autogen-libopts/COPYING.mbsd

References

Summary

In this tutorial we learn how to install autogen-libopts on CentOS 8 using yum and dnf.