How To Install libglib2.0-data on Ubuntu 20.04

In this tutorial we learn how to install libglib2.0-data on Ubuntu 20.04. libglib2.0-data is Common files for GLib library Common files for GLib library Common files for GLib library

Introduction

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

What is libglib2.0-data

libglib2.0-data 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 is needed for the runtime libraries to display messages in languages other than English. Task: minimal

Package: libglib2.0-data Architecture: all Version: 2.64.6-1~ubuntu20.04.3 Multi-Arch: foreign Priority: important Section: misc 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: 104 Filename: pool/main/g/glib2.0/libglib2.0-data_2.64.6-1~ubuntu20.04.3_all.deb Size: 5988 MD5sum: a793551c6cafda4279a23bd163967fc9 SHA1: b9cbac58d102c2e75b843251d72170829791bda2 SHA256: 10a1715a77758a84eeeeb4a99f9e5c0768cce3cbab3ea4ceb4557994bd6e1488 SHA512: 44c254a99f64c4bac665ef0db03272971193952cee97d835871c02df5c35c8e00bc8422366d8371bcb9899c986edc9f542b474a4318e61055e2ed523f3314b66 Homepage: http://www.gtk.org/ Description-en: Common files for 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 is needed for the runtime libraries to display messages in languages other than English. Task: minimal

Package: libglib2.0-data Architecture: all Version: 2.64.2-1~fakesync1 Multi-Arch: foreign Priority: important Section: misc 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: 104 Filename: pool/main/g/glib2.0/libglib2.0-data_2.64.2-1~fakesync1_all.deb Size: 6436 MD5sum: aeedfb0fc1e44173b031b51f15df4f2b SHA1: 23eff9e1e33d5e8810184e109adabd8a538b9f17 SHA256: e7fed26e93db589adab4df3bdf492dc4f01005754d071e348d8aa4050c3f0329 Homepage: http://www.gtk.org/ Description-en: Common files for 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 is needed for the runtime libraries to display messages in languages other than English. Task: minimal

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

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

Install libglib2.0-data Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libglib2.0-data

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

sudo aptitude -y install libglib2.0-data

How To Uninstall libglib2.0-data on Ubuntu 20.04

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

sudo apt-get remove libglib2.0-data

Uninstall libglib2.0-data And Its Dependencies

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

Remove libglib2.0-data Configurations and Data

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

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

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

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

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

References

Summary

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