How To Install libesmtp.x86_64 on Amazon Linux 2

In this tutorial we learn how to install libesmtp.x86_64 in Amazon Linux 2. libesmtp.x86_64 is SMTP client library

Introduction

In this tutorial we learn how to install libesmtp.x86_64 on Amazon Linux 2.

What is libesmtp.x86_64

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 to install libesmtp.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install libesmtp.x86_64.

Install libesmtp.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install libesmtp.x86_64 using yum by running the following command:

sudo yum -y install libesmtp.x86_64

How To Uninstall libesmtp.x86_64 on Amazon Linux 2

To uninstall only the libesmtp.x86_64 package we can use the following command:

sudo yum remove libesmtp.x86_64

libesmtp.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/esmtp-plugins
/usr/lib64/esmtp-plugins/sasl-cram-md5.so
/usr/lib64/esmtp-plugins/sasl-login.so
/usr/lib64/esmtp-plugins/sasl-plain.so
/usr/lib64/libesmtp.so.6
/usr/lib64/libesmtp.so.6.1.6
/usr/share/doc/libesmtp-1.0.6
/usr/share/doc/libesmtp-1.0.6/AUTHORS
/usr/share/doc/libesmtp-1.0.6/COPYING.LIB
/usr/share/doc/libesmtp-1.0.6/NEWS
/usr/share/doc/libesmtp-1.0.6/Notes
/usr/share/doc/libesmtp-1.0.6/README

References

Summary

In this tutorial we learn how to install libesmtp.x86_64 on Amazon Linux 2 using yum.