man2html command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
man2html: command not found
or when using sudo you get the following error message
sudo: man2html: command not found
Solutions to man2html: command not found
How To Fix man2html: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu man2html is provided by man2html-base package.
man2html-base is:
The package contains a command-line tool for converting man pages into HTML format.
man2html-base is a stripped-down package containing only a man to HTML converter, useful for users who do not need any CGI interface, provided in the man2html package.
To fix this problem, we can install more using the command below.
sudo apt-get -y install man2html-base
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install man2html-base.
sudo apt -y install man2html-base
Or if you have aptitude installed you can use the following command.
sudo aptitude install man2html-base
Summary
In this tutorial we learn how to fix man2html command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.