How To Install odfpy-doc on AlmaLinux 8
Introduction
In this tutorial we learn how to install odfpy-doc
on AlmaLinux 8.
What is odfpy-doc
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 documentation of odfpy.
We can use yum
or dnf
to install odfpy-doc
on AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install odfpy-doc.
Install odfpy-doc on AlmaLinux 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install odfpy-doc
using dnf
by running the following command:
sudo dnf -y install odfpy-doc
Install odfpy-doc on AlmaLinux 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install odfpy-doc
using yum
by running the following command:
sudo yum -y install odfpy-doc
How To Uninstall odfpy-doc on AlmaLinux 8
To uninstall only the odfpy-doc
package we can use the following command:
sudo dnf remove odfpy-doc
References
Summary
In this tutorial we learn how to install odfpy-doc
on AlmaLinux 8 using yum and dnf.