How To Install gnome-api-docs on Debian 10

Learn how to install gnome-api-docs on Debian 10 with this tutorial. gnome-api-docs is API reference documentation for the GNOME libraries

Introduction

In this tutorial we learn how to install gnome-api-docs on Debian 10.

What is gnome-api-docs

gnome-api-docs is:

This metapackage brings all available API documentation for the libraries of the GNOME platform, as well as their important dependencies. This should be most of the documentation you need to write GNOME applications.

This documentation is best viewed within the devhelp documentation browser.

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

Install gnome-api-docs Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install gnome-api-docs

Install gnome-api-docs Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install gnome-api-docs

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

sudo aptitude -y install gnome-api-docs

How To Uninstall gnome-api-docs on Debian 10

To uninstall only the gnome-api-docs package we can use the following command:

sudo apt-get remove gnome-api-docs

Uninstall gnome-api-docs And Its Dependencies

To uninstall gnome-api-docs and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove gnome-api-docs

Remove gnome-api-docs Configurations and Data

To remove gnome-api-docs configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge gnome-api-docs

Remove gnome-api-docs configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge gnome-api-docs

Dependencies

gnome-api-docs have the following dependencies:

References

Summary

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