How To Install python3-gammu on Fedora 36

In this tutorial we learn how to install python3-gammu in Fedora 36. python3-gammu is Python bindings for Gammu

Introduction

In this tutorial we learn how to install python3-gammu on Fedora 36.

What is python3-gammu

Python3 bindings for Gammu library. It currently does not support all Gammu features, but range of covered functions is increasing, if you need some specific, feel free to use bug tracking system for feature requests.

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

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

sudo dnf -y install python3-gammu

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

sudo yum -y install python3-gammu

How To Uninstall python3-gammu on Fedora 36

To uninstall only the python3-gammu package we can use the following command:

sudo dnf remove python3-gammu

python3-gammu Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/81
/usr/lib/.build-id/81/8439d079f823085831d8cd1c93ea35a768a098
/usr/lib64/python3.10/site-packages/gammu
/usr/lib64/python3.10/site-packages/gammu/__init__.py
/usr/lib64/python3.10/site-packages/gammu/__pycache__
/usr/lib64/python3.10/site-packages/gammu/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/gammu/__pycache__/__init__.cpython-310.pyc
/usr/lib64/python3.10/site-packages/gammu/__pycache__/asyncworker.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/gammu/__pycache__/asyncworker.cpython-310.pyc
/usr/lib64/python3.10/site-packages/gammu/__pycache__/data.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/gammu/__pycache__/data.cpython-310.pyc
/usr/lib64/python3.10/site-packages/gammu/__pycache__/exception.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/gammu/__pycache__/exception.cpython-310.pyc
/usr/lib64/python3.10/site-packages/gammu/__pycache__/smsd.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/gammu/__pycache__/smsd.cpython-310.pyc
/usr/lib64/python3.10/site-packages/gammu/__pycache__/worker.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/gammu/__pycache__/worker.cpython-310.pyc
/usr/lib64/python3.10/site-packages/gammu/_gammu.cpython-310-x86_64-linux-gnu.so
/usr/lib64/python3.10/site-packages/gammu/asyncworker.py
/usr/lib64/python3.10/site-packages/gammu/data.py
/usr/lib64/python3.10/site-packages/gammu/exception.py
/usr/lib64/python3.10/site-packages/gammu/smsd.py
/usr/lib64/python3.10/site-packages/gammu/worker.py
/usr/lib64/python3.10/site-packages/python_gammu-3.2.4-py3.10.egg-info
/usr/lib64/python3.10/site-packages/python_gammu-3.2.4-py3.10.egg-info/PKG-INFO
/usr/lib64/python3.10/site-packages/python_gammu-3.2.4-py3.10.egg-info/SOURCES.txt
/usr/lib64/python3.10/site-packages/python_gammu-3.2.4-py3.10.egg-info/dependency_links.txt
/usr/lib64/python3.10/site-packages/python_gammu-3.2.4-py3.10.egg-info/top_level.txt
/usr/share/doc/python3-gammu
/usr/share/doc/python3-gammu/AUTHORS
/usr/share/doc/python3-gammu/NEWS.rst
/usr/share/doc/python3-gammu/README.rst
/usr/share/doc/python3-gammu/__init__.py
/usr/share/doc/python3-gammu/addcontacts.py
/usr/share/doc/python3-gammu/addfile.py
/usr/share/doc/python3-gammu/async.py
/usr/share/doc/python3-gammu/backup_convertor.py
/usr/share/doc/python3-gammu/batteryinfo.py
/usr/share/doc/python3-gammu/data
/usr/share/doc/python3-gammu/data/cgi.jpg
/usr/share/doc/python3-gammu/debugging.py
/usr/share/doc/python3-gammu/dialvoice.py
/usr/share/doc/python3-gammu/doc-exceptions.py
/usr/share/doc/python3-gammu/dummy_phone.py
/usr/share/doc/python3-gammu/filesystem_test.py
/usr/share/doc/python3-gammu/getallcalendar.py
/usr/share/doc/python3-gammu/getallmemory.py
/usr/share/doc/python3-gammu/getallmemory_nonext.py
/usr/share/doc/python3-gammu/getallsms.py
/usr/share/doc/python3-gammu/getallsms_decode.py
/usr/share/doc/python3-gammu/getalltodo.py
/usr/share/doc/python3-gammu/getdiverts.py
/usr/share/doc/python3-gammu/incoming.py
/usr/share/doc/python3-gammu/listfilesystem.py
/usr/share/doc/python3-gammu/mass_sms.py
/usr/share/doc/python3-gammu/pdu_decoder.py
/usr/share/doc/python3-gammu/read_sms_backup.py
/usr/share/doc/python3-gammu/savesmspercontact.py
/usr/share/doc/python3-gammu/sendlongsms.py
/usr/share/doc/python3-gammu/sendsms.py
/usr/share/doc/python3-gammu/service_numbers.py
/usr/share/doc/python3-gammu/setdiverts.py
/usr/share/doc/python3-gammu/sms_replier.py
/usr/share/doc/python3-gammu/smsbackup.py
/usr/share/doc/python3-gammu/smsd_inject.py
/usr/share/doc/python3-gammu/smsd_state.py
/usr/share/doc/python3-gammu/vcs.py
/usr/share/doc/python3-gammu/worker.py
/usr/share/licenses/python3-gammu
/usr/share/licenses/python3-gammu/COPYING

References

Summary

In this tutorial we learn how to install python3-gammu on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).