help2man command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
help2man: command not found
or when using sudo you get the following error message
sudo: help2man: command not found
Solutions to help2man: command not found
How To Fix help2man: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu help2man is provided by help2man package.
help2man is:
Program to create simple man pages from the –help and –version output of other programs.
Since most GNU documentation is now in info format, this provides a way to generate a placeholder man page pointing to that resource while still providing some useful information.
To fix this problem, we can install more using the command below.
sudo apt-get -y install help2man
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install help2man.
sudo apt -y install help2man
Or if you have aptitude installed you can use the following command.
sudo aptitude install help2man
Summary
In this tutorial we learn how to fix help2man command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.