How To Install libglib2.0-0 on Ubuntu 20.04

In this tutorial we learn how to install libglib2.0-0 on Ubuntu 20.04. libglib2.0-0 is GLib library of C routines GLib library of C routines GLib library of C routines

Introduction

In this tutorial we learn how to install libglib2.0-0 on Ubuntu 20.04.

What is libglib2.0-0

libglib2.0-0 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 shared libraries. Task: minimal

Package: libglib2.0-0 Architecture: amd64 Version: 2.64.6-1~ubuntu20.04.3 Multi-Arch: same Priority: important Section: libs 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: 3990 Depends: libc6 (>= 2.28), libffi7 (>= 3.3~20180313), libmount1 (>= 2.28), libpcre3, libselinux1 (>= 1.32), zlib1g (>= 1:1.2.2) Recommends: libglib2.0-data, shared-mime-info, xdg-user-dirs Breaks: gimp (« 2.10.14-3~), glib-networking-tests (« 2.63.2), libgirepository-1.0-1 (« 1.62.0-4~), libgladeui-2-6 (« 3.22.2) Filename: pool/main/g/glib2.0/libglib2.0-0_2.64.6-1~ubuntu20.04.3_amd64.deb Size: 1284940 MD5sum: 171719ab582d98af590ea7f7c51a5adf SHA1: 4dcb8ad8cd534da0365d04c211ad6e1056cdd3ea SHA256: d853ec477156451b0696906aa9ac2b9d5ebbbe21354ae00d6c4b3fa15c597a94 SHA512: 1797c750e551e32e8b2c8ca599be69dffc92af124be4bd1811317d255ddd13ce48bbd3058babd63dc5d4bf0afced2681efffdc89acc1811f9b2c2f69a930f1d2 Homepage: http://www.gtk.org/ Description-en: GLib library of C routines 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 shared libraries. Task: minimal

Package: libglib2.0-0 Architecture: amd64 Version: 2.64.2-1~fakesync1 Multi-Arch: same Priority: important Section: libs 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: 3988 Depends: libc6 (>= 2.28), libffi7 (>= 3.3~20180313), libmount1 (>= 2.28), libpcre3, libselinux1 (>= 1.32), zlib1g (>= 1:1.2.2) Recommends: libglib2.0-data, shared-mime-info, xdg-user-dirs Breaks: gimp (« 2.10.14-3~), glib-networking-tests (« 2.63.2), libgirepository-1.0-1 (« 1.62.0-4~), libgladeui-2-6 (« 3.22.2) Filename: pool/main/g/glib2.0/libglib2.0-0_2.64.2-1~fakesync1_amd64.deb Size: 1284284 MD5sum: 5c37b531c2c8fb61ceea19e44dfec4d5 SHA1: 319351516de6daf17dc46af06036496a2dc9e711 SHA256: fed9e05af09107ff763d673cbeee2671b03c7b138d9f23cfa634ddb3636f7faa Homepage: http://www.gtk.org/ Description-en: GLib library of C routines 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 shared libraries. Task: minimal

There are three methods to install libglib2.0-0 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-0 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-0 using apt-get by running the following command:

sudo apt-get -y install libglib2.0-0

Install libglib2.0-0 Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libglib2.0-0 using apt by running the following command:

sudo apt -y install libglib2.0-0

Install libglib2.0-0 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-0 using aptitude by running the following command:

sudo aptitude -y install libglib2.0-0

How To Uninstall libglib2.0-0 on Ubuntu 20.04

To uninstall only the libglib2.0-0 package we can use the following command:

sudo apt-get remove libglib2.0-0

Uninstall libglib2.0-0 And Its Dependencies

To uninstall libglib2.0-0 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-0

Remove libglib2.0-0 Configurations and Data

To remove libglib2.0-0 configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge libglib2.0-0

Remove libglib2.0-0 configuration, data, and all of its dependencies

We can use the following command to remove libglib2.0-0 configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libglib2.0-0

References

Summary

In this tutorial we learn how to install libglib2.0-0 package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.