How To Install libcomps.x86_64 on Amazon Linux 2

In this tutorial we learn how to install libcomps.x86_64 in Amazon Linux 2. libcomps.x86_64 is Comps XML file manipulation library

Introduction

In this tutorial we learn how to install libcomps.x86_64 on Amazon Linux 2.

What is libcomps.x86_64

Libcomps is library for structure-like manipulation with content of comps XML files. Supports read/write XML file, structure(s) modification.

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

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

sudo yum -y install libcomps.x86_64

How To Uninstall libcomps.x86_64 on Amazon Linux 2

To uninstall only the libcomps.x86_64 package we can use the following command:

sudo yum remove libcomps.x86_64

libcomps.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/libcomps.so.0.1.6
/usr/share/doc/libcomps-0.1.8
/usr/share/doc/libcomps-0.1.8/README.md
/usr/share/licenses/libcomps-0.1.8
/usr/share/licenses/libcomps-0.1.8/COPYING

References

Summary

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