fdm command not found

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

Introduction

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

fdm: command not found

or when using sudo you get the following error message

sudo: fdm: command not found

Solutions to fdm: command not found

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

In Ubuntu fdm is provided by fdm package.

fdm is:

fdm is a program to fetch mail and deliver it in various ways depending on a user-supplied ruleset. Mail may be fetched from stdin, IMAP or POP3 servers, or from local maildirs, and filtered based on whether it matches a regexp, its size or age, or the output of a shell command. It can be rewritten by an external process, dropped, left on the server or delivered into maildirs, mboxes, to a file or pipe, or any combination.

fdm is designed to be lightweight but powerful, with a compact but clear configuration syntax. It is primarily designed for single-user uses but may also be configured to deliver mail in a multi-user setup. In this case, it uses privilege separation to minimise the amount of code running as the root user.

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

sudo apt-get -y install fdm

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

You can also use apt command to install fdm.

sudo apt -y install fdm

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

sudo aptitude install fdm

Summary

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