How To Install xmlto on Fedora 34

xmlto is A tool for converting XML files to various formats

Introduction

In this tutorial we learn how to install xmlto on Fedora 34.

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 Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install xmlto.

Install xmlto on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install xmlto using dnf by running the following command:

sudo dnf -y install xmlto

Install xmlto on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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 Fedora 34

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

sudo dnf remove xmlto

xmlto Package Contents on Fedora 34

/usr/bin/xmlif
/usr/bin/xmlto
/usr/lib/.build-id
/usr/lib/.build-id/e7
/usr/lib/.build-id/e7/69b4493691980bd521eb2e9db8623418156652
/usr/share/doc/xmlto
/usr/share/doc/xmlto/AUTHORS
/usr/share/doc/xmlto/ChangeLog
/usr/share/doc/xmlto/NEWS
/usr/share/doc/xmlto/README
/usr/share/licenses/xmlto
/usr/share/licenses/xmlto/COPYING
/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 Fedora 34 using yum and dnf.