How To Install cryptsetup on Fedora 36

In this tutorial we learn how to install cryptsetup in Fedora 36. cryptsetup is Utility for setting up encrypted disks

Introduction

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

What is cryptsetup

The cryptsetup package contains a utility for setting up disk encryption using dm-crypt kernel module.

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

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

sudo dnf -y install cryptsetup

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

sudo yum -y install cryptsetup

How To Uninstall cryptsetup on Fedora 36

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

sudo dnf remove cryptsetup

cryptsetup Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/30
/usr/lib/.build-id/30/73a396373ecb64f0f5bc21d6ddeb9149541bc9
/usr/sbin/cryptsetup
/usr/share/doc/cryptsetup
/usr/share/doc/cryptsetup/AUTHORS
/usr/share/doc/cryptsetup/FAQ
/usr/share/doc/cryptsetup/v1.0.7-ReleaseNotes
/usr/share/doc/cryptsetup/v1.1.0-ReleaseNotes
/usr/share/doc/cryptsetup/v1.1.1-ReleaseNotes
/usr/share/doc/cryptsetup/v1.1.2-ReleaseNotes
/usr/share/doc/cryptsetup/v1.1.3-ReleaseNotes
/usr/share/doc/cryptsetup/v1.2.0-ReleaseNotes
/usr/share/doc/cryptsetup/v1.3.0-ReleaseNotes
/usr/share/doc/cryptsetup/v1.3.1-ReleaseNotes
/usr/share/doc/cryptsetup/v1.4.0-ReleaseNotes
/usr/share/doc/cryptsetup/v1.4.1-ReleaseNotes
/usr/share/doc/cryptsetup/v1.4.2-ReleaseNotes
/usr/share/doc/cryptsetup/v1.4.3-ReleaseNotes
/usr/share/doc/cryptsetup/v1.5.0-ReleaseNotes
/usr/share/doc/cryptsetup/v1.5.1-ReleaseNotes
/usr/share/doc/cryptsetup/v1.6.0-ReleaseNotes
/usr/share/doc/cryptsetup/v1.6.1-ReleaseNotes
/usr/share/doc/cryptsetup/v1.6.2-ReleaseNotes
/usr/share/doc/cryptsetup/v1.6.3-ReleaseNotes
/usr/share/doc/cryptsetup/v1.6.4-ReleaseNotes
/usr/share/doc/cryptsetup/v1.6.5-ReleaseNotes
/usr/share/doc/cryptsetup/v1.6.6-ReleaseNotes
/usr/share/doc/cryptsetup/v1.6.7-ReleaseNotes
/usr/share/doc/cryptsetup/v1.6.8-ReleaseNotes
/usr/share/doc/cryptsetup/v1.7.0-ReleaseNotes
/usr/share/doc/cryptsetup/v1.7.1-ReleaseNotes
/usr/share/doc/cryptsetup/v1.7.2-ReleaseNotes
/usr/share/doc/cryptsetup/v1.7.3-ReleaseNotes
/usr/share/doc/cryptsetup/v1.7.4-ReleaseNotes
/usr/share/doc/cryptsetup/v1.7.5-ReleaseNotes
/usr/share/doc/cryptsetup/v2.0.0-ReleaseNotes
/usr/share/doc/cryptsetup/v2.0.1-ReleaseNotes
/usr/share/doc/cryptsetup/v2.0.2-ReleaseNotes
/usr/share/doc/cryptsetup/v2.0.3-ReleaseNotes
/usr/share/doc/cryptsetup/v2.0.4-ReleaseNotes
/usr/share/doc/cryptsetup/v2.0.5-ReleaseNotes
/usr/share/doc/cryptsetup/v2.0.6-ReleaseNotes
/usr/share/doc/cryptsetup/v2.1.0-ReleaseNotes
/usr/share/doc/cryptsetup/v2.2.0-ReleaseNotes
/usr/share/doc/cryptsetup/v2.2.1-ReleaseNotes
/usr/share/doc/cryptsetup/v2.2.2-ReleaseNotes
/usr/share/doc/cryptsetup/v2.3.0-ReleaseNotes
/usr/share/doc/cryptsetup/v2.3.1-ReleaseNotes
/usr/share/doc/cryptsetup/v2.3.2-ReleaseNotes
/usr/share/doc/cryptsetup/v2.3.3-ReleaseNotes
/usr/share/doc/cryptsetup/v2.3.4-ReleaseNotes
/usr/share/doc/cryptsetup/v2.3.5-ReleaseNotes
/usr/share/doc/cryptsetup/v2.3.6-ReleaseNotes
/usr/share/doc/cryptsetup/v2.4.0-ReleaseNotes
/usr/share/doc/cryptsetup/v2.4.1-ReleaseNotes
/usr/share/doc/cryptsetup/v2.4.2-ReleaseNotes
/usr/share/doc/cryptsetup/v2.4.3-ReleaseNotes
/usr/share/licenses/cryptsetup
/usr/share/licenses/cryptsetup/COPYING
/usr/share/man/man8/cryptsetup.8.gz

References

Summary

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