How To Install libcomps on Fedora 36

In this tutorial we learn how to install libcomps in Fedora 36. libcomps is Comps XML file manipulation library

Introduction

In this tutorial we learn how to install libcomps on Fedora 36.

What is libcomps

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 or dnf to install libcomps on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install libcomps.

Install libcomps on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install libcomps

Install libcomps on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install libcomps using yum by running the following command:

sudo yum -y install libcomps

How To Uninstall libcomps on Fedora 36

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

sudo dnf remove libcomps

libcomps Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/b9
/usr/lib/.build-id/b9/67c704b73ffb2bdf3af2e654ef52a0b89fb5c4
/usr/lib64/libcomps.so.0
/usr/share/doc/libcomps
/usr/share/doc/libcomps/README.md
/usr/share/licenses/libcomps
/usr/share/licenses/libcomps/COPYING

References

Summary

In this tutorial we learn how to install libcomps on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).