docbook2rtf command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
docbook2rtf: command not found
or when using sudo you get the following error message
sudo: docbook2rtf: command not found
Solutions to docbook2rtf: command not found
How To Fix docbook2rtf: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu docbook2rtf is provided by docbook-utils package.
docbook-utils is:
The docbook-utils is a set of a few small programs intended to ease everyday use of technical documentation software and more generally use of SGML and XML.
Tasks they currently accomplish are:
- jw: convert DocBook files to other formats (HTML, RTF, Postscript, PDF).
- sgmldiff: detect the differences in markup between two SGML files.
- docbook2man: converts a DocBook refentry to a man page.
To fix this problem, we can install more using the command below.
sudo apt-get -y install docbook-utils
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install docbook-utils.
sudo apt -y install docbook-utils
Or if you have aptitude installed you can use the following command.
sudo aptitude install docbook-utils
Summary
In this tutorial we learn how to fix docbook2rtf command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.