gman command not found

In this troubleshooting guide we learn how to fix gman command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

gman: command not found

or when using sudo you get the following error message

sudo: gman: command not found

Solutions to gman: command not found

How To Fix gman: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu gman is provided by gman package.

gman is:

Gman is a simple front-end for the manual page system. The most basic job of gman is to build a database for all the man pages and display them (or part of them) on the screen. When user decides to read a man page, gman will launch an external viewer to display the manual page. More than one external viewer windows can be launched at the same time.

The default manual page viewer is a terminal window with the original man(1). It can also launch gv, evince, or a link to a CGI script which utilizes man2html, for viewing manual pages using a web browser.

There is an index search function to look for the man pages that one needs. It’s simple, but it’s useful.

To fix this problem, we can install more using the command below.

sudo apt-get -y install gman

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install gman.

sudo apt -y install gman

Or if you have aptitude installed you can use the following command.

sudo aptitude install gman

Summary

In this tutorial we learn how to fix gman command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.