How To Install xml2 on Fedora 36
Introduction
In this tutorial we learn how to install xml2 on Fedora 36.
What is xml2
These tools are used to convert XML and HTML to and from a line-oriented format more amenable to processing by classic Unix pipeline processing tools, like grep, sed, awk, cut, shell scripts, and so forth.
We can use yum or dnf to install xml2 on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install xml2.
Install xml2 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 xml2 using dnf by running the following command:
sudo dnf -y install xml2
Install xml2 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 xml2 using yum by running the following command:
sudo yum -y install xml2
How To Uninstall xml2 on Fedora 36
To uninstall only the xml2 package we can use the following command:
sudo dnf remove xml2
xml2 Package Contents on Fedora 36
/usr/bin/2csv
/usr/bin/2html
/usr/bin/2xml
/usr/bin/csv2
/usr/bin/html2
/usr/bin/xml2
/usr/lib/.build-id
/usr/lib/.build-id/01
/usr/lib/.build-id/01/8cf38652e7554618c8f05cb8f76a016ae68edf
/usr/lib/.build-id/04
/usr/lib/.build-id/04/8ebe9a4bf34e1b8ef93157da48ed0433b4ae76
/usr/lib/.build-id/b9
/usr/lib/.build-id/b9/836509c0f35b8b4e2bbccdab0c5caef5a832a7
/usr/lib/.build-id/b9/9ce3a1420d21a3ae0c87ba2536d2f97219049b
/usr/share/licenses/xml2
/usr/share/licenses/xml2/COPYING
References
Summary
In this tutorial we learn how to install xml2 on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).