How To Install xorg-docs-core on Debian 9

In this tutorial we learn how to install xorg-docs-core on Debian 9. xorg-docs-core is Core documentation for the X.org X Window System

Introduction

In this tutorial we learn how to install xorg-docs-core on Debian 9.

What is xorg-docs-core

xorg-docs-core is:

This package contains core documentation for the X.org X Window System. This currently includes only a set of manpages which are standard for the system.

There are three methods to install xorg-docs-core 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 xorg-docs-core Using apt-get

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

sudo apt-get update

After updating apt database, We can install xorg-docs-core using apt-get by running the following command:

sudo apt-get -y install xorg-docs-core

Install xorg-docs-core Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install xorg-docs-core using apt by running the following command:

sudo apt -y install xorg-docs-core

Install xorg-docs-core 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 xorg-docs-core using aptitude by running the following command:

sudo aptitude -y install xorg-docs-core

How To Uninstall xorg-docs-core on Debian 9

To uninstall only the xorg-docs-core package we can use the following command:

sudo apt-get remove xorg-docs-core

Uninstall xorg-docs-core And Its Dependencies

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

sudo apt-get -y autoremove xorg-docs-core

Remove xorg-docs-core Configurations and Data

To remove xorg-docs-core configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge xorg-docs-core

Remove xorg-docs-core configuration, data, and all of its dependencies

We can use the following command to remove xorg-docs-core configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge xorg-docs-core

Dependencies

xorg-docs-core have the following dependencies:

References

Summary

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