How To Install gammu on Fedora 34
Introduction
In this tutorial we learn how to install gammu
on Fedora 34.
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 34. In this tutorial we discuss both methods but you only need to choose one of method to install gammu.
Install gammu 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 gammu
using dnf
by running the following command:
sudo dnf -y install gammu
Install gammu 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 gammu
using yum
by running the following command:
sudo yum -y install gammu
How To Uninstall gammu on Fedora 34
To uninstall only the gammu
package we can use the following command:
sudo dnf remove gammu
gammu Package Contents on Fedora 34
/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/84
/usr/lib/.build-id/84/3226172a699b42317f14fe8d87e30aca388c28
/usr/lib/.build-id/97
/usr/lib/.build-id/97/04bd4c50eadc60581a6f9ccb10330d28f89cc4
/usr/lib/.build-id/b8
/usr/lib/.build-id/b8/def687a9f6762b49e9150a029afdd3329df0c1
/usr/lib/.build-id/dc
/usr/lib/.build-id/dc/96ed5134db788cb867d7cc2b273be5520cc2f6
/usr/lib/.build-id/f7
/usr/lib/.build-id/f7/75fec082ba9d1cd6bf070eddfb0ea231e59079
/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 34 using yum and dnf.