How To Install notmuch on Fedora 34

notmuch is System for indexing, searching, and tagging email System for indexing, searching, and tagging email

Introduction

In this tutorial we learn how to install notmuch on Fedora 34.

What is notmuch

Fast system for indexing, searching, and tagging email. Even if you receive 12000 messages per month or have on the order of millions of messages that you’ve been saving for decades, Notmuch will be able to quickly search all of it. Notmuch is not much of an email program. It doesn’t receive messages (no POP or IMAP support). It doesn’t send messages (no mail composer, no network code at all). And for what it does do (email search) that work is provided by an external library, Xapian. So if Notmuch provides no user interface and Xapian does all the heavy lifting, then what’s left here? Not much. notmuch 0.32.2 1.fc34 x86_64 276 k notmuch-0.32.2-1.fc34.src.rpm updates System for indexing, searching, and tagging email https GPLv3+ Fast system for indexing, searching, and tagging email. Even if you receive 12000 messages per month or have on the order of millions of messages that you’ve been saving for decades, Notmuch will be able to quickly search all of it. Notmuch is not much of an email program. It doesn’t receive messages (no POP or IMAP support). It doesn’t send messages (no mail composer, no network code at all). And for what it does do (email search) that work is provided by an external library, Xapian. So if Notmuch provides no user interface and Xapian does all the heavy lifting, then what’s left here? Not much.

We can use yum or dnf to install notmuch on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install notmuch.

Install notmuch on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install notmuch using dnf by running the following command:

sudo dnf -y install notmuch

Install notmuch on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install notmuch using yum by running the following command:

sudo yum -y install notmuch

How To Uninstall notmuch on Fedora 34

To uninstall only the notmuch package we can use the following command:

sudo dnf remove notmuch

notmuch Package Contents on Fedora 34

/usr/bin/notmuch
/usr/lib/.build-id
/usr/lib/.build-id/1a
/usr/lib/.build-id/1a/df4354e184811585c75cb2a6f1a5374adda5e8
/usr/lib/.build-id/34
/usr/lib/.build-id/34/04e1b795f2b1f21586c3472534424813756878
/usr/lib/libnotmuch.so.5
/usr/lib/libnotmuch.so.5.3.0
/usr/share/bash-completion/completions/notmuch
/usr/share/doc/notmuch
/usr/share/doc/notmuch/AUTHORS
/usr/share/doc/notmuch/COPYING
/usr/share/doc/notmuch/COPYING-GPL-3
/usr/share/doc/notmuch/README
/usr/share/info/notmuch-address.info.gz
/usr/share/info/notmuch-compact.info.gz
/usr/share/info/notmuch-config.info.gz
/usr/share/info/notmuch-count.info.gz
/usr/share/info/notmuch-dump.info.gz
/usr/share/info/notmuch-emacs-mua.info.gz
/usr/share/info/notmuch-emacs.info.gz
/usr/share/info/notmuch-hooks.info.gz
/usr/share/info/notmuch-insert.info.gz
/usr/share/info/notmuch-new.info.gz
/usr/share/info/notmuch-properties.info.gz
/usr/share/info/notmuch-reindex.info.gz
/usr/share/info/notmuch-reply.info.gz
/usr/share/info/notmuch-restore.info.gz
/usr/share/info/notmuch-search-terms.info.gz
/usr/share/info/notmuch-search.info.gz
/usr/share/info/notmuch-show.info.gz
/usr/share/info/notmuch-tag.info.gz
/usr/share/info/notmuch.info.gz
/usr/share/man/man1/notmuch-address.1.gz
/usr/share/man/man1/notmuch-compact.1.gz
/usr/share/man/man1/notmuch-config.1.gz
/usr/share/man/man1/notmuch-count.1.gz
/usr/share/man/man1/notmuch-dump.1.gz
/usr/share/man/man1/notmuch-insert.1.gz
/usr/share/man/man1/notmuch-new.1.gz
/usr/share/man/man1/notmuch-reindex.1.gz
/usr/share/man/man1/notmuch-reply.1.gz
/usr/share/man/man1/notmuch-restore.1.gz
/usr/share/man/man1/notmuch-search.1.gz
/usr/share/man/man1/notmuch-setup.1.gz
/usr/share/man/man1/notmuch-show.1.gz
/usr/share/man/man1/notmuch-tag.1.gz
/usr/share/man/man1/notmuch.1.gz
/usr/share/man/man5/notmuch-hooks.5.gz
/usr/share/man/man7/notmuch-properties.7.gz
/usr/share/man/man7/notmuch-search-terms.7.gz
/usr/share/zsh/site-functions/_email-notmuch
/usr/share/zsh/site-functions/_notmuch
/usr/bin/notmuch
/usr/lib/.build-id
/usr/lib/.build-id/1e
/usr/lib/.build-id/1e/8f51f5ec0ea7fa79c3ad67d74306687484c08d
/usr/lib/.build-id/5c
/usr/lib/.build-id/5c/ddda49a13ad66cbcae02107eeb0f03900ed6cd
/usr/lib/libnotmuch.so.5
/usr/lib/libnotmuch.so.5.3.0
/usr/share/bash-completion/completions/notmuch
/usr/share/doc/notmuch
/usr/share/doc/notmuch/AUTHORS
/usr/share/doc/notmuch/COPYING
/usr/share/doc/notmuch/COPYING-GPL-3
/usr/share/doc/notmuch/README
/usr/share/info/notmuch-address.info.gz
/usr/share/info/notmuch-compact.info.gz
/usr/share/info/notmuch-config.info.gz
/usr/share/info/notmuch-count.info.gz
/usr/share/info/notmuch-dump.info.gz
/usr/share/info/notmuch-emacs-mua.info.gz
/usr/share/info/notmuch-emacs.info.gz
/usr/share/info/notmuch-hooks.info.gz
/usr/share/info/notmuch-insert.info.gz
/usr/share/info/notmuch-new.info.gz
/usr/share/info/notmuch-properties.info.gz
/usr/share/info/notmuch-reindex.info.gz
/usr/share/info/notmuch-reply.info.gz
/usr/share/info/notmuch-restore.info.gz
/usr/share/info/notmuch-search-terms.info.gz
/usr/share/info/notmuch-search.info.gz
/usr/share/info/notmuch-show.info.gz
/usr/share/info/notmuch-tag.info.gz
/usr/share/info/notmuch.info.gz
/usr/share/man/man1/notmuch-address.1.gz
/usr/share/man/man1/notmuch-compact.1.gz
/usr/share/man/man1/notmuch-config.1.gz
/usr/share/man/man1/notmuch-count.1.gz
/usr/share/man/man1/notmuch-dump.1.gz
/usr/share/man/man1/notmuch-insert.1.gz
/usr/share/man/man1/notmuch-new.1.gz
/usr/share/man/man1/notmuch-reindex.1.gz
/usr/share/man/man1/notmuch-reply.1.gz
/usr/share/man/man1/notmuch-restore.1.gz
/usr/share/man/man1/notmuch-search.1.gz
/usr/share/man/man1/notmuch-setup.1.gz
/usr/share/man/man1/notmuch-show.1.gz
/usr/share/man/man1/notmuch-tag.1.gz
/usr/share/man/man1/notmuch.1.gz
/usr/share/man/man5/notmuch-hooks.5.gz
/usr/share/man/man7/notmuch-properties.7.gz
/usr/share/man/man7/notmuch-search-terms.7.gz
/usr/share/zsh/site-functions/_email-notmuch
/usr/share/zsh/site-functions/_notmuch
/usr/bin/notmuch
/usr/lib/.build-id
/usr/lib/.build-id/2a
/usr/lib/.build-id/2a/7658dcacdf19ec7ba9aaed8ed29041ce1ff20c
/usr/lib/.build-id/d7
/usr/lib/.build-id/d7/766999e2cf75dc1dc8d07b4f38cc3e8873deee
/usr/lib64/libnotmuch.so.5
/usr/lib64/libnotmuch.so.5.3.0
/usr/share/bash-completion/completions/notmuch
/usr/share/doc/notmuch
/usr/share/doc/notmuch/AUTHORS
/usr/share/doc/notmuch/COPYING
/usr/share/doc/notmuch/COPYING-GPL-3
/usr/share/doc/notmuch/README
/usr/share/info/notmuch-address.info.gz
/usr/share/info/notmuch-compact.info.gz
/usr/share/info/notmuch-config.info.gz
/usr/share/info/notmuch-count.info.gz
/usr/share/info/notmuch-dump.info.gz
/usr/share/info/notmuch-emacs-mua.info.gz
/usr/share/info/notmuch-emacs.info.gz
/usr/share/info/notmuch-hooks.info.gz
/usr/share/info/notmuch-insert.info.gz
/usr/share/info/notmuch-new.info.gz
/usr/share/info/notmuch-properties.info.gz
/usr/share/info/notmuch-reindex.info.gz
/usr/share/info/notmuch-reply.info.gz
/usr/share/info/notmuch-restore.info.gz
/usr/share/info/notmuch-search-terms.info.gz
/usr/share/info/notmuch-search.info.gz
/usr/share/info/notmuch-show.info.gz
/usr/share/info/notmuch-tag.info.gz
/usr/share/info/notmuch.info.gz
/usr/share/man/man1/notmuch-address.1.gz
/usr/share/man/man1/notmuch-compact.1.gz
/usr/share/man/man1/notmuch-config.1.gz
/usr/share/man/man1/notmuch-count.1.gz
/usr/share/man/man1/notmuch-dump.1.gz
/usr/share/man/man1/notmuch-insert.1.gz
/usr/share/man/man1/notmuch-new.1.gz
/usr/share/man/man1/notmuch-reindex.1.gz
/usr/share/man/man1/notmuch-reply.1.gz
/usr/share/man/man1/notmuch-restore.1.gz
/usr/share/man/man1/notmuch-search.1.gz
/usr/share/man/man1/notmuch-setup.1.gz
/usr/share/man/man1/notmuch-show.1.gz
/usr/share/man/man1/notmuch-tag.1.gz
/usr/share/man/man1/notmuch.1.gz
/usr/share/man/man5/notmuch-hooks.5.gz
/usr/share/man/man7/notmuch-properties.7.gz
/usr/share/man/man7/notmuch-search-terms.7.gz
/usr/share/zsh/site-functions/_email-notmuch
/usr/share/zsh/site-functions/_notmuch
/usr/bin/notmuch
/usr/lib/.build-id
/usr/lib/.build-id/e5
/usr/lib/.build-id/e5/16efd0894b7e81e0892103c9d420ab0f1c192d
/usr/lib/.build-id/e9
/usr/lib/.build-id/e9/d374332c26251927f13d6d52416bc8d25da38c
/usr/lib64/libnotmuch.so.5
/usr/lib64/libnotmuch.so.5.3.0
/usr/share/bash-completion/completions/notmuch
/usr/share/doc/notmuch
/usr/share/doc/notmuch/AUTHORS
/usr/share/doc/notmuch/COPYING
/usr/share/doc/notmuch/COPYING-GPL-3
/usr/share/doc/notmuch/README
/usr/share/info/notmuch-address.info.gz
/usr/share/info/notmuch-compact.info.gz
/usr/share/info/notmuch-config.info.gz
/usr/share/info/notmuch-count.info.gz
/usr/share/info/notmuch-dump.info.gz
/usr/share/info/notmuch-emacs-mua.info.gz
/usr/share/info/notmuch-emacs.info.gz
/usr/share/info/notmuch-hooks.info.gz
/usr/share/info/notmuch-insert.info.gz
/usr/share/info/notmuch-new.info.gz
/usr/share/info/notmuch-properties.info.gz
/usr/share/info/notmuch-reindex.info.gz
/usr/share/info/notmuch-reply.info.gz
/usr/share/info/notmuch-restore.info.gz
/usr/share/info/notmuch-search-terms.info.gz
/usr/share/info/notmuch-search.info.gz
/usr/share/info/notmuch-show.info.gz
/usr/share/info/notmuch-tag.info.gz
/usr/share/info/notmuch.info.gz
/usr/share/man/man1/notmuch-address.1.gz
/usr/share/man/man1/notmuch-compact.1.gz
/usr/share/man/man1/notmuch-config.1.gz
/usr/share/man/man1/notmuch-count.1.gz
/usr/share/man/man1/notmuch-dump.1.gz
/usr/share/man/man1/notmuch-insert.1.gz
/usr/share/man/man1/notmuch-new.1.gz
/usr/share/man/man1/notmuch-reindex.1.gz
/usr/share/man/man1/notmuch-reply.1.gz
/usr/share/man/man1/notmuch-restore.1.gz
/usr/share/man/man1/notmuch-search.1.gz
/usr/share/man/man1/notmuch-setup.1.gz
/usr/share/man/man1/notmuch-show.1.gz
/usr/share/man/man1/notmuch-tag.1.gz
/usr/share/man/man1/notmuch.1.gz
/usr/share/man/man5/notmuch-hooks.5.gz
/usr/share/man/man7/notmuch-properties.7.gz
/usr/share/man/man7/notmuch-search-terms.7.gz
/usr/share/zsh/site-functions/_email-notmuch
/usr/share/zsh/site-functions/_notmuch

References

Summary

In this tutorial we learn how to install notmuch on Fedora 34 using yum and dnf.