How To Install volume_key-libs on CentOS 7

In this tutorial we learn how to install volume_key-libs on CentOS 7. volume_key-libs is A library for manipulating storage encryption keys and passphrases

Introduction

In this tutorial we learn how to install volume_key-libs on CentOS 7.

What is volume_key-libs

This package provides libvolume_key, a library 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. This package provides libvolume_key, a library 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-libs on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install volume_key-libs.

Install volume_key-libs on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install volume_key-libs

Install volume_key-libs on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

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

sudo dnf -y install volume_key-libs

How To Uninstall volume_key-libs on CentOS 7

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

sudo dnf remove volume_key-libs

References

Summary

In this tutorial we learn how to install volume_key-libs on CentOS 7 using yum and dnf.