How To Install msoffcrypto-tool on CentOS 7

In this tutorial we learn how to install msoffcrypto-tool on CentOS 7. msoffcrypto-tool is Python tool for decrypting MS Office files with passwords or other

Introduction

In this tutorial we learn how to install msoffcrypto-tool on CentOS 7.

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 CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install msoffcrypto-tool.

Install msoffcrypto-tool on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install msoffcrypto-tool

Install msoffcrypto-tool 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 msoffcrypto-tool using dnf by running the following command:

sudo dnf -y install msoffcrypto-tool

How To Uninstall msoffcrypto-tool on CentOS 7

To uninstall only the msoffcrypto-tool package we can use the following command:

sudo dnf remove msoffcrypto-tool

References

Summary

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