How To Install msoffcrypto-tool on Rocky Linux 8
Introduction
In this tutorial we learn how to install msoffcrypto-tool on Rocky Linux 8.
What is msoffcrypto-tool
The msoffcrypto-tool (formerly ms-offcrypto-tool) is a Python tool and library for decrypting encrypted Microsoft Office files with password, intermediate key, or private key which generated its escrow key.
We can use yum or dnf to install msoffcrypto-tool on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install msoffcrypto-tool.
Install msoffcrypto-tool on Rocky Linux 8 Using dnf
Update yum database with dnf using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install msoffcrypto-tool using dnf by running the following command:
sudo dnf -y install msoffcrypto-tool
Install msoffcrypto-tool on Rocky Linux 8 Using yum
Update yum database with yum using the following command.
sudo yum makecache --refresh
After updating yum database, We can install msoffcrypto-tool using yum by running the following command:
sudo yum -y install msoffcrypto-tool
How To Uninstall msoffcrypto-tool on Rocky Linux 8
To uninstall only the msoffcrypto-tool package we can use the following command:
sudo dnf remove msoffcrypto-tool
msoffcrypto-tool Package Contents on Rocky Linux 8
/usr/bin/msoffcrypto-tool
/usr/share/doc/msoffcrypto-tool
/usr/share/doc/msoffcrypto-tool/README.md
References
Summary
In this tutorial we learn how to install msoffcrypto-tool on Rocky Linux 8 using yum and dnf.