troff2rtf command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
troff2rtf: command not found
or when using sudo you get the following error message
sudo: troff2rtf: command not found
Solutions to troff2rtf: command not found
How To Fix troff2rtf: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu troff2rtf is provided by troffcvt package.
troffcvt is:
Use this package to convert manuals and manpages and other documents written using troff to more manageable formats, such as HTML, RTF, or plain text.
To fix this problem, we can install more using the command below.
sudo apt-get -y install troffcvt
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install troffcvt.
sudo apt -y install troffcvt
Or if you have aptitude installed you can use the following command.
sudo aptitude install troffcvt
Summary
In this tutorial we learn how to fix troff2rtf command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.