How To Install python-volume_key.x86_64 on Amazon Linux 2
Introduction
In this tutorial we learn how to install python-volume_key.x86_64 on Amazon Linux 2.
What is python-volume_key.x86_64
This package provides Python bindings for 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. volume_key currently supports only the LUKS volume encryption format. Support for other formats is possible, some formats are planned for future releases.
We can use yum to install python-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 python-volume_key.x86_64.
Install python-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 python-volume_key.x86_64 using yum by running the following command:
sudo yum -y install python-volume_key.x86_64
How To Uninstall python-volume_key.x86_64 on Amazon Linux 2
To uninstall only the python-volume_key.x86_64 package we can use the following command:
sudo yum remove python-volume_key.x86_64
python-volume_key.x86_64 Package Contents on Amazon Linux 2
/usr/lib64/python2.7/site-packages/_volume_key.so
/usr/lib64/python2.7/site-packages/volume_key.py
/usr/lib64/python2.7/site-packages/volume_key.pyc
/usr/lib64/python2.7/site-packages/volume_key.pyo
References
Summary
In this tutorial we learn how to install python-volume_key.x86_64 on Amazon Linux 2 using yum.