How To Install python-xml2rfc on CentOS 7
Introduction
In this tutorial we learn how to install python-xml2rfc
on CentOS 7.
What is python-xml2rfc
Xml2rfc generates RFCs and IETF drafts from document source in XML according to the dtd in RFC-2629. It takes as input an xml file which contains the text and meta-information about author names etc., and transforms it into suitably formatted output. The input xml file should follow the DTD given in RFC-2629 (or it’s unofficial successor).
We can use yum
or dnf
to install python-xml2rfc
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install python-xml2rfc.
Install python-xml2rfc on CentOS 7 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install python-xml2rfc
using yum
by running the following command:
Install python-xml2rfc 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.
After updating yum database, We can install python-xml2rfc
using dnf
by running the following command:
How To Uninstall python-xml2rfc on CentOS 7
To uninstall only the python-xml2rfc
package we can use the following command:
References
Summary
In this tutorial we learn how to install python-xml2rfc
on CentOS 7 using yum
and dnf
.