How To Install python-openoffice on CentOS 7
Introduction
In this tutorial we learn how to install python-openoffice on CentOS 7.
What is python-openoffice
The library is designed to supports both writing Macros (called by OOo) and interacting with OOo from an external Python program (using the UNO bridge).
We can use yum or dnf to install python-openoffice on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install python-openoffice.
Install python-openoffice on CentOS 7 Using yum
Update yum database with yum using the following command.
sudo yum makecache
After updating yum database, We can install python-openoffice using yum by running the following command:
sudo yum -y install python-openoffice
Install python-openoffice 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 python-openoffice using dnf by running the following command:
sudo dnf -y install python-openoffice
How To Uninstall python-openoffice on CentOS 7
To uninstall only the python-openoffice package we can use the following command:
sudo dnf remove python-openoffice
References
Summary
In this tutorial we learn how to install python-openoffice on CentOS 7 using yum and dnf.