How To Install manpages-dev on Ubuntu 20.04
Introduction
In this tutorial we learn how to install manpages-dev
on Ubuntu 20.04.
What is manpages-dev
manpages-dev is:
These man pages describe the Linux programming interface, including these two sections: 2 = Linux system calls. 3 = Library calls (note that a more comprehensive source of information may be found in the glibc-doc and glibc-doc-reference packages). Task: ubuntustudio-video, ubuntu-mate-core, ubuntu-mate-desktop
There are three methods to install manpages-dev
on Ubuntu 20.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 manpages-dev Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install manpages-dev
using apt-get
by running the following command:
sudo apt-get -y install manpages-dev
Install manpages-dev Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install manpages-dev
using apt
by running the following command:
sudo apt -y install manpages-dev
Install manpages-dev 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 manpages-dev
using aptitude
by running the following command:
sudo aptitude -y install manpages-dev
How To Uninstall manpages-dev on Ubuntu 20.04
To uninstall only the manpages-dev
package we can use the following command:
sudo apt-get remove manpages-dev
Uninstall manpages-dev And Its Dependencies
To uninstall manpages-dev
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove manpages-dev
Remove manpages-dev Configurations and Data
To remove manpages-dev
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge manpages-dev
Remove manpages-dev configuration, data, and all of its dependencies
We can use the following command to remove manpages-dev
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge manpages-dev
References
Summary
In this tutorial we learn how to install manpages-dev
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.