How To Install dbus-tests on Ubuntu 20.04

In this tutorial we learn how to install dbus-tests on Ubuntu 20.04. dbus-tests is simple interprocess messaging system (test infrastructure) simple interprocess messaging system (test infrastructure)

Introduction

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

What is dbus-tests

dbus-tests is:

D-Bus is a message bus, used for sending messages between applications. Conceptually, it fits somewhere in between raw sockets and CORBA in terms of complexity.

This package provides automated and manual tests for D-Bus, and the dbus-test-tool utility. It also provides copies of the D-Bus libraries and executables compiled with extra debug information and logging.

See the dbus package description for more information about D-Bus in general.

Package: dbus-tests Architecture: amd64 Version: 1.12.16-2ubuntu2 Priority: extra Section: universe/misc Source: dbus Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Utopia Maintenance Team [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 7068 Depends: dbus, libapparmor1 (>= 2.10), libaudit1 (>= 1:2.2.1), libc6 (>= 2.17), libcap-ng0 (>= 0.7.9), libdbus-1-3 (= 1.12.16-2ubuntu2), libexpat1 (>= 2.1~beta3), libglib2.0-0 (>= 2.37.6), libselinux1 (>= 2.0.65), libsystemd0, libx11-6 Recommends: gnome-desktop-testing Breaks: dbus-1-dbg (« 1.11.10-2~) Replaces: dbus-1-dbg (« 1.11.10-2~) Filename: pool/universe/d/dbus/dbus-tests_1.12.16-2ubuntu2_amd64.deb Size: 1002044 MD5sum: 8fc7708d0f71716a7f9bf7ede99d09f7 SHA1: c8a6b39c7a57387024b5ee956f2ecd5064e4c8de SHA256: fa2d750c5fff1f9a01e5114f32797c8da71e0055d05dedf7d5a7adc01f5c74dd Homepage: http://dbus.freedesktop.org/ Description-en: simple interprocess messaging system (test infrastructure) D-Bus is a message bus, used for sending messages between applications. Conceptually, it fits somewhere in between raw sockets and CORBA in terms of complexity.

This package provides automated and manual tests for D-Bus, and the dbus-test-tool utility. It also provides copies of the D-Bus libraries and executables compiled with extra debug information and logging.

See the dbus package description for more information about D-Bus in general.

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

sudo apt-get -y install dbus-tests

Install dbus-tests Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install dbus-tests

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

sudo aptitude -y install dbus-tests

How To Uninstall dbus-tests on Ubuntu 20.04

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

sudo apt-get remove dbus-tests

Uninstall dbus-tests And Its Dependencies

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

sudo apt-get -y autoremove dbus-tests

Remove dbus-tests Configurations and Data

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

sudo apt-get -y purge dbus-tests

Remove dbus-tests configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge dbus-tests

References

Summary

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