How To Install libmodulemd on Rocky Linux 8
Introduction
In this tutorial we learn how to install libmodulemd on Rocky Linux 8.
What is libmodulemd
C Library for manipulating module metadata files. See https more details.
We can use yum or dnf to install libmodulemd on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libmodulemd.
Install libmodulemd 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 libmodulemd using dnf by running the following command:
sudo dnf -y install libmodulemd
Install libmodulemd 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 libmodulemd using yum by running the following command:
sudo yum -y install libmodulemd
How To Uninstall libmodulemd on Rocky Linux 8
To uninstall only the libmodulemd package we can use the following command:
sudo dnf remove libmodulemd
libmodulemd Package Contents on Rocky Linux 8
/usr/bin/modulemd-validator
/usr/lib/.build-id
/usr/lib/.build-id/70
/usr/lib/.build-id/70/da8d7b24551cd8d02e05a1980ba44e76a78baf
/usr/lib/.build-id/ac
/usr/lib/.build-id/ac/caef97fa017619b2bde941441fb782800a93c9
/usr/lib/girepository-1.0
/usr/lib/girepository-1.0/Modulemd-2.0.typelib
/usr/lib/libmodulemd.so.2
/usr/lib/libmodulemd.so.2.9.4
/usr/share/doc/libmodulemd
/usr/share/doc/libmodulemd/README.md
/usr/share/licenses/libmodulemd
/usr/share/licenses/libmodulemd/COPYING
/usr/share/man/man1/modulemd-validator.1.gz
/usr/bin/modulemd-validator
/usr/lib/.build-id
/usr/lib/.build-id/71
/usr/lib/.build-id/71/1a85e072535c804d4f6993c82386045c1b59b0
/usr/lib/.build-id/dd
/usr/lib/.build-id/dd/11faff45c333604b0dddc408b714a7a5ee2daf
/usr/lib64/girepository-1.0
/usr/lib64/girepository-1.0/Modulemd-2.0.typelib
/usr/lib64/libmodulemd.so.2
/usr/lib64/libmodulemd.so.2.9.4
/usr/share/doc/libmodulemd
/usr/share/doc/libmodulemd/README.md
/usr/share/licenses/libmodulemd
/usr/share/licenses/libmodulemd/COPYING
/usr/share/man/man1/modulemd-validator.1.gz
References
Summary
In this tutorial we learn how to install libmodulemd on Rocky Linux 8 using yum and dnf.