How To Install cryptsetup-reencrypt on Fedora 36

In this tutorial we learn how to install cryptsetup-reencrypt in Fedora 36. cryptsetup-reencrypt is A utility for offline reencryption of LUKS encrypted disks

Introduction

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

What is cryptsetup-reencrypt

This package contains cryptsetup-reencrypt utility which can be used for offline reencryption of disk in situ.

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

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

sudo dnf -y install cryptsetup-reencrypt

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

sudo yum -y install cryptsetup-reencrypt

How To Uninstall cryptsetup-reencrypt on Fedora 36

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

sudo dnf remove cryptsetup-reencrypt

cryptsetup-reencrypt Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/7a
/usr/lib/.build-id/7a/bf204616e5af86854ec4168f51a7c8478fef7f
/usr/sbin/cryptsetup-reencrypt
/usr/share/licenses/cryptsetup-reencrypt
/usr/share/licenses/cryptsetup-reencrypt/COPYING
/usr/share/man/man8/cryptsetup-reencrypt.8.gz

References

Summary

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