How To Install xmlto on Rocky Linux 8

In this tutorial we learn how to install xmlto on Rocky Linux 8. xmlto is A tool for converting XML files to various formats

Introduction

In this tutorial we learn how to install xmlto on Rocky Linux 8.

What is xmlto

This is a package for converting XML files to various formats using XSL stylesheets.

We can use yum or dnf to install xmlto on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install xmlto.

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

sudo dnf -y install xmlto

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

sudo yum -y install xmlto

How To Uninstall xmlto on Rocky Linux 8

To uninstall only the xmlto package we can use the following command:

sudo dnf remove xmlto

xmlto Package Contents on Rocky Linux 8

/usr/bin/xmlif
/usr/bin/xmlto
/usr/lib/.build-id
/usr/lib/.build-id/e5
/usr/lib/.build-id/e5/a87141b4a6d122cec5568216e39209fc6812f9
/usr/share/doc/xmlto
/usr/share/doc/xmlto/AUTHORS
/usr/share/doc/xmlto/COPYING
/usr/share/doc/xmlto/ChangeLog
/usr/share/doc/xmlto/NEWS
/usr/share/doc/xmlto/README
/usr/share/man/man1/xmlif.1.gz
/usr/share/man/man1/xmlto.1.gz
/usr/share/xmlto
/usr/share/xmlto/format
/usr/share/xmlto/format/docbook
/usr/share/xmlto/format/docbook/awt
/usr/share/xmlto/format/docbook/dvi
/usr/share/xmlto/format/docbook/epub
/usr/share/xmlto/format/docbook/fo
/usr/share/xmlto/format/docbook/html
/usr/share/xmlto/format/docbook/html-nochunks
/usr/share/xmlto/format/docbook/htmlhelp
/usr/share/xmlto/format/docbook/javahelp
/usr/share/xmlto/format/docbook/man
/usr/share/xmlto/format/docbook/mif
/usr/share/xmlto/format/docbook/pcl
/usr/share/xmlto/format/docbook/pdf
/usr/share/xmlto/format/docbook/ps
/usr/share/xmlto/format/docbook/svg
/usr/share/xmlto/format/docbook/txt
/usr/share/xmlto/format/docbook/xhtml
/usr/share/xmlto/format/docbook/xhtml-nochunks
/usr/share/xmlto/format/fo
/usr/share/xmlto/format/fo/awt
/usr/share/xmlto/format/fo/mif
/usr/share/xmlto/format/fo/pcl
/usr/share/xmlto/format/fo/svg
/usr/share/xmlto/format/fo/txt
/usr/share/xmlto/xmlto.mak

References

Summary

In this tutorial we learn how to install xmlto on Rocky Linux 8 using yum and dnf.