logo NeoMutt for CentOS


CentOS / RHEL Support
6 or before Unsupported, please upgrade
7 Supported
8 Supported
9 (stream) Supported

The NeoMutt RPMs are published in a YUM repo. This is a public repository run by Richard Russon (@flatcap) <rich@flatcap.org>

They provide NeoMutt for both CentOS and RedHat Enterprise Linux.


The instructions work for all versions of CentOS / RHEL. The commands should be run as root, or prefixed with sudo.

First download the repo file for your OS:

Now, copy it into place and install:

cp flatcap-neomutt-epel-8.repo /etc/yum.repos.d/
yum install neomutt

You will see a warning, which you can say ‘y’ to.

Retrieving key from https://copr-be.cloud.fedoraproject.org/results/flatcap/neomutt/pubkey.gpg
Importing GPG key 0xFACB00B1:
 Userid: "flatcap_NeoMutt (None) <flatcap#NeoMutt@copr.fedorahosted.org>"
 Fingerprint: 654d 24a3 6315 9304 787b 8f9b fc43 0e26 facb 00b1
 From  : https://copr-be.cloud.fedoraproject.org/results/flatcap/neomutt/pubkey.gpg
Is this ok [y/N]: y

Well done! You’ve just installed NeoMutt.


Once NeoMutt is installed, it will be updated automatically when you perform system updates. You can make that happen sooner by running:

yum update


To completely remove NeoMutt from your system:

yum remove neomutt
rm -f /etc/yum.repos.d/flatcap-neomutt-epel-*.repo

If, instead, you would like to downgrade to Mutt:

yum remove neomutt
rm -f /etc/yum.repos.d/flatcap-neomutt-epel-*.repo
yum install mutt

Building from source

These instructions will help you install all the dependencies you’ll need to build NeoMutt from the source code.

  1. The best way to get the latest source code is to use git.
  2. Minimum tools you need to build NeoMutt
  3. Generate the documentation
  4. Advanced features of NeoMutt
  5. Local caching of emails
yum install cyrus-sasl-devel docbook-dtds docbook-style-xsl gcc gdbm-devel
yum install gettext-devel git gnutls-devel gpgme-devel krb5-devel libdb-devel
yum install libidn2-devel libtdb-devel libxslt libzstd-devel lua-devel lz4-devel
yum install make ncurses-devel openssl-devel pcre2-devel slang-devel
yum install sqlite-devel tcl tokyocabinet-devel

Unfortunately, these libraries aren’t available in CentOS / RHEL:

  • notmuch-devel
  • kyotocabinet-devel
  • lmdb-devel

Now you can follow the guide for building NeoMutt.


These instructions will help you install all the dependencies you’ll need to debug NeoMutt.

yum install gdb yum-utils
debuginfo-install bzip2-libs cyrus-sasl-lib glibc gnutls gpgme keyutils-libs
debuginfo-install krb5-libs libcom_err libgcrypt libgpg-error libidn libselinux
debuginfo-install libtasn1 ncurses-libs nss-softokn-freebl tokyocabinet zlib

Now you can follow the guide for debugging NeoMutt.

gdb may suggest installing more debuginfo packages.

Instructions last checked: 2021-12-06 by @flatcap

Search by Algolia