How To Install volume_key.x86_64 on Amazon Linux 2

In this tutorial we learn how to install volume_key.x86_64 in Amazon Linux 2. volume_key.x86_64 is An utility for manipulating storage encryption keys and

Introduction

In this tutorial we learn how to install volume_key.x86_64 on Amazon Linux 2.

What is volume_key.x86_64

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 to install volume_key.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install volume_key.x86_64.

Install volume_key.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install volume_key.x86_64

How To Uninstall volume_key.x86_64 on Amazon Linux 2

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

sudo yum remove volume_key.x86_64

volume_key.x86_64 Package Contents on Amazon Linux 2

/usr/bin/volume_key
/usr/share/doc/volume_key-0.3.9
/usr/share/doc/volume_key-0.3.9/README
/usr/share/doc/volume_key-0.3.9/contrib
/usr/share/doc/volume_key-0.3.9/contrib/email
/usr/share/doc/volume_key-0.3.9/contrib/email/README
/usr/share/doc/volume_key-0.3.9/contrib/email/escrow-receive
/usr/share/doc/volume_key-0.3.9/contrib/email/escrow-transit
/usr/share/man/man8/volume_key.8.gz

References

Summary

In this tutorial we learn how to install volume_key.x86_64 on Amazon Linux 2 using yum.