How To Install volume_key on Fedora 34

volume_key is An utility for manipulating storage encryption keys and passphrases

Introduction

In this tutorial we learn how to install volume_key on Fedora 34.

What is volume_key

This package provides a command-line tool for manipulating storage volume encryption keys and storing them separately from volumes. The main goal of the software is to allow restoring access to an encrypted hard drive if the primary user forgets the passphrase. The encryption key back up can also be useful for extracting data after a hardware or software failure that corrupts the header of the encrypted volume, or to access the company data after an employee leaves abruptly.

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

Install volume_key on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo dnf -y install volume_key

Install volume_key on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo yum -y install volume_key

How To Uninstall volume_key on Fedora 34

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

sudo dnf remove volume_key

volume_key Package Contents on Fedora 34

/usr/bin/volume_key
/usr/lib/.build-id
/usr/lib/.build-id/13
/usr/lib/.build-id/13/cf477b45666de5889016391ed66cd1183b2f8b
/usr/share/doc/volume_key
/usr/share/doc/volume_key/README
/usr/share/doc/volume_key/contrib
/usr/share/doc/volume_key/contrib/Makefile
/usr/share/doc/volume_key/contrib/Makefile.am
/usr/share/doc/volume_key/contrib/Makefile.in
/usr/share/doc/volume_key/contrib/email
/usr/share/doc/volume_key/contrib/email/README
/usr/share/doc/volume_key/contrib/email/escrow-receive
/usr/share/doc/volume_key/contrib/email/escrow-transit
/usr/share/doc/volume_key/contrib/email/tests
/usr/share/doc/volume_key/contrib/email/tests/mailsrv.py
/usr/share/doc/volume_key/contrib/email/tests/sendpkt.py
/usr/share/doc/volume_key/contrib/email/tests/test-escrow-receive
/usr/share/doc/volume_key/contrib/email/tests/test-escrow-transit
/usr/share/doc/volume_key/contrib/email/tests/utest.sh
/usr/share/man/man8/volume_key.8.gz
/usr/bin/volume_key
/usr/lib/.build-id
/usr/lib/.build-id/ac
/usr/lib/.build-id/ac/918556b09ee841cc3fa85fb3cc7cb194ce9c66
/usr/share/doc/volume_key
/usr/share/doc/volume_key/README
/usr/share/doc/volume_key/contrib
/usr/share/doc/volume_key/contrib/Makefile
/usr/share/doc/volume_key/contrib/Makefile.am
/usr/share/doc/volume_key/contrib/Makefile.in
/usr/share/doc/volume_key/contrib/email
/usr/share/doc/volume_key/contrib/email/README
/usr/share/doc/volume_key/contrib/email/escrow-receive
/usr/share/doc/volume_key/contrib/email/escrow-transit
/usr/share/doc/volume_key/contrib/email/tests
/usr/share/doc/volume_key/contrib/email/tests/mailsrv.py
/usr/share/doc/volume_key/contrib/email/tests/sendpkt.py
/usr/share/doc/volume_key/contrib/email/tests/test-escrow-receive
/usr/share/doc/volume_key/contrib/email/tests/test-escrow-transit
/usr/share/doc/volume_key/contrib/email/tests/utest.sh
/usr/share/man/man8/volume_key.8.gz

References

Summary

In this tutorial we learn how to install volume_key on Fedora 34 using yum and dnf.