dwww-txt2html command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
dwww-txt2html: command not found
or when using sudo you get the following error message
sudo: dwww-txt2html: command not found
Solutions to dwww-txt2html: command not found
How To Fix dwww-txt2html: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu dwww-txt2html is provided by dwww package.
dwww is:
All installed on-line documentation will be served via a local HTTP server at http://localhost/dwww/. This package runs cron scripts to convert available resources to the HTML pages. Executing the dwww command starts a sensible WWW browser locally to access them.
You need to install a CGI-capable HTTP server and enable its CGI script capability manually (CGI may be disabled by default for the security consideration). For apache2, do something along the following:
$ sudo a2enmod cgid $ sudo systemctl restart apache2
The default for the HTTP/CGI access is limited to the local user for the security consideration.
To fix this problem, we can install more using the command below.
sudo apt-get -y install dwww
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install dwww.
sudo apt -y install dwww
Or if you have aptitude installed you can use the following command.
sudo aptitude install dwww
Summary
In this tutorial we learn how to fix dwww-txt2html command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.