xmlif command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
xmlif: command not found
or when using sudo you get the following error message
sudo: xmlif: command not found
Solutions to xmlif: command not found
How To Fix xmlif: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu xmlif is provided by xmlto package.
xmlto is:
xmlto is a front-end to an XSL toolchain. It chooses an appropriate stylesheet for the conversion you want and applies it using an external XSLT processor (currently, only xsltproc is supported). It also performs any necessary post-processing.
It supports converting from DocBook XML to DVI, XSL-FO, HTML and XHTML (one or multiple pages), epub, manual page, PDF, PostScript and plain text. It also supports converting from XSL-FO to DVI, PDF and PostScript.
DVI output requires dblatex or PassiveTeX. Other formats can be produced with any of the supported toolchains - dblatex, PassiveTeX or docbook-xsl/fop (but may require some extensions).
To fix this problem, we can install more using the command below.
sudo apt-get -y install xmlto
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install xmlto.
sudo apt -y install xmlto
Or if you have aptitude installed you can use the following command.
sudo aptitude install xmlto
Summary
In this tutorial we learn how to fix xmlif command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.