How To Install libglib2.0-doc on Ubuntu 20.04
Introduction
In this tutorial we learn how to install libglib2.0-doc
on Ubuntu 20.04.
What is libglib2.0-doc
libglib2.0-doc is:
GLib is a library containing many useful C routines for things such as trees, hashes, lists, and strings. It is a useful general-purpose C library used by projects such as GTK+, GIMP, and GNOME.
This package contains the HTML documentation for the GLib library in /usr/share/doc/libglib2.0-doc/
Package: libglib2.0-doc Architecture: all Version: 2.64.6-1~ubuntu20.04.3 Multi-Arch: foreign Priority: optional Section: doc Source: glib2.0 Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian GNOME Maintainers [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 21459 Suggests: devhelp Filename: pool/main/g/glib2.0/libglib2.0-doc_2.64.6-1~ubuntu20.04.3_all.deb Size: 1437412 MD5sum: 58db6fa34768caf4f7ae62c3ef2fde55 SHA1: b52ac381092f0d2b3a497fad93c96c06448e9eab SHA256: 3e6a97115960bce0f26c847bcdbe89bae2b2021342864d869e6b71125e3caf61 SHA512: 090b154685a583f32aab404cda83f6a7789fc1369657303bcdd8f82016fda5e80595d553d0ba19fef54f13c109932736119f668a97403d2ccad27719537001d1 Homepage: http://www.gtk.org/ Description-en: Documentation files for the GLib library GLib is a library containing many useful C routines for things such as trees, hashes, lists, and strings. It is a useful general-purpose C library used by projects such as GTK+, GIMP, and GNOME.
This package contains the HTML documentation for the GLib library in /usr/share/doc/libglib2.0-doc/
Package: libglib2.0-doc Architecture: all Version: 2.64.2-1~fakesync1 Multi-Arch: foreign Priority: optional Section: doc Source: glib2.0 Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian GNOME Maintainers [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 21457 Suggests: devhelp Filename: pool/main/g/glib2.0/libglib2.0-doc_2.64.2-1~fakesync1_all.deb Size: 1437880 MD5sum: 0f01f0ce697a02d8e66cc9f73c655471 SHA1: 0d7bae3aeae3f3541ae33d224d4792cdf317d429 SHA256: 4ba707bc3d866dd0a1600839c6d78c8fe67548c22c8a84f32c150dbf9e17c8a2 Homepage: http://www.gtk.org/ Description-en: Documentation files for the GLib library GLib is a library containing many useful C routines for things such as trees, hashes, lists, and strings. It is a useful general-purpose C library used by projects such as GTK+, GIMP, and GNOME.
This package contains the HTML documentation for the GLib library in /usr/share/doc/libglib2.0-doc/
There are three methods to install libglib2.0-doc
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 libglib2.0-doc Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install libglib2.0-doc
using apt-get
by running the following command:
sudo apt-get -y install libglib2.0-doc
Install libglib2.0-doc Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libglib2.0-doc
using apt
by running the following command:
sudo apt -y install libglib2.0-doc
Install libglib2.0-doc 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 libglib2.0-doc
using aptitude
by running the following command:
sudo aptitude -y install libglib2.0-doc
How To Uninstall libglib2.0-doc on Ubuntu 20.04
To uninstall only the libglib2.0-doc
package we can use the following command:
sudo apt-get remove libglib2.0-doc
Uninstall libglib2.0-doc And Its Dependencies
To uninstall libglib2.0-doc
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove libglib2.0-doc
Remove libglib2.0-doc Configurations and Data
To remove libglib2.0-doc
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge libglib2.0-doc
Remove libglib2.0-doc configuration, data, and all of its dependencies
We can use the following command to remove libglib2.0-doc
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libglib2.0-doc
References
Summary
In this tutorial we learn how to install libglib2.0-doc
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.