How To Install ModemManager-glib on Rocky Linux 8

In this tutorial we learn how to install ModemManager-glib on Rocky Linux 8. ModemManager-glib is Libraries for adding ModemManager support to applications that use glib.

Introduction

In this tutorial we learn how to install ModemManager-glib on Rocky Linux 8.

What is ModemManager-glib

This package contains the libraries that make it easier to use some ModemManager functionality from applications that use glib.

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

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

sudo dnf -y install ModemManager-glib

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

sudo yum -y install ModemManager-glib

How To Uninstall ModemManager-glib on Rocky Linux 8

To uninstall only the ModemManager-glib package we can use the following command:

sudo dnf remove ModemManager-glib

ModemManager-glib Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/19
/usr/lib/.build-id/19/1fab7526060dc74b4746ec101096d00c0a4879
/usr/lib/girepository-1.0/ModemManager-1.0.typelib
/usr/lib/libmm-glib.so.0
/usr/lib/libmm-glib.so.0.4.0
/usr/lib/.build-id
/usr/lib/.build-id/3c
/usr/lib/.build-id/3c/554f3fab10e573c0ef7609df0c4549a409324d
/usr/lib64/girepository-1.0/ModemManager-1.0.typelib
/usr/lib64/libmm-glib.so.0
/usr/lib64/libmm-glib.so.0.4.0

References

Summary

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