How To Install nmh on Fedora 36

In this tutorial we learn how to install nmh in Fedora 36. nmh is A capable MIME-email-handling system with a command-line interface

Introduction

In this tutorial we learn how to install nmh on Fedora 36.

What is nmh

nmh is a collection of single-purpose programs that send, receive, show, search, and otherwise manipulate emails, including MIME. They combine well with other Unix programs, easing the development of custom shorthand commands as shell scripts. Optional GUI interfaces are provided by the external xmh and exmh projects. nmh is a descendant of the RAND MH, Mail Handler, project.

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

Install nmh on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install nmh

Install nmh on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install nmh

How To Uninstall nmh on Fedora 36

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

sudo dnf remove nmh

nmh Package Contents on Fedora 36

/etc/nmh
/etc/nmh/MailAliases
/etc/nmh/bash_completion_nmh
/etc/nmh/components
/etc/nmh/digestcomps
/etc/nmh/distcomps
/etc/nmh/forwcomps
/etc/nmh/mhical.12hour
/etc/nmh/mhical.24hour
/etc/nmh/mhl.body
/etc/nmh/mhl.digest
/etc/nmh/mhl.format
/etc/nmh/mhl.forward
/etc/nmh/mhl.headers
/etc/nmh/mhl.reply
/etc/nmh/mhl.replywithoutbody
/etc/nmh/mhn.defaults
/etc/nmh/mhshow.marker
/etc/nmh/mts.conf
/etc/nmh/rcvdistcomps
/etc/nmh/rcvdistcomps.outbox
/etc/nmh/replcomps
/etc/nmh/replgroupcomps
/etc/nmh/rmmproc.messageid
/etc/nmh/scan.MMDDYY
/etc/nmh/scan.YYYYMMDD
/etc/nmh/scan.curses
/etc/nmh/scan.default
/etc/nmh/scan.highlighted
/etc/nmh/scan.mailx
/etc/nmh/scan.nomime
/etc/nmh/scan.size
/etc/nmh/scan.time
/etc/nmh/scan.timely
/etc/nmh/scan.unseen
/usr/bin/ali
/usr/bin/anno
/usr/bin/burst
/usr/bin/comp
/usr/bin/dist
/usr/bin/flist
/usr/bin/flists
/usr/bin/fmttest
/usr/bin/fnext
/usr/bin/folder
/usr/bin/folders
/usr/bin/forw
/usr/bin/fprev
/usr/bin/inc
/usr/bin/install-mh
/usr/bin/mark
/usr/bin/mhbuild
/usr/bin/mhfixmsg
/usr/bin/mhical
/usr/bin/mhlist
/usr/bin/mhlogin
/usr/bin/mhmail
/usr/bin/mhn
/usr/bin/mhparam
/usr/bin/mhpath
/usr/bin/mhshow
/usr/bin/mhstore
/usr/bin/msgchk
/usr/bin/new
/usr/bin/next
/usr/bin/packf
/usr/bin/pick
/usr/bin/prev
/usr/bin/prompter
/usr/bin/refile
/usr/bin/repl
/usr/bin/rmf
/usr/bin/rmm
/usr/bin/scan
/usr/bin/send
/usr/bin/sendfiles
/usr/bin/show
/usr/bin/sortm
/usr/bin/unseen
/usr/bin/whatnow
/usr/bin/whom
/usr/lib/.build-id
/usr/lib/.build-id/09
/usr/lib/.build-id/09/9b215d40d700b0fa1cc2899efd671fbeec5845
/usr/lib/.build-id/0b
/usr/lib/.build-id/0b/27d8a32dcd58b9cbd12ec8930c09471b9441eb
/usr/lib/.build-id/0b/e1ea3b60bd53cfb4fa0888912335c81c6fdfb9
/usr/lib/.build-id/12
/usr/lib/.build-id/12/ab9adebf28554a4ea5ffcaf01bbebfeff21d51
/usr/lib/.build-id/12/ab9adebf28554a4ea5ffcaf01bbebfeff21d51.1
/usr/lib/.build-id/18
/usr/lib/.build-id/18/9329e730875a43fadab7189ccd3651e942ba10
/usr/lib/.build-id/1a
/usr/lib/.build-id/1a/6f5c54b5f1b119cbd24ab7594016c630fb7899
/usr/lib/.build-id/25
/usr/lib/.build-id/25/aecf1841111ef82b65d9404d5c9c871495920a
/usr/lib/.build-id/31
/usr/lib/.build-id/31/2598c904304f201a58ebf7c500d68e734dd9e2
/usr/lib/.build-id/31/96fed73efc3cfafc44a02924895a3bb1d8daaf
/usr/lib/.build-id/32
/usr/lib/.build-id/32/b0547da005dbb3be4a99b1e85ef7cd0e5fc0ef
/usr/lib/.build-id/34
/usr/lib/.build-id/34/a87db460915a9d492ada36d9006dd789c5dcc5
/usr/lib/.build-id/36
/usr/lib/.build-id/36/0136d3f6fabdf7265fbcb3bd516a168c7fd14e
/usr/lib/.build-id/36/e306e4aad1ca112b20254fbf1e4e64b0f1ba2d
/usr/lib/.build-id/3d
/usr/lib/.build-id/3d/2e09bf96c7f3de02584035ec0b015a0b1d30ab
/usr/lib/.build-id/3d/c69de5a2e46843d6d3eedf580ea209450a5409
/usr/lib/.build-id/42
/usr/lib/.build-id/42/63942ecaed15834ef3272937b4bc49e9df026d
/usr/lib/.build-id/46
/usr/lib/.build-id/46/c46e7028f0b5f08cc1e08a4d9c0acdb4f1479e
/usr/lib/.build-id/4e
/usr/lib/.build-id/4e/6ff84f8f7318a78bb0264e7d0339a8442b9714
/usr/lib/.build-id/51
/usr/lib/.build-id/51/4bd9fb45cd3d7e7b9f04cba713d1b0c8eadb7a
/usr/lib/.build-id/54
/usr/lib/.build-id/54/cd974855ad959bfefde840980078a0f4958a72
/usr/lib/.build-id/64
/usr/lib/.build-id/64/6f6b9ed2b76c35421c05936dc9dbe7607fbb89
/usr/lib/.build-id/68
/usr/lib/.build-id/68/bb6fdb5eb9c03aa0a4f371afb79c196183c529
/usr/lib/.build-id/6a
/usr/lib/.build-id/6a/bbe0229c1df252ea3444e4d77e06da569ce813
/usr/lib/.build-id/6b
/usr/lib/.build-id/6b/c73c6909f0bbca6e261daf32588b18d8b0f041
/usr/lib/.build-id/6d
/usr/lib/.build-id/6d/5cee9c24d4536fc4ab363b05ba4e9fd22890ab
/usr/lib/.build-id/70
/usr/lib/.build-id/70/af02faea4f002638d753aaf3f24b661333cb3b
/usr/lib/.build-id/8e
/usr/lib/.build-id/8e/656c8d72e73612a1b36529bf4c30639b69fdde
/usr/lib/.build-id/8e/7e298c770f155044efe8edb5917e13805d07f2
/usr/lib/.build-id/92
/usr/lib/.build-id/92/05fec3c100b2e7368b611c8abb710d7cea7b1d
/usr/lib/.build-id/95
/usr/lib/.build-id/95/d436c84def1a033fa833ac6cd856a5ec76cba3
/usr/lib/.build-id/95/d436c84def1a033fa833ac6cd856a5ec76cba3.1
/usr/lib/.build-id/95/d436c84def1a033fa833ac6cd856a5ec76cba3.2
/usr/lib/.build-id/95/d436c84def1a033fa833ac6cd856a5ec76cba3.3
/usr/lib/.build-id/9f
/usr/lib/.build-id/9f/41ce58b2ecaf6822bc77ed1a4d393328cc1d9d
/usr/lib/.build-id/a5
/usr/lib/.build-id/a5/00e983b3f1cfca870d56fe0be75d494ec5ad46
/usr/lib/.build-id/ad
/usr/lib/.build-id/ad/2052f8e4d5c562e1413fcfe46d078914789dae
/usr/lib/.build-id/b8
/usr/lib/.build-id/b8/3227db358209d31653e481956ebb73c2d90c44
/usr/lib/.build-id/bb
/usr/lib/.build-id/bb/6fbeb5d6e32512f995c4ac01f8d297b50f798c
/usr/lib/.build-id/bc
/usr/lib/.build-id/bc/1b9c6bb02448ee4c3826efd6b432ed83e1e306
/usr/lib/.build-id/d2
/usr/lib/.build-id/d2/918e122b0b4ae2bb128603d7853a807c83afaf
/usr/lib/.build-id/d2/918e122b0b4ae2bb128603d7853a807c83afaf.1
/usr/lib/.build-id/d2/918e122b0b4ae2bb128603d7853a807c83afaf.2
/usr/lib/.build-id/d3
/usr/lib/.build-id/d3/575ad442cb80652df123653902b765d67039be
/usr/lib/.build-id/d7
/usr/lib/.build-id/d7/7f3ff79eda6d59f3ce664723201772dbf04ea1
/usr/lib/.build-id/dc
/usr/lib/.build-id/dc/69ec43c03b160e46e3f5b70bce98754b5a3cb8
/usr/lib/.build-id/df
/usr/lib/.build-id/df/b094227f4ef06faed5c273959434b861a843ff
/usr/lib/.build-id/e1
/usr/lib/.build-id/e1/3d6e0477c15228f09d19036caec65736b5eb3f
/usr/lib/.build-id/e7
/usr/lib/.build-id/e7/c225fe7d79f602c4977add8958b6e65dedb1e4
/usr/lib/.build-id/e8
/usr/lib/.build-id/e8/2505196aa6473069e9171149784641b9d91f56
/usr/lib/.build-id/e8/2505196aa6473069e9171149784641b9d91f56.1
/usr/lib/.build-id/e8/d1096c879a40939567a416f6cd11fad7c9f81e
/usr/lib/.build-id/f2
/usr/lib/.build-id/f2/94df88b6a85d232dd14ffe6d3277ccd1caaabd
/usr/lib/.build-id/f3
/usr/lib/.build-id/f3/ad73035e6a4ac0ac92e2da7b54cfa7d8902ea1
/usr/lib/.build-id/f4
/usr/lib/.build-id/f4/5ec26ea4e487a28d97fa507cc585264b37e027
/usr/lib/.build-id/f9
/usr/lib/.build-id/f9/b5d17398482361e4bd2bca7025e7d184175b4c
/usr/libexec/nmh
/usr/libexec/nmh/ap
/usr/libexec/nmh/dp
/usr/libexec/nmh/fmtdump
/usr/libexec/nmh/mhl
/usr/libexec/nmh/mkstemp
/usr/libexec/nmh/post
/usr/libexec/nmh/rcvdist
/usr/libexec/nmh/rcvpack
/usr/libexec/nmh/rcvstore
/usr/libexec/nmh/rcvtty
/usr/libexec/nmh/slocal
/usr/libexec/nmh/spost
/usr/libexec/nmh/viamail
/usr/share/doc/nmh/COMPLETION-TCSH
/usr/share/doc/nmh/COMPLETION-ZSH
/usr/share/doc/nmh/COPYRIGHT
/usr/share/doc/nmh/DIFFERENCES
/usr/share/doc/nmh/FAQ
/usr/share/doc/nmh/INSTALL
/usr/share/doc/nmh/MAIL.FILTERING
/usr/share/doc/nmh/MAILING-LISTS
/usr/share/doc/nmh/NEWS
/usr/share/doc/nmh/README
/usr/share/doc/nmh/README-ATTACHMENTS
/usr/share/doc/nmh/README-HOOKS
/usr/share/doc/nmh/README-components
/usr/share/doc/nmh/README.SASL
/usr/share/doc/nmh/README.about
/usr/share/doc/nmh/README.developers
/usr/share/doc/nmh/README.manpages
/usr/share/doc/nmh/TODO
/usr/share/doc/nmh/VERSION
/usr/share/doc/nmh/contrib
/usr/share/doc/nmh/contrib/localpostproc
/usr/share/doc/nmh/contrib/ml
/usr/share/doc/nmh/contrib/replaliases
/usr/share/doc/nmh/contrib/replyfilter
/usr/share/doc/nmh/contrib/vpick
/usr/share/man/man1/ali.1.gz
/usr/share/man/man1/anno.1.gz
/usr/share/man/man1/burst.1.gz
/usr/share/man/man1/comp.1.gz
/usr/share/man/man1/dist.1.gz
/usr/share/man/man1/flist.1.gz
/usr/share/man/man1/flists.1.gz
/usr/share/man/man1/fmttest.1.gz
/usr/share/man/man1/fnext.1.gz
/usr/share/man/man1/folder.1.gz
/usr/share/man/man1/folders.1.gz
/usr/share/man/man1/forw.1.gz
/usr/share/man/man1/fprev.1.gz
/usr/share/man/man1/inc.1.gz
/usr/share/man/man1/install-mh.1.gz
/usr/share/man/man1/mark.1.gz
/usr/share/man/man1/mh-mkstemp.1.gz
/usr/share/man/man1/mhbuild.1.gz
/usr/share/man/man1/mhfixmsg.1.gz
/usr/share/man/man1/mhical.1.gz
/usr/share/man/man1/mhl.1.gz
/usr/share/man/man1/mhlist.1.gz
/usr/share/man/man1/mhlogin.1.gz
/usr/share/man/man1/mhmail.1.gz
/usr/share/man/man1/mhn.1.gz
/usr/share/man/man1/mhparam.1.gz
/usr/share/man/man1/mhpath.1.gz
/usr/share/man/man1/mhshow.1.gz
/usr/share/man/man1/mhstore.1.gz
/usr/share/man/man1/msgchk.1.gz
/usr/share/man/man1/new.1.gz
/usr/share/man/man1/next.1.gz
/usr/share/man/man1/packf.1.gz
/usr/share/man/man1/pick.1.gz
/usr/share/man/man1/prev.1.gz
/usr/share/man/man1/prompter.1.gz
/usr/share/man/man1/rcvdist.1.gz
/usr/share/man/man1/rcvpack.1.gz
/usr/share/man/man1/rcvstore.1.gz
/usr/share/man/man1/rcvtty.1.gz
/usr/share/man/man1/refile.1.gz
/usr/share/man/man1/repl.1.gz
/usr/share/man/man1/rmf.1.gz
/usr/share/man/man1/rmm.1.gz
/usr/share/man/man1/scan.1.gz
/usr/share/man/man1/send.1.gz
/usr/share/man/man1/sendfiles.1.gz
/usr/share/man/man1/show.1.gz
/usr/share/man/man1/slocal.1.gz
/usr/share/man/man1/sortm.1.gz
/usr/share/man/man1/unseen.1.gz
/usr/share/man/man1/whatnow.1.gz
/usr/share/man/man1/whom.1.gz
/usr/share/man/man5/mh-alias.5.gz
/usr/share/man/man5/mh-draft.5.gz
/usr/share/man/man5/mh-folders.5.gz
/usr/share/man/man5/mh-format.5.gz
/usr/share/man/man5/mh-mail.5.gz
/usr/share/man/man5/mh-profile.5.gz
/usr/share/man/man5/mh-sequence.5.gz
/usr/share/man/man5/mh-tailor.5.gz
/usr/share/man/man5/mh_profile.5.gz
/usr/share/man/man5/mts.conf.5.gz
/usr/share/man/man7/MH.7.gz
/usr/share/man/man7/mh-chart.7.gz
/usr/share/man/man7/mh-mime.7.gz
/usr/share/man/man7/nmh.7.gz
/usr/share/man/man8/ap.8.gz
/usr/share/man/man8/dp.8.gz
/usr/share/man/man8/fmtdump.8.gz
/usr/share/man/man8/post.8.gz

References

Summary

In this tutorial we learn how to install nmh on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).