How To Install stunnel.x86_64 on Amazon Linux 2

In this tutorial we learn how to install stunnel.x86_64 in Amazon Linux 2. stunnel.x86_64 is An SSL-encrypting socket wrapper

Introduction

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

What is stunnel.x86_64

Stunnel is a socket wrapper which can provide SSL (Secure Sockets Layer) support to ordinary applications. For example, it can be used in conjunction with imapd to create an SSL secure IMAP server.

We can use yum to install stunnel.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install stunnel.x86_64.

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

sudo yum -y install stunnel.x86_64

How To Uninstall stunnel.x86_64 on Amazon Linux 2

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

sudo yum remove stunnel.x86_64

stunnel.x86_64 Package Contents on Amazon Linux 2

/etc/stunnel
/usr/bin/stunnel
/usr/lib64/stunnel
/usr/lib64/stunnel/libstunnel.so
/usr/share/doc/stunnel-4.56
/usr/share/doc/stunnel-4.56/AUTHORS
/usr/share/doc/stunnel-4.56/BUGS
/usr/share/doc/stunnel-4.56/COPYING
/usr/share/doc/stunnel-4.56/COPYRIGHT.GPL
/usr/share/doc/stunnel-4.56/CREDITS
/usr/share/doc/stunnel-4.56/Certificate-Creation
/usr/share/doc/stunnel-4.56/ChangeLog
/usr/share/doc/stunnel-4.56/PORTS
/usr/share/doc/stunnel-4.56/README
/usr/share/doc/stunnel-4.56/TODO
/usr/share/doc/stunnel-4.56/VNC_StunnelHOWTO.html
/usr/share/doc/stunnel-4.56/faq.stunnel-2.html
/usr/share/doc/stunnel-4.56/pop3-redirect.xinetd
/usr/share/doc/stunnel-4.56/sfinger.xinetd
/usr/share/doc/stunnel-4.56/stunnel-pop3s-client.conf
/usr/share/doc/stunnel-4.56/stunnel-sfinger.conf
/usr/share/doc/stunnel-4.56/stunnel.conf-sample
/usr/share/doc/stunnel-4.56/tworzenie_certyfikatow.html
/usr/share/man/fr/man8/stunnel.8.gz
/usr/share/man/man8/stunnel.8.gz
/usr/share/man/pl/man8/stunnel.8.gz

References

Summary

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