How To Install libqmi on Fedora 34

libqmi is Support library to use the Qualcomm MSM Interface (QMI) protocol Support library to use the Qualcomm MSM Interface (QMI) protocol

Introduction

In this tutorial we learn how to install libqmi on Fedora 34.

What is libqmi

This package contains the libraries that make it easier to use QMI functionality from applications that use glib. libqmi 1.28.6 1.fc34 x86_64 891 k libqmi-1.28.6-1.fc34.src.rpm updates Support library to use the Qualcomm MSM Interface (QMI) protocol http LGPLv2+ This package contains the libraries that make it easier to use QMI functionality from applications that use glib.

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

Install libqmi on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install libqmi using dnf by running the following command:

sudo dnf -y install libqmi

Install libqmi on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install libqmi using yum by running the following command:

sudo yum -y install libqmi

How To Uninstall libqmi on Fedora 34

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

sudo dnf remove libqmi

libqmi Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/70
/usr/lib/.build-id/70/36980efdcbf63105aaaf59a44f0bcecb0c00a9
/usr/lib64/libqmi-glib.so.5
/usr/lib64/libqmi-glib.so.5.7.0
/usr/share/bash-completion
/usr/share/bash-completion/completions
/usr/share/bash-completion/completions/qmicli
/usr/share/doc/libqmi
/usr/share/doc/libqmi/AUTHORS
/usr/share/doc/libqmi/NEWS
/usr/share/doc/libqmi/README
/usr/share/licenses/libqmi
/usr/share/licenses/libqmi/COPYING.LIB
/usr/lib/.build-id
/usr/lib/.build-id/84
/usr/lib/.build-id/84/b197898206ba62436650337a37216095a6a175
/usr/lib64/girepository-1.0/Qmi-1.0.typelib
/usr/lib64/libqmi-glib.so.5
/usr/lib64/libqmi-glib.so.5.7.0
/usr/share/doc/libqmi
/usr/share/doc/libqmi/AUTHORS
/usr/share/doc/libqmi/NEWS
/usr/share/doc/libqmi/README
/usr/share/licenses/libqmi
/usr/share/licenses/libqmi/COPYING.LIB
/usr/lib/.build-id
/usr/lib/.build-id/8d
/usr/lib/.build-id/8d/2dee0e92d601909a445c950cae541cb7a7d5ff
/usr/lib/girepository-1.0/Qmi-1.0.typelib
/usr/lib/libqmi-glib.so.5
/usr/lib/libqmi-glib.so.5.7.0
/usr/share/doc/libqmi
/usr/share/doc/libqmi/AUTHORS
/usr/share/doc/libqmi/NEWS
/usr/share/doc/libqmi/README
/usr/share/licenses/libqmi
/usr/share/licenses/libqmi/COPYING.LIB
/usr/lib/.build-id
/usr/lib/.build-id/ed
/usr/lib/.build-id/ed/42f3879f6d5131ab6ba2a90bde6456a81e0ffb
/usr/lib/libqmi-glib.so.5
/usr/lib/libqmi-glib.so.5.7.0
/usr/share/bash-completion
/usr/share/bash-completion/completions
/usr/share/bash-completion/completions/qmicli
/usr/share/doc/libqmi
/usr/share/doc/libqmi/AUTHORS
/usr/share/doc/libqmi/NEWS
/usr/share/doc/libqmi/README
/usr/share/licenses/libqmi
/usr/share/licenses/libqmi/COPYING.LIB

References

Summary

In this tutorial we learn how to install libqmi on Fedora 34 using yum and dnf.