How To Install gammu on Fedora 36

In this tutorial we learn how to install gammu in Fedora 36. gammu is Command Line utility to work with mobile phones

Introduction

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

What is gammu

Gammu is command line utility and library to work with mobile phones from many vendors. Support for different models differs, but basic functions should work with majority of them. Program can work with contacts, messages (SMS, EMS and MMS), calendar, todos, filesystem, integrated radio, camera, etc. It also supports daemon mode to send and receive SMSes. Currently supported phones include * Many Nokia models. * Alcatel BE5 (501/701), BF5 (715), BH4 (535/735). * AT capable phones (Siemens, Nokia, Alcatel, IPAQ). * OBEX and IrMC capable phones (Sony-Ericsson, Motorola). * Symbian phones through gnapplet. This package contains Gammu binary as well as some examples.

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

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

sudo dnf -y install gammu

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

sudo yum -y install gammu

How To Uninstall gammu on Fedora 36

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

sudo dnf remove gammu

gammu Package Contents on Fedora 36

/etc/gammu-smsdrc
/usr/bin/gammu
/usr/bin/gammu-config
/usr/bin/gammu-detect
/usr/bin/gammu-smsd
/usr/bin/gammu-smsd-inject
/usr/bin/gammu-smsd-monitor
/usr/bin/jadmaker
/usr/lib/.build-id
/usr/lib/.build-id/02
/usr/lib/.build-id/02/6956c6c6e9cc4d32bb3b72afb9e5ac785acfea
/usr/lib/.build-id/9b
/usr/lib/.build-id/9b/142d21dacfc9fa7d715f2f4b1b4a5f5a82300a
/usr/lib/.build-id/9e
/usr/lib/.build-id/9e/13f89d54e82acaaa00cb9fa3c771f6f1b9c582
/usr/lib/.build-id/b0
/usr/lib/.build-id/b0/b21656002201cb0236a14eb5f796f881bb3c61
/usr/lib/.build-id/e9
/usr/lib/.build-id/e9/d56444137a4a8f1a34b4149712b8af1a77e4dc
/usr/lib/systemd/system/gammu-smsd.service
/usr/lib/udev/rules.d/69-gammu-acl.rules
/usr/share/bash-completion
/usr/share/bash-completion/completions
/usr/share/bash-completion/completions/gammu
/usr/share/doc/gammu/COPYING
/usr/share/doc/gammu/ChangeLog
/usr/share/doc/gammu/README.rst
/usr/share/doc/gammu/examples
/usr/share/doc/gammu/examples/Makefile
/usr/share/doc/gammu/examples/config
/usr/share/doc/gammu/examples/config/gammurc
/usr/share/doc/gammu/examples/config/smsdrc
/usr/share/doc/gammu/examples/custom-config.c
/usr/share/doc/gammu/examples/long-sms.c
/usr/share/doc/gammu/examples/media
/usr/share/doc/gammu/examples/media/aliens.nlm
/usr/share/doc/gammu/examples/media/axelf.txt
/usr/share/doc/gammu/examples/phone-info.c
/usr/share/doc/gammu/examples/php
/usr/share/doc/gammu/examples/php/class_gammu
/usr/share/doc/gammu/examples/php/class_gammu/README
/usr/share/doc/gammu/examples/php/class_gammu/class.gammu.php
/usr/share/doc/gammu/examples/php/class_gammu/class.sms.gammu.php
/usr/share/doc/gammu/examples/php/smsd-mysql-admin
/usr/share/doc/gammu/examples/php/smsd-mysql-admin/admin.php
/usr/share/doc/gammu/examples/php/smsd-mysql-intergammu
/usr/share/doc/gammu/examples/php/smsd-mysql-intergammu/config.php
/usr/share/doc/gammu/examples/php/smsd-mysql-intergammu/funcoes
/usr/share/doc/gammu/examples/php/smsd-mysql-intergammu/funcoes/func.gammu.php
/usr/share/doc/gammu/examples/php/smsd-mysql-intergammu/funcoes/func.sql.php
/usr/share/doc/gammu/examples/php/smsd-mysql-intergammu/index.php
/usr/share/doc/gammu/examples/php/smsd-mysql-intergammu/intergammu.txt
/usr/share/doc/gammu/examples/php/smsd-mysql-intergammu/proc
/usr/share/doc/gammu/examples/php/smsd-mysql-intergammu/proc/admin.php
/usr/share/doc/gammu/examples/php/smsd-mysql-intergammu/proclast.sql
/usr/share/doc/gammu/examples/php/smsd-mysql-linked
/usr/share/doc/gammu/examples/php/smsd-mysql-linked/linked.php
/usr/share/doc/gammu/examples/php/smsd-mysql-linked/linked.sql
/usr/share/doc/gammu/examples/php/smsd-mysql-list
/usr/share/doc/gammu/examples/php/smsd-mysql-list/sms.php
/usr/share/doc/gammu/examples/sms-read.c
/usr/share/doc/gammu/examples/sms-send.c
/usr/share/doc/gammu/examples/smsd.c
/usr/share/doc/gammu/examples/sql
/usr/share/doc/gammu/examples/sql/mysql-legacy.sql
/usr/share/doc/gammu/examples/sql/mysql.sql
/usr/share/doc/gammu/examples/sql/pgsql.sql
/usr/share/doc/gammu/examples/sql/sqlite.sql
/usr/share/gammu
/usr/share/gammu/gammu-s60-remote.sis
/usr/share/gammu/gnapplet.ini
/usr/share/gammu/gnapplet.sis
/usr/share/locale/af/LC_MESSAGES/gammu.mo
/usr/share/locale/ar/LC_MESSAGES/gammu.mo
/usr/share/locale/bg/LC_MESSAGES/gammu.mo
/usr/share/locale/bn/LC_MESSAGES/gammu.mo
/usr/share/locale/ca/LC_MESSAGES/gammu.mo
/usr/share/locale/cs/LC_MESSAGES/gammu.mo
/usr/share/locale/da/LC_MESSAGES/gammu.mo
/usr/share/locale/de/LC_MESSAGES/gammu.mo
/usr/share/locale/el/LC_MESSAGES/gammu.mo
/usr/share/locale/en_GB/LC_MESSAGES/gammu.mo
/usr/share/locale/es/LC_MESSAGES/gammu.mo
/usr/share/locale/et/LC_MESSAGES/gammu.mo
/usr/share/locale/fi/LC_MESSAGES/gammu.mo
/usr/share/locale/fr/LC_MESSAGES/gammu.mo
/usr/share/locale/gl/LC_MESSAGES/gammu.mo
/usr/share/locale/he/LC_MESSAGES/gammu.mo
/usr/share/locale/hu/LC_MESSAGES/gammu.mo
/usr/share/locale/id/LC_MESSAGES/gammu.mo
/usr/share/locale/it/LC_MESSAGES/gammu.mo
/usr/share/locale/ko/LC_MESSAGES/gammu.mo
/usr/share/locale/nb_NO/LC_MESSAGES/gammu.mo
/usr/share/locale/nl/LC_MESSAGES/gammu.mo
/usr/share/locale/pl/LC_MESSAGES/gammu.mo
/usr/share/locale/pt_BR/LC_MESSAGES/gammu.mo
/usr/share/locale/ro/LC_MESSAGES/gammu.mo
/usr/share/locale/ru/LC_MESSAGES/gammu.mo
/usr/share/locale/sk/LC_MESSAGES/gammu.mo
/usr/share/locale/sv/LC_MESSAGES/gammu.mo
/usr/share/locale/sw/LC_MESSAGES/gammu.mo
/usr/share/locale/tr/LC_MESSAGES/gammu.mo
/usr/share/locale/uk/LC_MESSAGES/gammu.mo
/usr/share/locale/zh_CN/LC_MESSAGES/gammu.mo
/usr/share/locale/zh_TW/LC_MESSAGES/gammu.mo
/usr/share/man/man1/gammu-config.1.gz
/usr/share/man/man1/gammu-detect.1.gz
/usr/share/man/man1/gammu-smsd-inject.1.gz
/usr/share/man/man1/gammu-smsd-monitor.1.gz
/usr/share/man/man1/gammu-smsd.1.gz
/usr/share/man/man1/gammu.1.gz
/usr/share/man/man1/jadmaker.1.gz
/usr/share/man/man5/gammu-backup.5.gz
/usr/share/man/man5/gammu-smsbackup.5.gz
/usr/share/man/man5/gammu-smsdrc.5.gz
/usr/share/man/man5/gammurc.5.gz
/usr/share/man/man7/gammu-smsd-dbi.7.gz
/usr/share/man/man7/gammu-smsd-files.7.gz
/usr/share/man/man7/gammu-smsd-mysql.7.gz
/usr/share/man/man7/gammu-smsd-null.7.gz
/usr/share/man/man7/gammu-smsd-odbc.7.gz
/usr/share/man/man7/gammu-smsd-pgsql.7.gz
/usr/share/man/man7/gammu-smsd-run.7.gz
/usr/share/man/man7/gammu-smsd-sql.7.gz
/usr/share/man/man7/gammu-smsd-tables.7.gz

References

Summary

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