How To Install ModemManager on CentOS 8

ModemManager is Mobile broadband modem management service Mobile broadband modem management service

Introduction

In this tutorial we learn how to install ModemManager on CentOS 8.

What is ModemManager

The ModemManager service manages WWAN modems and provides a consistent API for interacting with these devices to client applications. ModemManager 1.10.8 2.el8 x86_64 923 k ModemManager-1.10.8-2.el8.src.rpm baseos Mobile broadband modem management service http GPLv2+ The ModemManager service manages WWAN modems and provides a consistent API for interacting with these devices to client applications.

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

Install ModemManager on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo dnf -y install ModemManager

Install ModemManager on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo yum -y install ModemManager

How To Uninstall ModemManager on CentOS 8

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

sudo dnf remove ModemManager

ModemManager Package Contents on CentOS 8

/etc/dbus-1/system.d/org.freedesktop.ModemManager1.conf
/usr/bin/mmcli
/usr/lib/.build-id
/usr/lib/.build-id/00
/usr/lib/.build-id/00/274dcbdbdf676069b2bb21e6bd2b0e81ff2876
/usr/lib/.build-id/09
/usr/lib/.build-id/09/7c89313368284d2976bc9bae955c324a591597
/usr/lib/.build-id/0d
/usr/lib/.build-id/0d/5156b3a8c8850ea79f49e997e724d700fd9cc9
/usr/lib/.build-id/17
/usr/lib/.build-id/17/cce2e0ae49475fcf5a17ffb345e36c16a75e35
/usr/lib/.build-id/1a
/usr/lib/.build-id/1a/2e155921861f85393340da984f65f9b17390da
/usr/lib/.build-id/1f
/usr/lib/.build-id/1f/64f8887117edf0153cee48b4f402d16f32e37c
/usr/lib/.build-id/21
/usr/lib/.build-id/21/9f03e61caddce430a5155bedb96c0b28307d24
/usr/lib/.build-id/26
/usr/lib/.build-id/26/2b1afdf7dc05e59684c649d2b0a979cd768d88
/usr/lib/.build-id/28
/usr/lib/.build-id/28/c5eca2daba8a08ebd1dd91001075a61691863f
/usr/lib/.build-id/2a
/usr/lib/.build-id/2a/6d56252763d33d71d4ec9d8870c8f350ba290b
/usr/lib/.build-id/2c
/usr/lib/.build-id/2c/7eba28d280040f4eabcedebd2888780a228987
/usr/lib/.build-id/2e
/usr/lib/.build-id/2e/7d3f3886f94b13c589cf1d91815c6697c569c8
/usr/lib/.build-id/2f
/usr/lib/.build-id/2f/845c5441dbbf7b0fc8086cce2bcf3d09ea478e
/usr/lib/.build-id/3c
/usr/lib/.build-id/3c/639c51c8750daf4bb970a521b2b07f15527851
/usr/lib/.build-id/4c
/usr/lib/.build-id/4c/e1aa6a3ab57b07f0078dd77ca73f9504d13c3c
/usr/lib/.build-id/53
/usr/lib/.build-id/53/ea39f7553d8afa47c9f99c320ae49803bcd49f
/usr/lib/.build-id/6a
/usr/lib/.build-id/6a/72f2a6efa6eaba1bec7eaba1a4b6688d34053d
/usr/lib/.build-id/73
/usr/lib/.build-id/73/734ea462a989597ad0daab61becdb7de70802c
/usr/lib/.build-id/74
/usr/lib/.build-id/74/d21d7284ce7baf06366c48c77dd726b89691b8
/usr/lib/.build-id/78
/usr/lib/.build-id/78/33656a1f29eb3c73fea9112e47ed11925d9559
/usr/lib/.build-id/78/6f5c258646bf68f3ca5d94022380fe0203c19d
/usr/lib/.build-id/85
/usr/lib/.build-id/85/242a39a64d1403b32618c21b6fb90fd1341945
/usr/lib/.build-id/88
/usr/lib/.build-id/88/b8f91d007670e9b40ab8d47dd7b5810c33d5c1
/usr/lib/.build-id/93
/usr/lib/.build-id/93/ca15f9c906876ab29712e8572375c4a483d9d8
/usr/lib/.build-id/9c
/usr/lib/.build-id/9c/66a8b4d55747154ca3a4c27808d962bb009800
/usr/lib/.build-id/9d
/usr/lib/.build-id/9d/ca80b52d5429faf3d9645b8f7288590897b5a3
/usr/lib/.build-id/aa
/usr/lib/.build-id/aa/722b6f1897ba7c8f3ef62da12d7a88e8ff2f8e
/usr/lib/.build-id/bc
/usr/lib/.build-id/bc/e57488234e70bff71215ceb7e56e1bfb6c5bce
/usr/lib/.build-id/c4
/usr/lib/.build-id/c4/6c490389101a7661c2252513bc1df213c24d05
/usr/lib/.build-id/ca
/usr/lib/.build-id/ca/13a925a513b406c518961a08900e81ab7d93d9
/usr/lib/.build-id/ca/2bb9390f4342e6338e54c3ba346db803948213
/usr/lib/.build-id/dd
/usr/lib/.build-id/dd/f53f16c99eab3a7c134d7d26d9b49c096a94ea
/usr/lib/.build-id/eb
/usr/lib/.build-id/eb/88cc2a38009cbd9395172058122c5421a303ed
/usr/lib/.build-id/ed
/usr/lib/.build-id/ed/8b3b56579eea03ae79d5eef9f701b351b01a61
/usr/lib/.build-id/f7
/usr/lib/.build-id/f7/4539df149a0950307d03dddbf0bf17e86e4971
/usr/lib/systemd/system/ModemManager.service
/usr/lib/udev/rules.d/77-mm-cinterion-port-types.rules
/usr/lib/udev/rules.d/77-mm-dell-port-types.rules
/usr/lib/udev/rules.d/77-mm-ericsson-mbm.rules
/usr/lib/udev/rules.d/77-mm-fibocom-port-types.rules
/usr/lib/udev/rules.d/77-mm-haier-port-types.rules
/usr/lib/udev/rules.d/77-mm-huawei-net-port-types.rules
/usr/lib/udev/rules.d/77-mm-longcheer-port-types.rules
/usr/lib/udev/rules.d/77-mm-mtk-port-types.rules
/usr/lib/udev/rules.d/77-mm-nokia-port-types.rules
/usr/lib/udev/rules.d/77-mm-pcmcia-device-blacklist.rules
/usr/lib/udev/rules.d/77-mm-quectel-port-types.rules
/usr/lib/udev/rules.d/77-mm-sierra.rules
/usr/lib/udev/rules.d/77-mm-simtech-port-types.rules
/usr/lib/udev/rules.d/77-mm-telit-port-types.rules
/usr/lib/udev/rules.d/77-mm-ublox-port-types.rules
/usr/lib/udev/rules.d/77-mm-usb-device-blacklist.rules
/usr/lib/udev/rules.d/77-mm-usb-serial-adapters-greylist.rules
/usr/lib/udev/rules.d/77-mm-x22x-port-types.rules
/usr/lib/udev/rules.d/77-mm-zte-port-types.rules
/usr/lib/udev/rules.d/80-mm-candidate.rules
/usr/lib64/ModemManager
/usr/lib64/ModemManager/libmm-plugin-altair-lte.so
/usr/lib64/ModemManager/libmm-plugin-anydata.so
/usr/lib64/ModemManager/libmm-plugin-cinterion.so
/usr/lib64/ModemManager/libmm-plugin-dell.so
/usr/lib64/ModemManager/libmm-plugin-ericsson-mbm.so
/usr/lib64/ModemManager/libmm-plugin-fibocom.so
/usr/lib64/ModemManager/libmm-plugin-generic.so
/usr/lib64/ModemManager/libmm-plugin-haier.so
/usr/lib64/ModemManager/libmm-plugin-huawei.so
/usr/lib64/ModemManager/libmm-plugin-iridium.so
/usr/lib64/ModemManager/libmm-plugin-linktop.so
/usr/lib64/ModemManager/libmm-plugin-longcheer.so
/usr/lib64/ModemManager/libmm-plugin-motorola.so
/usr/lib64/ModemManager/libmm-plugin-mtk.so
/usr/lib64/ModemManager/libmm-plugin-nokia-icera.so
/usr/lib64/ModemManager/libmm-plugin-nokia.so
/usr/lib64/ModemManager/libmm-plugin-novatel-lte.so
/usr/lib64/ModemManager/libmm-plugin-novatel.so
/usr/lib64/ModemManager/libmm-plugin-option-hso.so
/usr/lib64/ModemManager/libmm-plugin-option.so
/usr/lib64/ModemManager/libmm-plugin-pantech.so
/usr/lib64/ModemManager/libmm-plugin-quectel.so
/usr/lib64/ModemManager/libmm-plugin-samsung.so
/usr/lib64/ModemManager/libmm-plugin-sierra-legacy.so
/usr/lib64/ModemManager/libmm-plugin-sierra.so
/usr/lib64/ModemManager/libmm-plugin-simtech.so
/usr/lib64/ModemManager/libmm-plugin-telit.so
/usr/lib64/ModemManager/libmm-plugin-thuraya.so
/usr/lib64/ModemManager/libmm-plugin-ublox.so
/usr/lib64/ModemManager/libmm-plugin-via.so
/usr/lib64/ModemManager/libmm-plugin-wavecom.so
/usr/lib64/ModemManager/libmm-plugin-x22x.so
/usr/lib64/ModemManager/libmm-plugin-zte.so
/usr/sbin/ModemManager
/usr/share/ModemManager
/usr/share/ModemManager/mm-dell-dw5821e-carrier-mapping.conf
/usr/share/bash-completion
/usr/share/bash-completion/completions
/usr/share/bash-completion/completions/mmcli
/usr/share/dbus-1/system-services/org.freedesktop.ModemManager1.service
/usr/share/doc/ModemManager
/usr/share/doc/ModemManager/COPYING
/usr/share/doc/ModemManager/README
/usr/share/icons/hicolor/22x22/apps/ModemManager.png
/usr/share/locale/cs/LC_MESSAGES/ModemManager.mo
/usr/share/locale/de/LC_MESSAGES/ModemManager.mo
/usr/share/locale/fr/LC_MESSAGES/ModemManager.mo
/usr/share/locale/fur/LC_MESSAGES/ModemManager.mo
/usr/share/locale/hu/LC_MESSAGES/ModemManager.mo
/usr/share/locale/id/LC_MESSAGES/ModemManager.mo
/usr/share/locale/it/LC_MESSAGES/ModemManager.mo
/usr/share/locale/pl/LC_MESSAGES/ModemManager.mo
/usr/share/locale/pt_BR/LC_MESSAGES/ModemManager.mo
/usr/share/locale/sk/LC_MESSAGES/ModemManager.mo
/usr/share/locale/sv/LC_MESSAGES/ModemManager.mo
/usr/share/locale/tr/LC_MESSAGES/ModemManager.mo
/usr/share/locale/uk/LC_MESSAGES/ModemManager.mo
/usr/share/man/man1/mmcli.1.gz
/usr/share/man/man8/ModemManager.8.gz
/etc/dbus-1/system.d/org.freedesktop.ModemManager1.conf
/usr/bin/mmcli
/usr/lib/.build-id
/usr/lib/.build-id/00
/usr/lib/.build-id/00/50beb431980ef7ee9e06fcdab5027af2f0ef0a
/usr/lib/.build-id/0c
/usr/lib/.build-id/0c/6e792e9ff6dacb2bfdcf1c7f0115833b90aa2e
/usr/lib/.build-id/1d
/usr/lib/.build-id/1d/1e96a0e8467175952a2b735e7edb495cd45a1d
/usr/lib/.build-id/21
/usr/lib/.build-id/21/b0cce4380e7634ac8c6a3f23b9e1c31f478783
/usr/lib/.build-id/27
/usr/lib/.build-id/27/6dd2a11f87f9dce20df81a152b236cdf07ad52
/usr/lib/.build-id/2b
/usr/lib/.build-id/2b/e3b8caae53fd0e4bd3b815380f7c409c9157f5
/usr/lib/.build-id/34
/usr/lib/.build-id/34/45d3e1858b14f5ea545bc65b6a99fb5cad1291
/usr/lib/.build-id/38
/usr/lib/.build-id/38/ade121e2f2e5a99db9a3bfd4a6a8497d400128
/usr/lib/.build-id/3d
/usr/lib/.build-id/3d/76b513825a6fc918dc3c68a06aab907f1e39b3
/usr/lib/.build-id/51
/usr/lib/.build-id/51/c83b9272768e0dec1d08c8883f011f1ef5bf48
/usr/lib/.build-id/54
/usr/lib/.build-id/54/2bbaaa3d4444dfc81b21038b2c773722b5635d
/usr/lib/.build-id/57
/usr/lib/.build-id/57/d799804eb6f4d5d0a8aba56f14315453543942
/usr/lib/.build-id/58
/usr/lib/.build-id/58/1ee171bbcd4a10af528ba67817ffa27a1dddef
/usr/lib/.build-id/64
/usr/lib/.build-id/64/3c898ce8f39c093ce1d5b471350d0e8c7b8b36
/usr/lib/.build-id/67
/usr/lib/.build-id/67/efbd6a43b94eb24da4994d6e2bfb4193347ea5
/usr/lib/.build-id/69
/usr/lib/.build-id/69/b73601890ecb83b2d6a45d8138ec708fa6c058
/usr/lib/.build-id/6f
/usr/lib/.build-id/6f/081dd9564e6a5ffb2c39e920c225c76340725d
/usr/lib/.build-id/75
/usr/lib/.build-id/75/0fb72fc98fcc5818bcfd6f09e3c18e8b898307
/usr/lib/.build-id/93
/usr/lib/.build-id/93/6fbb957a3573bc0eee801784e6ae348fc8f101
/usr/lib/.build-id/a1
/usr/lib/.build-id/a1/6397bccc5c79def1ca1d7160fb1a33fc9b321c
/usr/lib/.build-id/ac
/usr/lib/.build-id/ac/c35a8be155fdf0e541827fd06eff923bb4f8e4
/usr/lib/.build-id/c0
/usr/lib/.build-id/c0/3707b9cd9bebe4644046f49ea610049b0e8f63
/usr/lib/.build-id/c2
/usr/lib/.build-id/c2/1ffb62588ba172e8b3ad41ae73fc3f0eceaba6
/usr/lib/.build-id/c2/7acd4e0e432590df1276fdc475f2eef5f0cfe5
/usr/lib/.build-id/c3
/usr/lib/.build-id/c3/a1b897083e0bbf910111b12d5e3d9cef9d86e8
/usr/lib/.build-id/cd
/usr/lib/.build-id/cd/b638b4e5174c63e5747d07e691239c18ee7d6c
/usr/lib/.build-id/d3
/usr/lib/.build-id/d3/b6bd50c279c88cfac052220824f6e1e257d561
/usr/lib/.build-id/d5
/usr/lib/.build-id/d5/11f3f7cd1805fd2e449ed7f8f48fc666270636
/usr/lib/.build-id/d5/39f863628cbf087f6d80b190b9009427e03b3e
/usr/lib/.build-id/dc
/usr/lib/.build-id/dc/a1035b5a133e3970a36390afc70865102bf697
/usr/lib/.build-id/e2
/usr/lib/.build-id/e2/408fc96ed6bf7761f6a15c2deacb954f786a66
/usr/lib/.build-id/ee
/usr/lib/.build-id/ee/7885c93583ec8c2475fae06f8a1432e01fde62
/usr/lib/.build-id/f5
/usr/lib/.build-id/f5/60f9c1066f85d6309d3d12bd524920a5557f24
/usr/lib/.build-id/f6
/usr/lib/.build-id/f6/81a06bb75f358903622b0efc1b0f026625e083
/usr/lib/.build-id/fa
/usr/lib/.build-id/fa/06a6150e309a86475732d54e76ba1f79d7fed3
/usr/lib/ModemManager
/usr/lib/ModemManager/libmm-plugin-altair-lte.so
/usr/lib/ModemManager/libmm-plugin-anydata.so
/usr/lib/ModemManager/libmm-plugin-cinterion.so
/usr/lib/ModemManager/libmm-plugin-dell.so
/usr/lib/ModemManager/libmm-plugin-ericsson-mbm.so
/usr/lib/ModemManager/libmm-plugin-fibocom.so
/usr/lib/ModemManager/libmm-plugin-generic.so
/usr/lib/ModemManager/libmm-plugin-haier.so
/usr/lib/ModemManager/libmm-plugin-huawei.so
/usr/lib/ModemManager/libmm-plugin-iridium.so
/usr/lib/ModemManager/libmm-plugin-linktop.so
/usr/lib/ModemManager/libmm-plugin-longcheer.so
/usr/lib/ModemManager/libmm-plugin-motorola.so
/usr/lib/ModemManager/libmm-plugin-mtk.so
/usr/lib/ModemManager/libmm-plugin-nokia-icera.so
/usr/lib/ModemManager/libmm-plugin-nokia.so
/usr/lib/ModemManager/libmm-plugin-novatel-lte.so
/usr/lib/ModemManager/libmm-plugin-novatel.so
/usr/lib/ModemManager/libmm-plugin-option-hso.so
/usr/lib/ModemManager/libmm-plugin-option.so
/usr/lib/ModemManager/libmm-plugin-pantech.so
/usr/lib/ModemManager/libmm-plugin-quectel.so
/usr/lib/ModemManager/libmm-plugin-samsung.so
/usr/lib/ModemManager/libmm-plugin-sierra-legacy.so
/usr/lib/ModemManager/libmm-plugin-sierra.so
/usr/lib/ModemManager/libmm-plugin-simtech.so
/usr/lib/ModemManager/libmm-plugin-telit.so
/usr/lib/ModemManager/libmm-plugin-thuraya.so
/usr/lib/ModemManager/libmm-plugin-ublox.so
/usr/lib/ModemManager/libmm-plugin-via.so
/usr/lib/ModemManager/libmm-plugin-wavecom.so
/usr/lib/ModemManager/libmm-plugin-x22x.so
/usr/lib/ModemManager/libmm-plugin-zte.so
/usr/lib/systemd/system/ModemManager.service
/usr/lib/udev/rules.d/77-mm-cinterion-port-types.rules
/usr/lib/udev/rules.d/77-mm-dell-port-types.rules
/usr/lib/udev/rules.d/77-mm-ericsson-mbm.rules
/usr/lib/udev/rules.d/77-mm-fibocom-port-types.rules
/usr/lib/udev/rules.d/77-mm-haier-port-types.rules
/usr/lib/udev/rules.d/77-mm-huawei-net-port-types.rules
/usr/lib/udev/rules.d/77-mm-longcheer-port-types.rules
/usr/lib/udev/rules.d/77-mm-mtk-port-types.rules
/usr/lib/udev/rules.d/77-mm-nokia-port-types.rules
/usr/lib/udev/rules.d/77-mm-pcmcia-device-blacklist.rules
/usr/lib/udev/rules.d/77-mm-quectel-port-types.rules
/usr/lib/udev/rules.d/77-mm-sierra.rules
/usr/lib/udev/rules.d/77-mm-simtech-port-types.rules
/usr/lib/udev/rules.d/77-mm-telit-port-types.rules
/usr/lib/udev/rules.d/77-mm-ublox-port-types.rules
/usr/lib/udev/rules.d/77-mm-usb-device-blacklist.rules
/usr/lib/udev/rules.d/77-mm-usb-serial-adapters-greylist.rules
/usr/lib/udev/rules.d/77-mm-x22x-port-types.rules
/usr/lib/udev/rules.d/77-mm-zte-port-types.rules
/usr/lib/udev/rules.d/80-mm-candidate.rules
/usr/sbin/ModemManager
/usr/share/ModemManager
/usr/share/ModemManager/mm-dell-dw5821e-carrier-mapping.conf
/usr/share/bash-completion
/usr/share/bash-completion/completions
/usr/share/bash-completion/completions/mmcli
/usr/share/dbus-1/system-services/org.freedesktop.ModemManager1.service
/usr/share/doc/ModemManager
/usr/share/doc/ModemManager/COPYING
/usr/share/doc/ModemManager/README
/usr/share/icons/hicolor/22x22/apps/ModemManager.png
/usr/share/locale/cs/LC_MESSAGES/ModemManager.mo
/usr/share/locale/de/LC_MESSAGES/ModemManager.mo
/usr/share/locale/fr/LC_MESSAGES/ModemManager.mo
/usr/share/locale/fur/LC_MESSAGES/ModemManager.mo
/usr/share/locale/hu/LC_MESSAGES/ModemManager.mo
/usr/share/locale/id/LC_MESSAGES/ModemManager.mo
/usr/share/locale/it/LC_MESSAGES/ModemManager.mo
/usr/share/locale/pl/LC_MESSAGES/ModemManager.mo
/usr/share/locale/pt_BR/LC_MESSAGES/ModemManager.mo
/usr/share/locale/sk/LC_MESSAGES/ModemManager.mo
/usr/share/locale/sv/LC_MESSAGES/ModemManager.mo
/usr/share/locale/tr/LC_MESSAGES/ModemManager.mo
/usr/share/locale/uk/LC_MESSAGES/ModemManager.mo
/usr/share/man/man1/mmcli.1.gz
/usr/share/man/man8/ModemManager.8.gz

References

Summary

In this tutorial we learn how to install ModemManager on CentOS 8 using yum and dnf.