safecat command not found

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

Introduction

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

safecat: command not found

or when using sudo you get the following error message

sudo: safecat: command not found

Solutions to safecat: command not found

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

In Ubuntu safecat is provided by safecat package.

safecat is:

Safecat is a program which implements Daniel Bernstein’s maildir algorithm to copy stdin safely to a file in a specified directory. It can be used to write mail messages to a qmail-style maildir, or to write data to a “spool” directory reliably.

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

sudo apt-get -y install safecat

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

You can also use apt command to install safecat.

sudo apt -y install safecat

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

sudo aptitude install safecat

Summary

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