How To Install cryptsetup-libs on Fedora 36

In this tutorial we learn how to install cryptsetup-libs in Fedora 36. cryptsetup-libs is Cryptsetup shared library

Introduction

In this tutorial we learn how to install cryptsetup-libs on Fedora 36.

What is cryptsetup-libs

This package contains the cryptsetup shared library, libcryptsetup.

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

Install cryptsetup-libs 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 cryptsetup-libs using dnf by running the following command:

sudo dnf -y install cryptsetup-libs

Install cryptsetup-libs 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 cryptsetup-libs using yum by running the following command:

sudo yum -y install cryptsetup-libs

How To Uninstall cryptsetup-libs on Fedora 36

To uninstall only the cryptsetup-libs package we can use the following command:

sudo dnf remove cryptsetup-libs

cryptsetup-libs Package Contents on Fedora 36

/run/cryptsetup
/usr/lib/.build-id
/usr/lib/.build-id/b9
/usr/lib/.build-id/b9/5e600a508202170d66856a49c30ad3ba16defe
/usr/lib/tmpfiles.d/cryptsetup.conf
/usr/lib64/cryptsetup
/usr/lib64/libcryptsetup.so.12
/usr/lib64/libcryptsetup.so.12.7.0
/usr/share/licenses/cryptsetup-libs
/usr/share/licenses/cryptsetup-libs/COPYING
/usr/share/licenses/cryptsetup-libs/COPYING.LGPL
/usr/share/locale/cs/LC_MESSAGES/cryptsetup.mo
/usr/share/locale/da/LC_MESSAGES/cryptsetup.mo
/usr/share/locale/de/LC_MESSAGES/cryptsetup.mo
/usr/share/locale/es/LC_MESSAGES/cryptsetup.mo
/usr/share/locale/fi/LC_MESSAGES/cryptsetup.mo
/usr/share/locale/fr/LC_MESSAGES/cryptsetup.mo
/usr/share/locale/id/LC_MESSAGES/cryptsetup.mo
/usr/share/locale/it/LC_MESSAGES/cryptsetup.mo
/usr/share/locale/ja/LC_MESSAGES/cryptsetup.mo
/usr/share/locale/nl/LC_MESSAGES/cryptsetup.mo
/usr/share/locale/pl/LC_MESSAGES/cryptsetup.mo
/usr/share/locale/pt_BR/LC_MESSAGES/cryptsetup.mo
/usr/share/locale/ru/LC_MESSAGES/cryptsetup.mo
/usr/share/locale/sr/LC_MESSAGES/cryptsetup.mo
/usr/share/locale/sv/LC_MESSAGES/cryptsetup.mo
/usr/share/locale/uk/LC_MESSAGES/cryptsetup.mo
/usr/share/locale/vi/LC_MESSAGES/cryptsetup.mo
/usr/share/locale/zh_CN/LC_MESSAGES/cryptsetup.mo

References

Summary

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