How To Install libgsasl on Rocky Linux 8

In this tutorial we learn how to install libgsasl on Rocky Linux 8. libgsasl is GNU SASL library

Introduction

In this tutorial we learn how to install libgsasl on Rocky Linux 8.

What is libgsasl

The library includes support for the SASL framework and at least partial support for the CRAM-MD5, EXTERNAL, GSSAPI, ANONYMOUS, PLAIN, SECURID, DIGEST-MD5, LOGIN, and NTLM mechanisms.

We can use yum or dnf to install libgsasl on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libgsasl.

Install libgsasl on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install libgsasl using dnf by running the following command:

sudo dnf -y install libgsasl

Install libgsasl on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install libgsasl using yum by running the following command:

sudo yum -y install libgsasl

How To Uninstall libgsasl on Rocky Linux 8

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

sudo dnf remove libgsasl

libgsasl Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/e8
/usr/lib/.build-id/e8/85f2f1a997f38379c4e7d356b8e330d371f5a1
/usr/lib64/libgsasl.so.7
/usr/lib64/libgsasl.so.7.9.6
/usr/share/doc/libgsasl
/usr/share/doc/libgsasl/AUTHORS
/usr/share/doc/libgsasl/COPYING
/usr/share/doc/libgsasl/NEWS
/usr/share/doc/libgsasl/README
/usr/share/doc/libgsasl/THANKS
/usr/share/locale/en@boldquot/LC_MESSAGES/libgsasl.mo
/usr/share/locale/en@quot/LC_MESSAGES/libgsasl.mo
/usr/share/locale/eo/LC_MESSAGES/libgsasl.mo
/usr/share/locale/fi/LC_MESSAGES/libgsasl.mo
/usr/share/locale/fr/LC_MESSAGES/libgsasl.mo
/usr/share/locale/ga/LC_MESSAGES/libgsasl.mo
/usr/share/locale/id/LC_MESSAGES/libgsasl.mo
/usr/share/locale/it/LC_MESSAGES/libgsasl.mo
/usr/share/locale/nl/LC_MESSAGES/libgsasl.mo
/usr/share/locale/pl/LC_MESSAGES/libgsasl.mo
/usr/share/locale/ro/LC_MESSAGES/libgsasl.mo
/usr/share/locale/sk/LC_MESSAGES/libgsasl.mo
/usr/share/locale/sr/LC_MESSAGES/libgsasl.mo
/usr/share/locale/sv/LC_MESSAGES/libgsasl.mo
/usr/share/locale/uk/LC_MESSAGES/libgsasl.mo
/usr/share/locale/vi/LC_MESSAGES/libgsasl.mo
/usr/share/locale/zh_CN/LC_MESSAGES/libgsasl.mo

References

Summary

In this tutorial we learn how to install libgsasl on Rocky Linux 8 using yum and dnf.