css2xslfo command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
css2xslfo: command not found
or when using sudo you get the following error message
sudo: css2xslfo: command not found
Solutions to css2xslfo: command not found
How To Fix css2xslfo: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu css2xslfo is provided by css2xslfo package.
css2xslfo is:
CSSToXSLFO is a utility which can convert an XML document, together with a CSS2 style sheet, into an XSL-FO document, which can then be converted into PDF, PostScript, etc. with an XSL-FO-processor. It has special support for the XHTML vocabulary, because that is the most obvious language it would be used for. The tool has a number of page-related extensions. It also comes with an API in the form of an XML filter.
To fix this problem, we can install more using the command below.
sudo apt-get -y install css2xslfo
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install css2xslfo.
sudo apt -y install css2xslfo
Or if you have aptitude installed you can use the following command.
sudo aptitude install css2xslfo
Summary
In this tutorial we learn how to fix css2xslfo command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.