How To Install gammu on CentOS 7
Introduction
In this tutorial we learn how to install gammu
on CentOS 7.
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 CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install gammu.
Install gammu on CentOS 7 Using yum
Update yum database with yum
using the following command.
sudo yum makecache
After updating yum database, We can install gammu
using yum
by running the following command:
sudo yum -y install gammu
Install gammu on CentOS 7 Using dnf
If you don’t have dnf installed you can install DNF on CentOS 7 first.
Update yum database with dnf
using the following command.
sudo dnf makecache
After updating yum database, We can install gammu
using dnf
by running the following command:
sudo dnf -y install gammu
How To Uninstall gammu on CentOS 7
To uninstall only the gammu
package we can use the following command:
sudo dnf remove gammu
References
Summary
In this tutorial we learn how to install gammu
on CentOS 7 using yum
and dnf
.