How To Install gawk-xml on Fedora 36

In this tutorial we learn how to install gawk-xml in Fedora 36. gawk-xml is XML support for gawk

Introduction

In this tutorial we learn how to install gawk-xml on Fedora 36.

What is gawk-xml

gawk-xml provides the gawk XML extension module, as well as the xmlgawk script and some gawk include libraries for enhanced XML processing.

We can use yum or dnf to install gawk-xml on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install gawk-xml.

Install gawk-xml 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 gawk-xml using dnf by running the following command:

sudo dnf -y install gawk-xml

Install gawk-xml 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 gawk-xml using yum by running the following command:

sudo yum -y install gawk-xml

How To Uninstall gawk-xml on Fedora 36

To uninstall only the gawk-xml package we can use the following command:

sudo dnf remove gawk-xml

gawk-xml Package Contents on Fedora 36

/usr/bin/xmlgawk
/usr/lib/.build-id
/usr/lib/.build-id/65
/usr/lib/.build-id/65/7250e63b0cef9a3f4956931f7237d90be514d5
/usr/lib64/gawk/xml.so
/usr/share/awk/dtdgport.awk
/usr/share/awk/getXMLEVENT.awk
/usr/share/awk/xmlbase.awk
/usr/share/awk/xmlcopy.awk
/usr/share/awk/xmllib.awk
/usr/share/awk/xmlsimple.awk
/usr/share/awk/xmltree.awk
/usr/share/awk/xmlwrite.awk
/usr/share/doc/gawk-xml
/usr/share/doc/gawk-xml/NEWS
/usr/share/doc/gawk-xml/sample.xml
/usr/share/info/gawk-xml.info.gz
/usr/share/licenses/gawk-xml
/usr/share/licenses/gawk-xml/COPYING
/usr/share/locale/es/LC_MESSAGES/gawk-xml.mo
/usr/share/man/man1/xmlgawk.1.gz
/usr/share/man/man3/xmlbase.3am.gz
/usr/share/man/man3/xmlcopy.3am.gz
/usr/share/man/man3/xmlsimple.3am.gz
/usr/share/man/man3/xmltree.3am.gz
/usr/share/man/man3/xmlwrite.3am.gz

References

Summary

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