How To Install gman on Ubuntu 22.04
Introduction
In this tutorial we learn how to install gman
on Ubuntu 22.04.
What is gman
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.
There are three methods to install gman
on Ubuntu 22.04. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install gman Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install gman
using apt-get
by running the following command:
sudo apt-get -y install gman
Install gman Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install gman
using apt
by running the following command:
sudo apt -y install gman
Install gman Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install gman
using aptitude
by running the following command:
sudo aptitude -y install gman
How To Uninstall gman on Ubuntu 22.04
To uninstall only the gman
package we can use the following command:
sudo apt-get remove gman
Uninstall gman And Its Dependencies
To uninstall gman
and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:
sudo apt-get -y autoremove gman
Remove gman Configurations and Data
To remove gman
configuration and data from Ubuntu 22.04 we can use the following command:
sudo apt-get -y purge gman
Remove gman configuration, data, and all of its dependencies
We can use the following command to remove gman
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge gman
References
Summary
In this tutorial we learn how to install gman
package on Ubuntu 22.04 using different package management tools: apt
, apt-get
and aptitude
.