How To Install libmodulemd1 on Rocky Linux 8

In this tutorial we learn how to install libmodulemd1 on Rocky Linux 8. libmodulemd1 is Compatibility package for libmodulemd 1.x

Introduction

In this tutorial we learn how to install libmodulemd1 on Rocky Linux 8.

What is libmodulemd1

Compatibility library for libmodulemd 1.x

We can use yum or dnf to install libmodulemd1 on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libmodulemd1.

Install libmodulemd1 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 libmodulemd1 using dnf by running the following command:

sudo dnf -y install libmodulemd1

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

sudo yum -y install libmodulemd1

How To Uninstall libmodulemd1 on Rocky Linux 8

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

sudo dnf remove libmodulemd1

libmodulemd1 Package Contents on Rocky Linux 8

/usr/bin/modulemd-validator-v1
/usr/lib/.build-id
/usr/lib/.build-id/02
/usr/lib/.build-id/02/e7496bbb0b79ba0f9e529b2cd0cc610511b76c
/usr/lib/.build-id/b7
/usr/lib/.build-id/b7/7093154885f38974b2c51b4e5f081618fe1f47
/usr/lib/girepository-1.0
/usr/lib/girepository-1.0/Modulemd-1.0.typelib
/usr/lib/libmodulemd.so.1
/usr/lib/libmodulemd.so.1.8.16
/usr/share/doc/libmodulemd1
/usr/share/doc/libmodulemd1/README.md
/usr/share/licenses/libmodulemd1
/usr/share/licenses/libmodulemd1/COPYING
/usr/bin/modulemd-validator-v1
/usr/lib/.build-id
/usr/lib/.build-id/2f
/usr/lib/.build-id/2f/5e19a12a473dc39b1e72893b1ec8e70748f977
/usr/lib/.build-id/f5
/usr/lib/.build-id/f5/cdc2f1a678b7597dc55418ffaa9c30ec3b9a50
/usr/lib64/girepository-1.0
/usr/lib64/girepository-1.0/Modulemd-1.0.typelib
/usr/lib64/libmodulemd.so.1
/usr/lib64/libmodulemd.so.1.8.16
/usr/share/doc/libmodulemd1
/usr/share/doc/libmodulemd1/README.md
/usr/share/licenses/libmodulemd1
/usr/share/licenses/libmodulemd1/COPYING

References

Summary

In this tutorial we learn how to install libmodulemd1 on Rocky Linux 8 using yum and dnf.