How To Install mgetty-sendfax.x86_64 on Amazon Linux 2

In this tutorial we learn how to install mgetty-sendfax.x86_64 in Amazon Linux 2. mgetty-sendfax.x86_64 is Provides support for sending faxes over a modem

Introduction

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

What is mgetty-sendfax.x86_64

Sendfax is a standalone backend program for sending fax files. The mgetty program (a getty replacement for handling logins over a serial line) plus sendfax will allow you to send faxes through a Class 2 modem. If you’d like to send faxes over a Class 2 modem, you’ll need to install the mgetty-sendfax and the mgetty packages.

We can use yum to install mgetty-sendfax.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-sendfax.x86_64.

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

sudo yum -y install mgetty-sendfax.x86_64

How To Uninstall mgetty-sendfax.x86_64 on Amazon Linux 2

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

sudo yum remove mgetty-sendfax.x86_64

mgetty-sendfax.x86_64 Package Contents on Amazon Linux 2

/etc/logrotate.d/sendfax
/etc/mgetty+sendfax
/etc/mgetty+sendfax/faxheader
/etc/mgetty+sendfax/faxrunq.config
/etc/mgetty+sendfax/faxspool.rules.sample
/etc/mgetty+sendfax/sendfax.config
/usr/bin/ct
/usr/bin/faxq
/usr/bin/faxrm
/usr/bin/faxrunq
/usr/bin/faxspool
/usr/bin/kvg
/usr/bin/newslock
/usr/bin/pbm2g3
/usr/bin/sff2g3
/usr/lib64/mgetty+sendfax
/usr/lib64/mgetty+sendfax/cour25.pbm
/usr/lib64/mgetty+sendfax/cour25n.pbm
/usr/lib64/mgetty+sendfax/faxq-helper
/usr/sbin/faxrunqd
/usr/sbin/sendfax
/usr/share/man/man1/coverpg.1.gz
/usr/share/man/man1/faxq.1.gz
/usr/share/man/man1/faxrm.1.gz
/usr/share/man/man1/faxrunq.1.gz
/usr/share/man/man1/faxspool.1.gz
/usr/share/man/man1/mgetty_fax.1.gz
/usr/share/man/man1/pbm2g3.1.gz
/usr/share/man/man1/sff2g3.1.gz
/usr/share/man/man5/faxqueue.5.gz
/usr/share/man/man8/faxq-helper.8.gz
/usr/share/man/man8/faxrunqd.8.gz
/usr/share/man/man8/sendfax.8.gz
/var/spool/fax
/var/spool/fax/incoming
/var/spool/fax/outgoing

References

Summary

In this tutorial we learn how to install mgetty-sendfax.x86_64 on Amazon Linux 2 using yum.