How To Install python3-openoffice on Fedora 36

In this tutorial we learn how to install python3-openoffice in Fedora 36. python3-openoffice is Python 3 libraries for interacting with LibreOffice

Introduction

In this tutorial we learn how to install python3-openoffice on Fedora 36.

What is python3-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 python3-openoffice on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install python3-openoffice.

Install python3-openoffice on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install python3-openoffice using dnf by running the following command:

sudo dnf -y install python3-openoffice

Install python3-openoffice on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install python3-openoffice

How To Uninstall python3-openoffice on Fedora 36

To uninstall only the python3-openoffice package we can use the following command:

sudo dnf remove python3-openoffice

python3-openoffice Package Contents on Fedora 36

/usr/lib/python3.10/site-packages/openoffice
/usr/lib/python3.10/site-packages/openoffice/ListenerProcAdapters.py
/usr/lib/python3.10/site-packages/openoffice/__init__.py
/usr/lib/python3.10/site-packages/openoffice/__pycache__
/usr/lib/python3.10/site-packages/openoffice/__pycache__/ListenerProcAdapters.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/openoffice/__pycache__/ListenerProcAdapters.cpython-310.pyc
/usr/lib/python3.10/site-packages/openoffice/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/openoffice/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/openoffice/__pycache__/colors.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/openoffice/__pycache__/colors.cpython-310.pyc
/usr/lib/python3.10/site-packages/openoffice/__pycache__/config.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/openoffice/__pycache__/config.cpython-310.pyc
/usr/lib/python3.10/site-packages/openoffice/__pycache__/datatypes.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/openoffice/__pycache__/datatypes.cpython-310.pyc
/usr/lib/python3.10/site-packages/openoffice/__pycache__/dialogs.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/openoffice/__pycache__/dialogs.cpython-310.pyc
/usr/lib/python3.10/site-packages/openoffice/__pycache__/interact.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/openoffice/__pycache__/interact.cpython-310.pyc
/usr/lib/python3.10/site-packages/openoffice/__pycache__/officehelper.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/openoffice/__pycache__/officehelper.cpython-310.pyc
/usr/lib/python3.10/site-packages/openoffice/__pycache__/streams.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/openoffice/__pycache__/streams.cpython-310.pyc
/usr/lib/python3.10/site-packages/openoffice/__pycache__/styles.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/openoffice/__pycache__/styles.cpython-310.pyc
/usr/lib/python3.10/site-packages/openoffice/__pycache__/windowsListeners.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/openoffice/__pycache__/windowsListeners.cpython-310.pyc
/usr/lib/python3.10/site-packages/openoffice/colors.py
/usr/lib/python3.10/site-packages/openoffice/config.py
/usr/lib/python3.10/site-packages/openoffice/datatypes.py
/usr/lib/python3.10/site-packages/openoffice/dialogs.py
/usr/lib/python3.10/site-packages/openoffice/interact.py
/usr/lib/python3.10/site-packages/openoffice/officehelper.py
/usr/lib/python3.10/site-packages/openoffice/streams.py
/usr/lib/python3.10/site-packages/openoffice/styles.py
/usr/lib/python3.10/site-packages/openoffice/windowsListeners.py
/usr/lib/python3.10/site-packages/openoffice_python-0.1.post20110209-py3.10.egg-info
/usr/lib/python3.10/site-packages/openoffice_python-0.1.post20110209-py3.10.egg-info/PKG-INFO
/usr/lib/python3.10/site-packages/openoffice_python-0.1.post20110209-py3.10.egg-info/SOURCES.txt
/usr/lib/python3.10/site-packages/openoffice_python-0.1.post20110209-py3.10.egg-info/dependency_links.txt
/usr/lib/python3.10/site-packages/openoffice_python-0.1.post20110209-py3.10.egg-info/top_level.txt
/usr/share/doc/python3-openoffice
/usr/share/doc/python3-openoffice/README
/usr/share/doc/python3-openoffice/sample-scripts
/usr/share/doc/python3-openoffice/sample-scripts/PrintToWriter.py
/usr/share/doc/python3-openoffice/sample-scripts/check-installation
/usr/share/doc/python3-openoffice/sample-scripts/odf2pdf.py
/usr/share/doc/python3-openoffice/sample-scripts/ooo-server
/usr/share/doc/python3-openoffice/sample-scripts/open-stream.py
/usr/share/licenses/python3-openoffice
/usr/share/licenses/python3-openoffice/COPYING
/usr/share/licenses/python3-openoffice/LICENSE-gpl-3.0.txt

References

Summary

In this tutorial we learn how to install python3-openoffice on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).