How To Install libxcrypt-compat on Fedora 36

In this tutorial we learn how to install libxcrypt-compat in Fedora 36. libxcrypt-compat is Compatibility library providing legacy API functions

Introduction

In this tutorial we learn how to install libxcrypt-compat on Fedora 36.

What is libxcrypt-compat

This package contains the library providing the compatibility API for applications that are linked against glibc’s libxcrypt, or that are still using the unsafe and deprecated, encrypt, encrypt_r, setkey, setkey_r, and fcrypt functions, which are still required by recent versions of POSIX, the Single UNIX Specification, and various other standards. All existing binary executables linked against glibc’s libcrypt should work unmodified with the library supplied by this package.

We can use yum or dnf to install libxcrypt-compat on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install libxcrypt-compat.

Install libxcrypt-compat on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install libxcrypt-compat

Install libxcrypt-compat on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install libxcrypt-compat using yum by running the following command:

sudo yum -y install libxcrypt-compat

How To Uninstall libxcrypt-compat on Fedora 36

To uninstall only the libxcrypt-compat package we can use the following command:

sudo dnf remove libxcrypt-compat

libxcrypt-compat Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/8c
/usr/lib/.build-id/8c/1e706124ff7d62767db19c99477f7b0a992809
/usr/lib64/fipscheck
/usr/lib64/fipscheck/libcrypt.so.1.1.0.hmac
/usr/lib64/fipscheck/libcrypt.so.1.hmac
/usr/lib64/libcrypt.so.1
/usr/lib64/libcrypt.so.1.1.0
/usr/share/doc/libxcrypt/README.posix

References

Summary

In this tutorial we learn how to install libxcrypt-compat on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).