How To Install libesmtp on Fedora 34

libesmtp is SMTP client library SMTP client library

Introduction

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

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 1.0.6 21.fc34 x86_64 67 k libesmtp-1.0.6-21.fc34.src.rpm fedora SMTP client library http LGPLv2+ 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 Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install libesmtp.

Install libesmtp 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 libesmtp using dnf by running the following command:

sudo dnf -y install libesmtp

Install libesmtp 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 libesmtp using yum by running the following command:

sudo yum -y install libesmtp

How To Uninstall libesmtp on Fedora 34

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

sudo dnf remove libesmtp

libesmtp Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/0c
/usr/lib/.build-id/0c/fc52e6fea04e3b751067c461601e96972829a0
/usr/lib/.build-id/51
/usr/lib/.build-id/51/00e5c73b7991496696fe069cdd9add136fe429
/usr/lib/.build-id/68
/usr/lib/.build-id/68/9f1cca6467cc93974776b118d910e7707b4082
/usr/lib/.build-id/a9
/usr/lib/.build-id/a9/855d0221dfd2556dbf3f8d689b135af28e77fa
/usr/lib/esmtp-plugins
/usr/lib/esmtp-plugins/sasl-cram-md5.so
/usr/lib/esmtp-plugins/sasl-login.so
/usr/lib/esmtp-plugins/sasl-plain.so
/usr/lib/libesmtp.so.6
/usr/lib/libesmtp.so.6.1.6
/usr/share/doc/libesmtp
/usr/share/doc/libesmtp/AUTHORS
/usr/share/doc/libesmtp/COPYING.LIB
/usr/share/doc/libesmtp/NEWS
/usr/share/doc/libesmtp/Notes
/usr/share/doc/libesmtp/README
/usr/lib/.build-id
/usr/lib/.build-id/1a
/usr/lib/.build-id/1a/200c443e846386f156d200a20e1ac9cb0e97c7
/usr/lib/.build-id/2c
/usr/lib/.build-id/2c/e33c90b1ec16897bffea83206bd2d585fa3c28
/usr/lib/.build-id/57
/usr/lib/.build-id/57/ad9e3cfd4fef00bb2895854dd44564cfc55f58
/usr/lib/.build-id/b4
/usr/lib/.build-id/b4/e320b308278cef41efc25d797d0cefc94668dd
/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
/usr/share/doc/libesmtp/AUTHORS
/usr/share/doc/libesmtp/COPYING.LIB
/usr/share/doc/libesmtp/NEWS
/usr/share/doc/libesmtp/Notes
/usr/share/doc/libesmtp/README

References

Summary

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