How To Install gnome-api-docs on Debian 11
Introduction
In this tutorial we learn how to install gnome-api-docs
on Debian 11.
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 11. 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 11
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 11, 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 11 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:
- libatk1.0-doc
- libclutter-1.0-doc
- libclutter-gtk-1.0-doc
- libcogl-doc
- libgdk-pixbuf2.0-doc
- libglib2.0-doc
- gnome-devel-docs
- libgtk-3-doc
- libgail-3-doc
- libpango1.0-doc
References
Summary
In this tutorial we learn how to install gnome-api-docs
package on Debian 11 using different package management tools: apt
, apt-get
and aptitude
.