How To Install glib-networking-tests on Ubuntu 20.04

In this tutorial we learn how to install glib-networking-tests on Ubuntu 20.04. glib-networking-tests is network-related giomodules for GLib - installed tests network-related giomodules for GLib - installed tests

Introduction

In this tutorial we learn how to install glib-networking-tests on Ubuntu 20.04.

What is glib-networking-tests

glib-networking-tests is:

This package contains test programs, designed to be run as part of a regression testsuite.

Package: glib-networking-tests Architecture: amd64 Version: 2.64.1-1 Priority: optional Section: universe/misc Source: glib-networking Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian GNOME Maintainers [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 321 Depends: libc6 (>= 2.4), libglib2.0-0 (>= 2.63.0), glib-networking (= 2.64.1-1), ca-certificates Filename: pool/universe/g/glib-networking/glib-networking-tests_2.64.1-1_amd64.deb Size: 71296 MD5sum: a7021cad335204fc9f060aa2fdfaff87 SHA1: 6edc66514e8b4172e12dadae6db529b5a927bba5 SHA256: 2889690057761fa7359585a0b430a228258ff90cd0a26af1e04f6b578341ef11 Description-en: network-related giomodules for GLib - installed tests This package contains test programs, designed to be run as part of a regression testsuite.

There are three methods to install glib-networking-tests 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 glib-networking-tests Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install glib-networking-tests using apt-get by running the following command:

sudo apt-get -y install glib-networking-tests

Install glib-networking-tests Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install glib-networking-tests using apt by running the following command:

sudo apt -y install glib-networking-tests

Install glib-networking-tests 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 glib-networking-tests using aptitude by running the following command:

sudo aptitude -y install glib-networking-tests

How To Uninstall glib-networking-tests on Ubuntu 20.04

To uninstall only the glib-networking-tests package we can use the following command:

sudo apt-get remove glib-networking-tests

Uninstall glib-networking-tests And Its Dependencies

To uninstall glib-networking-tests and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove glib-networking-tests

Remove glib-networking-tests Configurations and Data

To remove glib-networking-tests configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge glib-networking-tests

Remove glib-networking-tests configuration, data, and all of its dependencies

We can use the following command to remove glib-networking-tests configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge glib-networking-tests

References

Summary

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