How To Install cyrus-sasl.x86_64 on Amazon Linux 2

In this tutorial we learn how to install cyrus-sasl.x86_64 in Amazon Linux 2. cyrus-sasl.x86_64 is The Cyrus SASL library

Introduction

In this tutorial we learn how to install cyrus-sasl.x86_64 on Amazon Linux 2.

What is cyrus-sasl.x86_64

The cyrus-sasl package contains the Cyrus implementation of SASL. SASL is the Simple Authentication and Security Layer, a method for adding authentication support to connection-based protocols.

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

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

sudo yum -y install cyrus-sasl.x86_64

How To Uninstall cyrus-sasl.x86_64 on Amazon Linux 2

To uninstall only the cyrus-sasl.x86_64 package we can use the following command:

sudo yum remove cyrus-sasl.x86_64

cyrus-sasl.x86_64 Package Contents on Amazon Linux 2

/etc/sysconfig/saslauthd
/run/saslauthd
/usr/lib/systemd/system/saslauthd.service
/usr/sbin/pluginviewer
/usr/sbin/saslauthd
/usr/sbin/testsaslauthd
/usr/share/doc/cyrus-sasl-2.1.26
/usr/share/doc/cyrus-sasl-2.1.26/LDAP_SASLAUTHD
/usr/share/man/man8/pluginviewer.8.gz
/usr/share/man/man8/saslauthd.8.gz
/usr/share/man/man8/sasldblistusers2.8.gz
/usr/share/man/man8/saslpasswd2.8.gz
/usr/share/man/man8/testsaslauthd.8.gz

References

Summary

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