fax command not found

In this troubleshooting guide we learn how to fix fax command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

fax: command not found

or when using sudo you get the following error message

sudo: fax: command not found

Solutions to fax: command not found

How To Fix fax: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu fax is provided by efax package.

efax is:

efax is a small ANSI C/POSIX program that provides the data transport function for fax applications using any Class 1 or Class 2 fax modem Another program, efix, converts between fax, text, bitmap and grayscale formats. fax, a shell script, provides a simple user interface to the efax and efix programs. It allows you to send text or Postscript files as faxes and receive, print or preview received faxes.

The ghostscript package is needed to fax Postscript files, and an image viewing program like xloadimage is needed to view incoming faxes.

Note that you probably have to adapt /etc/efax.rc to your needs.

To fix this problem, we can install more using the command below.

sudo apt-get -y install efax

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install efax.

sudo apt -y install efax

Or if you have aptitude installed you can use the following command.

sudo aptitude install efax

Summary

In this tutorial we learn how to fix fax command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.