How To Install libqmi-utils on Rocky Linux 8

In this tutorial we learn how to install libqmi-utils on Rocky Linux 8. libqmi-utils is Utilities to use the QMI protocol from the command line

Introduction

In this tutorial we learn how to install libqmi-utils on Rocky Linux 8.

What is libqmi-utils

This package contains the utilities that make it easier to use QMI functionality from the command line.

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

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

sudo dnf -y install libqmi-utils

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

sudo yum -y install libqmi-utils

How To Uninstall libqmi-utils on Rocky Linux 8

To uninstall only the libqmi-utils package we can use the following command:

sudo dnf remove libqmi-utils

libqmi-utils Package Contents on Rocky Linux 8

/usr/bin/qmi-firmware-update
/usr/bin/qmi-network
/usr/bin/qmicli
/usr/lib/.build-id
/usr/lib/.build-id/62
/usr/lib/.build-id/62/99ceca7fedb87b8dfecc1d95279a9dc0fb90bb
/usr/lib/.build-id/8a
/usr/lib/.build-id/8a/741422c493f367d09ca2b18b8e6f32f79c4cf0
/usr/lib/.build-id/c5
/usr/lib/.build-id/c5/cbb1bafa74bfe3fb4fc57c55d1612336c67614
/usr/libexec/qmi-proxy
/usr/share/man/man1/qmi-firmware-update.1.gz
/usr/share/man/man1/qmi-network.1.gz
/usr/share/man/man1/qmicli.1.gz

References

Summary

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