How To Install libcomps on Rocky Linux 8
Introduction
In this tutorial we learn how to install libcomps on Rocky Linux 8.
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 Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libcomps.
Install libcomps on Rocky Linux 8 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 Rocky Linux 8 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 Rocky Linux 8
To uninstall only the libcomps package we can use the following command:
sudo dnf remove libcomps
libcomps Package Contents on Rocky Linux 8
/usr/lib/.build-id
/usr/lib/.build-id/4a
/usr/lib/.build-id/4a/5f7cce6ef9c9b5c403eb8d4ed65c1d015294c6
/usr/lib/libcomps.so.0.1.11
/usr/share/doc/libcomps
/usr/share/doc/libcomps/README.md
/usr/share/licenses/libcomps
/usr/share/licenses/libcomps/COPYING
/usr/lib/.build-id
/usr/lib/.build-id/f7
/usr/lib/.build-id/f7/b2896359a36f2a4f49fbd676808688035b56b9
/usr/lib64/libcomps.so.0.1.11
/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 Rocky Linux 8 using yum and dnf.