How To Install libcomps on Fedora 34
Introduction
In this tutorial we learn how to install libcomps
on Fedora 34.
What is libcomps
Libcomps is library for structure-like manipulation with content of comps XML files. Supports read/write XML file, structure(s) modification. libcomps 0.1.17 1.fc34 i686 84 k libcomps-0.1.17-1.fc34.src.rpm updates Comps XML file manipulation library https GPLv2+ 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 34. In this tutorial we discuss both methods but you only need to choose one of method to install libcomps.
Install libcomps on Fedora 34 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install libcomps
using dnf
by running the following command:
sudo dnf -y install libcomps
Install libcomps on Fedora 34 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
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 34
To uninstall only the libcomps
package we can use the following command:
sudo dnf remove libcomps
libcomps Package Contents on Fedora 34
/usr/lib/.build-id
/usr/lib/.build-id/2d
/usr/lib/.build-id/2d/36d3d7b9e34a12ad29b3ab0b5c8e74e3ef0d04
/usr/lib/libcomps.so.0
/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/78
/usr/lib/.build-id/78/c8e193ad3649927f495fccc760130e5798c26a
/usr/lib/libcomps.so.0
/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/7c
/usr/lib/.build-id/7c/ac0069fbd8e15e1bf1145bb369aa1c9b3dc241
/usr/lib64/libcomps.so.0
/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/eb
/usr/lib/.build-id/eb/a3677e625b8599dee6bea4130dd28ec65c3ec1
/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
- [libcomps website](https://github.com/rpm-software-management/libcomps https://github.com/rpm-software-management/libcomps)
Summary
In this tutorial we learn how to install libcomps
on Fedora 34 using yum and dnf.