How To Install gnome-desktop-testing on Ubuntu 18.04

In this tutorial we learn how to install gnome-desktop-testing on Ubuntu 18.04. gnome-desktop-testing is runner for GNOME installed tests

Introduction

In this tutorial we learn how to install gnome-desktop-testing on Ubuntu 18.04.

What is gnome-desktop-testing

gnome-desktop-testing is:

The GNOME desktop testing runner provides an execution harness for GNOME installed tests.

These tests are useful for verifying the functionality of software as installed and packaged, and complement rather than replace build-time (‘make check’) tests. For example you may wish to run the installed tests from a DEP-8 autopkgtest testsuite as a form of regression testing.

There are three methods to install gnome-desktop-testing on Ubuntu 18.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 gnome-desktop-testing Using apt-get

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

sudo apt-get update

After updating apt database, We can install gnome-desktop-testing using apt-get by running the following command:

sudo apt-get -y install gnome-desktop-testing

Install gnome-desktop-testing Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install gnome-desktop-testing using apt by running the following command:

sudo apt -y install gnome-desktop-testing

Install gnome-desktop-testing 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 gnome-desktop-testing using aptitude by running the following command:

sudo aptitude -y install gnome-desktop-testing

How To Uninstall gnome-desktop-testing on Ubuntu 18.04

To uninstall only the gnome-desktop-testing package we can use the following command:

sudo apt-get remove gnome-desktop-testing

Uninstall gnome-desktop-testing And Its Dependencies

To uninstall gnome-desktop-testing and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove gnome-desktop-testing

Remove gnome-desktop-testing Configurations and Data

To remove gnome-desktop-testing configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge gnome-desktop-testing

Remove gnome-desktop-testing configuration, data, and all of its dependencies

We can use the following command to remove gnome-desktop-testing configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge gnome-desktop-testing

References

Summary

In this tutorial we learn how to install gnome-desktop-testing package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.