How To Install freebsd-manpages on Debian 9

In this tutorial we learn how to install freebsd-manpages on Debian 9. freebsd-manpages is Manual pages for a GNU/kFreeBSD system

Introduction

In this tutorial we learn how to install freebsd-manpages on Debian 9.

What is freebsd-manpages

freebsd-manpages is:

This package contains a selection of manual pages from FreeBSD that are useful on a GNU/kFreeBSD system: 2 = System calls (functions provided by the kernel) 4 = Special files (usually found in /dev) 9 = Kernel routines

There are three methods to install freebsd-manpages on Debian 9. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install freebsd-manpages Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install freebsd-manpages using apt-get by running the following command:

sudo apt-get -y install freebsd-manpages

Install freebsd-manpages Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install freebsd-manpages using apt by running the following command:

sudo apt -y install freebsd-manpages

Install freebsd-manpages 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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install freebsd-manpages using aptitude by running the following command:

sudo aptitude -y install freebsd-manpages

How To Uninstall freebsd-manpages on Debian 9

To uninstall only the freebsd-manpages package we can use the following command:

sudo apt-get remove freebsd-manpages

Uninstall freebsd-manpages And Its Dependencies

To uninstall freebsd-manpages and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove freebsd-manpages

Remove freebsd-manpages Configurations and Data

To remove freebsd-manpages configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge freebsd-manpages

Remove freebsd-manpages configuration, data, and all of its dependencies

We can use the following command to remove freebsd-manpages configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge freebsd-manpages

Dependencies

freebsd-manpages have the following dependencies:

References

Summary

In this tutorial we learn how to install freebsd-manpages package on Debian 9 using different package management tools: apt, apt-get and aptitude.