notmuch-extract-patch command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
notmuch-extract-patch: command not found
or when using sudo you get the following error message
sudo: notmuch-extract-patch: command not found
Solutions to notmuch-extract-patch: command not found
How To Fix notmuch-extract-patch: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu notmuch-extract-patch is provided by mailscripts package.
mailscripts is:
This package provides a collection of scripts for manipulating e-mail stored on Debian systems.
mdmv – safely move messages between maildirs
mbox2maildir – convert an mbox to a maildir using Python’s libraries
notmuch-slurp-debbug – add messages from a Debian bug to notmuch
notmuch-extract-patch – extract a git patch series from notmuch
mbox-extract-patch – extract a git patch series from an mbox
maildir-import-patch – import a git patch series into a maildir
notmuch-import-patch – import a git patch series into notmuch
email-print-mime-structure – tree view of a message’s MIME structure
email-extract-openpgp-certs – extract OpenPGP certificates from a message
imap-dl – download messages from an IMAP mailbox to a maildir
gmi2email – subscribe to gemlogs and read individual Gemini pages by e-mail
To fix this problem, we can install more using the command below.
sudo apt-get -y install mailscripts
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install mailscripts.
sudo apt -y install mailscripts
Or if you have aptitude installed you can use the following command.
sudo aptitude install mailscripts
Summary
In this tutorial we learn how to fix notmuch-extract-patch command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.