How To Install nmh on CentOS 7
Introduction
In this tutorial we learn how to install nmh
on CentOS 7.
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 CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install nmh.
Install nmh on CentOS 7 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install nmh
using yum
by running the following command:
Install nmh on CentOS 7 Using dnf
If you don’t have dnf installed you can install DNF on CentOS 7 first.
Update yum database with dnf
using the following command.
After updating yum database, We can install nmh
using dnf
by running the following command:
How To Uninstall nmh on CentOS 7
To uninstall only the nmh
package we can use the following command:
References
Summary
In this tutorial we learn how to install nmh
on CentOS 7 using yum
and dnf
.