mutt command not found

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

Introduction

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

mutt: command not found

or when using sudo you get the following error message

sudo: mutt: command not found

Solutions to mutt: command not found

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

In Ubuntu mutt is provided by mutt package.

mutt is:

Mutt is a sophisticated text-based Mail User Agent. Some highlights:

  • MIME support (including RFC1522 encoding/decoding of 8-bit message headers and UTF-8 support).
  • PGP/MIME support (RFC 2015).
  • Advanced IMAP client supporting SSL encryption and SASL authentication.
  • POP3 support.
  • ESMTP support.
  • Message threading (both strict and non-strict).
  • Keybindings are configurable, default keybindings are much like ELM; Mush and PINE-like ones are provided as examples.
  • Handles MMDF, MH and Maildir in addition to regular mbox format.
  • Messages may be (indefinitely) postponed.
  • Colour support.
  • Highly configurable through easy but powerful rc file.
  • Support for compressed mailboxes.
  • An optional Sidebar.

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

sudo apt-get -y install mutt

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

You can also use apt command to install mutt.

sudo apt -y install mutt

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

sudo aptitude install mutt

Summary

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