How To Install libmodulemd on Fedora 36

In this tutorial we learn how to install libmodulemd in Fedora 36. libmodulemd is Module metadata manipulation library

Introduction

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

What is libmodulemd

C library for manipulating module metadata files. See https more details.

We can use yum or dnf to install libmodulemd on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install libmodulemd.

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

sudo dnf -y install libmodulemd

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

sudo yum -y install libmodulemd

How To Uninstall libmodulemd on Fedora 36

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

sudo dnf remove libmodulemd

libmodulemd Package Contents on Fedora 36

/usr/bin/modulemd-validator
/usr/lib/.build-id
/usr/lib/.build-id/ed
/usr/lib/.build-id/ed/b2d2b396426233902687038ee3325f027664b3
/usr/lib/.build-id/fc
/usr/lib/.build-id/fc/6deaee8e033ac2225ae327280eb3c9f6a5fd46
/usr/lib64/girepository-1.0
/usr/lib64/girepository-1.0/Modulemd-2.0.typelib
/usr/lib64/libmodulemd.so.2
/usr/lib64/libmodulemd.so.2.14.0
/usr/share/doc/libmodulemd
/usr/share/doc/libmodulemd/NEWS
/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 Fedora 36 using yum and [dnf]((/fedora/36/dnf/).