How To Install libesmtp on CentOS 7
Introduction
In this tutorial we learn how to install libesmtp
on CentOS 7.
What is libesmtp
LibESMTP is a library to manage posting (or submission of) electronic mail using SMTP to a preconfigured Mail Transport Agent (MTA) such as Exim. It may be used as part of a Mail User Agent (MUA) or another program that must be able to post electronic mail but where mail functionality is not the program’s primary purpose. LibESMTP is a library to manage posting (or submission of) electronic mail using SMTP to a preconfigured Mail Transport Agent (MTA) such as Exim. It may be used as part of a Mail User Agent (MUA) or another program that must be able to post electronic mail but where mail functionality is not the program’s primary purpose.
We can use yum
or dnf
to install libesmtp
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install libesmtp.
Install libesmtp on CentOS 7 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install libesmtp
using yum
by running the following command:
Install libesmtp 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 libesmtp
using dnf
by running the following command:
How To Uninstall libesmtp on CentOS 7
To uninstall only the libesmtp
package we can use the following command:
References
Summary
In this tutorial we learn how to install libesmtp
on CentOS 7 using yum
and dnf
.