How To Install mgetty on Fedora 34

mgetty is A getty replacement for use with data and fax modems

Introduction

In this tutorial we learn how to install mgetty on Fedora 34.

What is mgetty

The mgetty package contains a “smart” getty which allows logins over a serial line (i.e., through a modem). If you’re using a Class 2 or 2.0 modem, mgetty can receive faxes. If you also need to send faxes, you’ll need to install the sendfax program. If you’ll be dialing in to your system using a modem, you should install the mgetty package. If you’d like to send faxes using mgetty and your modem, you’ll need to install the mgetty-sendfax program. If you need a viewer for faxes, you’ll also need to install the mgetty-viewfax package.

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

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

sudo dnf -y install mgetty

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

sudo yum -y install mgetty

How To Uninstall mgetty on Fedora 34

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

sudo dnf remove mgetty

mgetty Package Contents on Fedora 34

/etc/logrotate.d/mgetty
/etc/mgetty+sendfax
/etc/mgetty+sendfax/dialin.config
/etc/mgetty+sendfax/login.config
/etc/mgetty+sendfax/mgetty.config
/usr/bin/g32pbm
/usr/bin/g3cat
/usr/lib/.build-id
/usr/lib/.build-id/34
/usr/lib/.build-id/34/3eb42d84a2db34763092e76a87bacd33fc28ec
/usr/lib/.build-id/95
/usr/lib/.build-id/95/92a3862360183ca1f3a6e08aace967477b28a9
/usr/lib/.build-id/e2
/usr/lib/.build-id/e2/38eb0744b4cf6d444ffeac83f051c313520bd1
/usr/lib/.build-id/e4
/usr/lib/.build-id/e4/b210ac1b246550b79a3e0284a06371bac7270d
/usr/lib/systemd/system/[email protected]
/usr/sbin/callback
/usr/sbin/mgetty
/usr/share/doc/mgetty
/usr/share/doc/mgetty/BUGS
/usr/share/doc/mgetty/ChangeLog
/usr/share/doc/mgetty/README.1st
/usr/share/doc/mgetty/Recommend
/usr/share/doc/mgetty/THANKS
/usr/share/doc/mgetty/modems.db
/usr/share/doc/mgetty/samples
/usr/share/doc/mgetty/samples/answer_fax.sh
/usr/share/doc/mgetty/samples/coverpg-pl.ps
/usr/share/doc/mgetty/samples/coverpg.pbm
/usr/share/doc/mgetty/samples/coverpg.ps
/usr/share/doc/mgetty/samples/fax
/usr/share/doc/mgetty/samples/faxmemo
/usr/share/doc/mgetty/samples/faxview.th
/usr/share/doc/mgetty/samples/new_fax.NeXT
/usr/share/doc/mgetty/samples/new_fax.all
/usr/share/doc/mgetty/samples/new_fax.all/INSTALL
/usr/share/doc/mgetty/samples/new_fax.all/README
/usr/share/doc/mgetty/samples/new_fax.all/archive.module
/usr/share/doc/mgetty/samples/new_fax.all/delete.module
/usr/share/doc/mgetty/samples/new_fax.all/fax.module
/usr/share/doc/mgetty/samples/new_fax.all/faxlist
/usr/share/doc/mgetty/samples/new_fax.all/faxlist.dist
/usr/share/doc/mgetty/samples/new_fax.all/list.module
/usr/share/doc/mgetty/samples/new_fax.all/mail.module
/usr/share/doc/mgetty/samples/new_fax.all/new_fax
/usr/share/doc/mgetty/samples/new_fax.all/notify.module
/usr/share/doc/mgetty/samples/new_fax.all/print.module
/usr/share/doc/mgetty/samples/new_fax.all/write.module
/usr/share/doc/mgetty/samples/new_fax.hpa
/usr/share/doc/mgetty/samples/new_fax.lj
/usr/share/doc/mgetty/samples/new_fax.mail
/usr/share/doc/mgetty/samples/new_fax.mime1
/usr/share/doc/mgetty/samples/new_fax.mime3
/usr/share/doc/mgetty/samples/new_fax.mime4
/usr/share/doc/mgetty/samples/new_fax.pbm
/usr/share/doc/mgetty/samples/new_fax.th
/usr/share/doc/mgetty/samples/new_fax.tiff
/usr/share/doc/mgetty/samples/new_fax.tiff.bug_63843
/usr/share/doc/mgetty/samples/new_fax.vacation
/usr/share/doc/mgetty/samples/printfax
/usr/share/doc/mgetty/samples/printfax.ps
/usr/share/info/mgetty.info.gz
/usr/share/licenses/mgetty
/usr/share/licenses/mgetty/COPYING
/usr/share/man/man1/g32pbm.1.gz
/usr/share/man/man1/g3cat.1.gz
/usr/share/man/man4/mgettydefs.4.gz
/usr/share/man/man8/callback.8.gz
/usr/share/man/man8/mgetty.8.gz

References

Summary

In this tutorial we learn how to install mgetty on Fedora 34 using yum and dnf.