How To Install python3-odfpy on Rocky Linux 8
Introduction
In this tutorial we learn how to install python3-odfpy
on Rocky Linux 8.
What is python3-odfpy
Odfpy aims to be a complete API for OpenDocument in Python. Unlike other more convenient APIs, this one is essentially an abstraction layer just above the XML format. The main focus has been to prevent the programmer from creating invalid documents. It has checks that raise an exception if the programmer adds an invalid element, adds an attribute unknown to the grammar, forgets to add a required attribute or adds text to an element that doesn’t allow it. These checks and the API itself were generated from the RelaxNG schema, and then hand-edited. Therefore the API is complete and can handle all ODF constructions, but could be improved in its understanding of data types. This package provides Python 3 build of odfpy.
We can use yum
or dnf
to install python3-odfpy
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install python3-odfpy.
Install python3-odfpy 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 python3-odfpy
using dnf
by running the following command:
sudo dnf -y install python3-odfpy
Install python3-odfpy 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 python3-odfpy
using yum
by running the following command:
sudo yum -y install python3-odfpy
How To Uninstall python3-odfpy on Rocky Linux 8
To uninstall only the python3-odfpy
package we can use the following command:
sudo dnf remove python3-odfpy
python3-odfpy Package Contents on Rocky Linux 8
/usr/bin/csv2ods
/usr/bin/mailodf
/usr/bin/odf2mht
/usr/bin/odf2xhtml
/usr/bin/odf2xml
/usr/bin/odfimgimport
/usr/bin/odflint
/usr/bin/odfmeta
/usr/bin/odfoutline
/usr/bin/odfuserfield
/usr/bin/xml2odf
/usr/lib/python3.6/site-packages/odf
/usr/lib/python3.6/site-packages/odf/__init__.py
/usr/lib/python3.6/site-packages/odf/__pycache__
/usr/lib/python3.6/site-packages/odf/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/odf/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/odf/__pycache__/anim.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/odf/__pycache__/anim.cpython-36.pyc
/usr/lib/python3.6/site-packages/odf/__pycache__/attrconverters.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/odf/__pycache__/attrconverters.cpython-36.pyc
/usr/lib/python3.6/site-packages/odf/__pycache__/chart.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/odf/__pycache__/chart.cpython-36.pyc
/usr/lib/python3.6/site-packages/odf/__pycache__/config.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/odf/__pycache__/config.cpython-36.pyc
/usr/lib/python3.6/site-packages/odf/__pycache__/dc.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/odf/__pycache__/dc.cpython-36.pyc
/usr/lib/python3.6/site-packages/odf/__pycache__/dr3d.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/odf/__pycache__/dr3d.cpython-36.pyc
/usr/lib/python3.6/site-packages/odf/__pycache__/draw.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/odf/__pycache__/draw.cpython-36.pyc
/usr/lib/python3.6/site-packages/odf/__pycache__/easyliststyle.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/odf/__pycache__/easyliststyle.cpython-36.pyc
/usr/lib/python3.6/site-packages/odf/__pycache__/element.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/odf/__pycache__/element.cpython-36.pyc
/usr/lib/python3.6/site-packages/odf/__pycache__/elementtypes.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/odf/__pycache__/elementtypes.cpython-36.pyc
/usr/lib/python3.6/site-packages/odf/__pycache__/form.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/odf/__pycache__/form.cpython-36.pyc
/usr/lib/python3.6/site-packages/odf/__pycache__/grammar.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/odf/__pycache__/grammar.cpython-36.pyc
/usr/lib/python3.6/site-packages/odf/__pycache__/load.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/odf/__pycache__/load.cpython-36.pyc
/usr/lib/python3.6/site-packages/odf/__pycache__/manifest.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/odf/__pycache__/manifest.cpython-36.pyc
/usr/lib/python3.6/site-packages/odf/__pycache__/math.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/odf/__pycache__/math.cpython-36.pyc
/usr/lib/python3.6/site-packages/odf/__pycache__/meta.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/odf/__pycache__/meta.cpython-36.pyc
/usr/lib/python3.6/site-packages/odf/__pycache__/namespaces.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/odf/__pycache__/namespaces.cpython-36.pyc
/usr/lib/python3.6/site-packages/odf/__pycache__/number.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/odf/__pycache__/number.cpython-36.pyc
/usr/lib/python3.6/site-packages/odf/__pycache__/odf2moinmoin.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/odf/__pycache__/odf2moinmoin.cpython-36.pyc
/usr/lib/python3.6/site-packages/odf/__pycache__/odf2xhtml.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/odf/__pycache__/odf2xhtml.cpython-36.pyc
/usr/lib/python3.6/site-packages/odf/__pycache__/odfmanifest.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/odf/__pycache__/odfmanifest.cpython-36.pyc
/usr/lib/python3.6/site-packages/odf/__pycache__/office.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/odf/__pycache__/office.cpython-36.pyc
/usr/lib/python3.6/site-packages/odf/__pycache__/opendocument.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/odf/__pycache__/opendocument.cpython-36.pyc
/usr/lib/python3.6/site-packages/odf/__pycache__/presentation.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/odf/__pycache__/presentation.cpython-36.pyc
/usr/lib/python3.6/site-packages/odf/__pycache__/script.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/odf/__pycache__/script.cpython-36.pyc
/usr/lib/python3.6/site-packages/odf/__pycache__/style.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/odf/__pycache__/style.cpython-36.pyc
/usr/lib/python3.6/site-packages/odf/__pycache__/svg.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/odf/__pycache__/svg.cpython-36.pyc
/usr/lib/python3.6/site-packages/odf/__pycache__/table.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/odf/__pycache__/table.cpython-36.pyc
/usr/lib/python3.6/site-packages/odf/__pycache__/teletype.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/odf/__pycache__/teletype.cpython-36.pyc
/usr/lib/python3.6/site-packages/odf/__pycache__/text.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/odf/__pycache__/text.cpython-36.pyc
/usr/lib/python3.6/site-packages/odf/__pycache__/thumbnail.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/odf/__pycache__/thumbnail.cpython-36.pyc
/usr/lib/python3.6/site-packages/odf/__pycache__/userfield.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/odf/__pycache__/userfield.cpython-36.pyc
/usr/lib/python3.6/site-packages/odf/__pycache__/xforms.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/odf/__pycache__/xforms.cpython-36.pyc
/usr/lib/python3.6/site-packages/odf/anim.py
/usr/lib/python3.6/site-packages/odf/attrconverters.py
/usr/lib/python3.6/site-packages/odf/chart.py
/usr/lib/python3.6/site-packages/odf/config.py
/usr/lib/python3.6/site-packages/odf/dc.py
/usr/lib/python3.6/site-packages/odf/dr3d.py
/usr/lib/python3.6/site-packages/odf/draw.py
/usr/lib/python3.6/site-packages/odf/easyliststyle.py
/usr/lib/python3.6/site-packages/odf/element.py
/usr/lib/python3.6/site-packages/odf/elementtypes.py
/usr/lib/python3.6/site-packages/odf/form.py
/usr/lib/python3.6/site-packages/odf/grammar.py
/usr/lib/python3.6/site-packages/odf/load.py
/usr/lib/python3.6/site-packages/odf/manifest.py
/usr/lib/python3.6/site-packages/odf/math.py
/usr/lib/python3.6/site-packages/odf/meta.py
/usr/lib/python3.6/site-packages/odf/namespaces.py
/usr/lib/python3.6/site-packages/odf/number.py
/usr/lib/python3.6/site-packages/odf/odf2moinmoin.py
/usr/lib/python3.6/site-packages/odf/odf2xhtml.py
/usr/lib/python3.6/site-packages/odf/odfmanifest.py
/usr/lib/python3.6/site-packages/odf/office.py
/usr/lib/python3.6/site-packages/odf/opendocument.py
/usr/lib/python3.6/site-packages/odf/presentation.py
/usr/lib/python3.6/site-packages/odf/script.py
/usr/lib/python3.6/site-packages/odf/style.py
/usr/lib/python3.6/site-packages/odf/svg.py
/usr/lib/python3.6/site-packages/odf/table.py
/usr/lib/python3.6/site-packages/odf/teletype.py
/usr/lib/python3.6/site-packages/odf/text.py
/usr/lib/python3.6/site-packages/odf/thumbnail.py
/usr/lib/python3.6/site-packages/odf/userfield.py
/usr/lib/python3.6/site-packages/odf/xforms.py
/usr/lib/python3.6/site-packages/odfpy-1.4.0-py3.6.egg-info
/usr/lib/python3.6/site-packages/odfpy-1.4.0-py3.6.egg-info/PKG-INFO
/usr/lib/python3.6/site-packages/odfpy-1.4.0-py3.6.egg-info/SOURCES.txt
/usr/lib/python3.6/site-packages/odfpy-1.4.0-py3.6.egg-info/dependency_links.txt
/usr/lib/python3.6/site-packages/odfpy-1.4.0-py3.6.egg-info/requires.txt
/usr/lib/python3.6/site-packages/odfpy-1.4.0-py3.6.egg-info/top_level.txt
/usr/share/licenses/python3-odfpy
/usr/share/licenses/python3-odfpy/APACHE-LICENSE-2.0.txt
/usr/share/licenses/python3-odfpy/GPL-LICENSE-2.txt
/usr/share/man/man1/csv2ods.1.gz
/usr/share/man/man1/mailodf.1.gz
/usr/share/man/man1/odf2mht.1.gz
/usr/share/man/man1/odf2xhtml.1.gz
/usr/share/man/man1/odf2xml.1.gz
/usr/share/man/man1/odfimgimport.1.gz
/usr/share/man/man1/odflint.1.gz
/usr/share/man/man1/odfmeta.1.gz
/usr/share/man/man1/odfoutline.1.gz
/usr/share/man/man1/odfuserfield.1.gz
/usr/share/man/man1/xml2odf.1.gz
References
Summary
In this tutorial we learn how to install python3-odfpy
on Rocky Linux 8 using yum and dnf.