How To Install mgetty.x86_64 on Amazon Linux 2

In this tutorial we learn how to install mgetty.x86_64 in Amazon Linux 2. mgetty.x86_64 is A getty replacement for use with data and fax modems

Introduction

In this tutorial we learn how to install mgetty.x86_64 on Amazon Linux 2.

What is mgetty.x86_64

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 to install mgetty.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install mgetty.x86_64.

Install mgetty.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install mgetty.x86_64 using yum by running the following command:

sudo yum -y install mgetty.x86_64

How To Uninstall mgetty.x86_64 on Amazon Linux 2

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

sudo yum remove mgetty.x86_64

mgetty.x86_64 Package Contents on Amazon Linux 2

/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/systemd/system/[email protected]
/usr/sbin/callback
/usr/sbin/mgetty
/usr/share/doc/mgetty-1.1.36
/usr/share/doc/mgetty-1.1.36/BUGS
/usr/share/doc/mgetty-1.1.36/ChangeLog
/usr/share/doc/mgetty-1.1.36/README.1st
/usr/share/doc/mgetty-1.1.36/Recommend
/usr/share/doc/mgetty-1.1.36/THANKS
/usr/share/doc/mgetty-1.1.36/loginv2.txt
/usr/share/doc/mgetty-1.1.36/mgetty.ps
/usr/share/doc/mgetty-1.1.36/modems.db
/usr/share/doc/mgetty-1.1.36/samples
/usr/share/doc/mgetty-1.1.36/samples/answer_fax.sh
/usr/share/doc/mgetty-1.1.36/samples/coverpg-pl.ps
/usr/share/doc/mgetty-1.1.36/samples/coverpg.pbm
/usr/share/doc/mgetty-1.1.36/samples/coverpg.ps
/usr/share/doc/mgetty-1.1.36/samples/fax
/usr/share/doc/mgetty-1.1.36/samples/faxmemo
/usr/share/doc/mgetty-1.1.36/samples/faxview.th
/usr/share/doc/mgetty-1.1.36/samples/new_fax.NeXT
/usr/share/doc/mgetty-1.1.36/samples/new_fax.all
/usr/share/doc/mgetty-1.1.36/samples/new_fax.all/INSTALL
/usr/share/doc/mgetty-1.1.36/samples/new_fax.all/README
/usr/share/doc/mgetty-1.1.36/samples/new_fax.all/archive.module
/usr/share/doc/mgetty-1.1.36/samples/new_fax.all/delete.module
/usr/share/doc/mgetty-1.1.36/samples/new_fax.all/fax.module
/usr/share/doc/mgetty-1.1.36/samples/new_fax.all/faxlist
/usr/share/doc/mgetty-1.1.36/samples/new_fax.all/faxlist.dist
/usr/share/doc/mgetty-1.1.36/samples/new_fax.all/list.module
/usr/share/doc/mgetty-1.1.36/samples/new_fax.all/mail.module
/usr/share/doc/mgetty-1.1.36/samples/new_fax.all/new_fax
/usr/share/doc/mgetty-1.1.36/samples/new_fax.all/notify.module
/usr/share/doc/mgetty-1.1.36/samples/new_fax.all/print.module
/usr/share/doc/mgetty-1.1.36/samples/new_fax.all/write.module
/usr/share/doc/mgetty-1.1.36/samples/new_fax.hpa
/usr/share/doc/mgetty-1.1.36/samples/new_fax.lj
/usr/share/doc/mgetty-1.1.36/samples/new_fax.mail
/usr/share/doc/mgetty-1.1.36/samples/new_fax.mime1
/usr/share/doc/mgetty-1.1.36/samples/new_fax.mime3
/usr/share/doc/mgetty-1.1.36/samples/new_fax.mime4
/usr/share/doc/mgetty-1.1.36/samples/new_fax.pbm
/usr/share/doc/mgetty-1.1.36/samples/new_fax.th
/usr/share/doc/mgetty-1.1.36/samples/new_fax.tiff
/usr/share/doc/mgetty-1.1.36/samples/new_fax.tiff.bug_63843
/usr/share/doc/mgetty-1.1.36/samples/new_fax.vacation
/usr/share/doc/mgetty-1.1.36/samples/printfax
/usr/share/doc/mgetty-1.1.36/samples/printfax.ps
/usr/share/doc/mgetty-1.1.36/scanner.txt
/usr/share/doc/mgetty-1.1.36/secure_tty.txt
/usr/share/doc/mgetty-1.1.36/ttyS-cua.txt
/usr/share/info/mgetty.info.gz
/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.x86_64 on Amazon Linux 2 using yum.