How To Install gsm-ussd on Fedora 36

In this tutorial we learn how to install gsm-ussd in Fedora 36. gsm-ussd is USSD query tool

Introduction

In this tutorial we learn how to install gsm-ussd on Fedora 36.

What is gsm-ussd

gsm-ussd is a script to send USSD (Unstructured Supplementary Services Data) queries to your broadband provider. USSD queries are “phone numbers” like “*100#”, which will result in a message (NOT a SMS) with your current prepaid account balance. You can use this program to query your own phone number, replenish your prepaid account, query your free minutes left and so on, depending on your GSM provider.

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

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

sudo dnf -y install gsm-ussd

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

sudo yum -y install gsm-ussd

How To Uninstall gsm-ussd on Fedora 36

To uninstall only the gsm-ussd package we can use the following command:

sudo dnf remove gsm-ussd

gsm-ussd Package Contents on Fedora 36

/usr/bin/gsm-ussd
/usr/libexec/gsm-ussd
/usr/libexec/gsm-ussd/bin
/usr/libexec/gsm-ussd/bin/gsm-ussd.pl
/usr/libexec/gsm-ussd/lib
/usr/libexec/gsm-ussd/lib/GSMUSSD
/usr/libexec/gsm-ussd/lib/GSMUSSD/Code.pm
/usr/libexec/gsm-ussd/lib/GSMUSSD/DCS.pm
/usr/libexec/gsm-ussd/lib/GSMUSSD/Lockfile.pm
/usr/libexec/gsm-ussd/lib/GSMUSSD/Loggit.pm
/usr/libexec/gsm-ussd/lib/GSMUSSD/Modem.pm
/usr/libexec/gsm-ussd/lib/GSMUSSD/NetworkErrors.pm
/usr/libexec/gsm-ussd/lib/GSMUSSD/Stty.pm
/usr/libexec/gsm-ussd/lib/GSMUSSD/UssdQuery.pm
/usr/share/doc/gsm-ussd
/usr/share/doc/gsm-ussd/LICENSE
/usr/share/doc/gsm-ussd/README
/usr/share/doc/gsm-ussd/README.de
/usr/share/doc/gsm-ussd/README.en
/usr/share/doc/gsm-ussd/TODO
/usr/share/doc/gsm-ussd/story.txt
/usr/share/doc/gsm-ussd/ussd-sessions.txt
/usr/share/man/de/man1/gsm-ussd.1.gz
/usr/share/man/man1/gsm-ussd.1.gz

References

Summary

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