mu command not found

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

Introduction

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

mu: command not found

or when using sudo you get the following error message

sudo: mu: command not found

Solutions to mu: command not found

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

In Ubuntu mu is provided by maildir-utils package.

maildir-utils is:

mu is a set of utilities to deal with Maildirs, specifically, indexing and searching.

  • mu index - recursively scans a collection of email messages, and stores information found in a database.
  • mu find - searches for messages based on some search criteria.
  • mu mkmdir - creates a new Maildir.

mu uses libgmime to parse the message, and Xapian to store the message data.

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

sudo apt-get -y install maildir-utils

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

You can also use apt command to install maildir-utils.

sudo apt -y install maildir-utils

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

sudo aptitude install maildir-utils

Summary

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