How To Install libglib2.0-dev-bin on Ubuntu 20.04
Introduction
In this tutorial we learn how to install libglib2.0-dev-bin
on Ubuntu 20.04.
What is libglib2.0-dev-bin
libglib2.0-dev-bin 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 to compile programs against libglib2.0-0. It contains development utilities typically run during compilation and should not be installed directly. Use libglib2.0-dev instead.
Package: libglib2.0-dev-bin Architecture: amd64 Version: 2.64.6-1~ubuntu20.04.3 Multi-Arch: foreign Priority: optional Section: libdevel 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: 630 Depends: python3-distutils, python3:any, libc6 (>= 2.28), libglib2.0-0 (>= 2.39.4) Suggests: libgdk-pixbuf2.0-bin (>= 2.36.12-2~) | libgdk-pixbuf2.0-dev, libxml2-utils Breaks: libglib2.0-bin (« 2.54.2-5~), libglib2.0-dev (« 2.53) Replaces: libglib2.0-bin (« 2.54.2-5~), libglib2.0-dev (« 2.53) Filename: pool/main/g/glib2.0/libglib2.0-dev-bin_2.64.6-1~ubuntu20.04.3_amd64.deb Size: 109080 MD5sum: c9b17bd0ffabd7e9f1bba9beae6a7065 SHA1: c51aeb85853715d054436f541297f81a2a82817d SHA256: aa3055826655234b32d7b7b54d99f7f6e2c405d1f56c5cf0c64d3344d4de3db9 SHA512: 3f07c6ae87ecebd3593927826f432a5d67af4d6d3e224d4b95c1d3d70e83f038ba1ea41879c3cb783632305de30fe56cabc7c73acc2c22926cb362486a749862 Homepage: http://www.gtk.org/ Description-en: Development utilities 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 is needed to compile programs against libglib2.0-0. It contains development utilities typically run during compilation and should not be installed directly. Use libglib2.0-dev instead.
Package: libglib2.0-dev-bin Architecture: amd64 Version: 2.64.2-1~fakesync1 Multi-Arch: foreign Priority: optional Section: libdevel 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: 629 Depends: python3-distutils, python3:any, libc6 (>= 2.28), libglib2.0-0 (>= 2.39.4) Suggests: libgdk-pixbuf2.0-bin (>= 2.36.12-2~) | libgdk-pixbuf2.0-dev, libxml2-utils Breaks: libglib2.0-bin (« 2.54.2-5~), libglib2.0-dev (« 2.53) Replaces: libglib2.0-bin (« 2.54.2-5~), libglib2.0-dev (« 2.53) Filename: pool/main/g/glib2.0/libglib2.0-dev-bin_2.64.2-1~fakesync1_amd64.deb Size: 108808 MD5sum: af9083b18df76644ea329e69c95cb70d SHA1: 47a4f19a230f0a099c3e4aeb80f8df6bc777f4eb SHA256: b19cbfc224bad04f7cc3dd7765ff16318ddac559a99cd72f1dbef1fbfb9be30a Homepage: http://www.gtk.org/ Description-en: Development utilities 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 is needed to compile programs against libglib2.0-0. It contains development utilities typically run during compilation and should not be installed directly. Use libglib2.0-dev instead.
There are three methods to install libglib2.0-dev-bin
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-dev-bin 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-dev-bin
using apt-get
by running the following command:
sudo apt-get -y install libglib2.0-dev-bin
Install libglib2.0-dev-bin Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libglib2.0-dev-bin
using apt
by running the following command:
sudo apt -y install libglib2.0-dev-bin
Install libglib2.0-dev-bin 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-dev-bin
using aptitude
by running the following command:
sudo aptitude -y install libglib2.0-dev-bin
How To Uninstall libglib2.0-dev-bin on Ubuntu 20.04
To uninstall only the libglib2.0-dev-bin
package we can use the following command:
sudo apt-get remove libglib2.0-dev-bin
Uninstall libglib2.0-dev-bin And Its Dependencies
To uninstall libglib2.0-dev-bin
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-dev-bin
Remove libglib2.0-dev-bin Configurations and Data
To remove libglib2.0-dev-bin
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge libglib2.0-dev-bin
Remove libglib2.0-dev-bin configuration, data, and all of its dependencies
We can use the following command to remove libglib2.0-dev-bin
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libglib2.0-dev-bin
References
Summary
In this tutorial we learn how to install libglib2.0-dev-bin
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.