How To Install cyrus-sasl on CentOS 8
Introduction
In this tutorial we learn how to install cyrus-sasl
on CentOS 8.
What is cyrus-sasl
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. cyrus-sasl 2.1.27 5.el8 x86_64 96 k cyrus-sasl-2.1.27-5.el8.src.rpm baseos The Cyrus SASL library https BSD with advertising 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
or dnf
to install cyrus-sasl
on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install cyrus-sasl.
Install cyrus-sasl on CentOS 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install cyrus-sasl
using dnf
by running the following command:
sudo dnf -y install cyrus-sasl
Install cyrus-sasl on CentOS 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install cyrus-sasl
using yum
by running the following command:
sudo yum -y install cyrus-sasl
How To Uninstall cyrus-sasl on CentOS 8
To uninstall only the cyrus-sasl
package we can use the following command:
sudo dnf remove cyrus-sasl
cyrus-sasl Package Contents on CentOS 8
/etc/sysconfig/saslauthd
/run/saslauthd
/usr/lib/.build-id
/usr/lib/.build-id/16
/usr/lib/.build-id/16/8354a915e084dac2b5721d09734719d11ad78b
/usr/lib/.build-id/3a
/usr/lib/.build-id/3a/6250c306328e549b740b03b76dfdce50eabffc
/usr/lib/.build-id/ea
/usr/lib/.build-id/ea/bd4b382175a51bd8560bf5f66461ef3ca9c6a5
/usr/lib/systemd/system/saslauthd.service
/usr/sbin/pluginviewer
/usr/sbin/saslauthd
/usr/sbin/testsaslauthd
/usr/share/doc/cyrus-sasl
/usr/share/doc/cyrus-sasl/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
/etc/sysconfig/saslauthd
/run/saslauthd
/usr/lib/.build-id
/usr/lib/.build-id/3c
/usr/lib/.build-id/3c/6ff49755d098663aa8258026c5ca7998bd58cc
/usr/lib/.build-id/40
/usr/lib/.build-id/40/f6e7e6c6f9223b62d37cdee0fd85db3b689ea8
/usr/lib/.build-id/b0
/usr/lib/.build-id/b0/e51594a6deaf10feaa73f2859a55d8c30743bb
/usr/lib/systemd/system/saslauthd.service
/usr/sbin/pluginviewer
/usr/sbin/saslauthd
/usr/sbin/testsaslauthd
/usr/share/doc/cyrus-sasl
/usr/share/doc/cyrus-sasl/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
- [cyrus-sasl website](https://www.cyrusimap.org/sasl/ https://www.cyrusimap.org/sasl/)
Summary
In this tutorial we learn how to install cyrus-sasl
on CentOS 8 using yum and dnf.