How To Install d-feet on Ubuntu 18.04

In this tutorial we learn how to install d-feet on Ubuntu 18.04. d-feet is D-Bus object browser, viewer and debugger

Introduction

In this tutorial we learn how to install d-feet on Ubuntu 18.04.

What is d-feet

d-feet is:

d-feet is a D-Bus debugger that allow you to:

  • View names on the session and system bus
  • View exported objects, interfaces, methods and signals
  • View the full command line of services on the bus
  • Execute methods with parameters on the bus and see their return values

There are three methods to install d-feet 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 d-feet Using apt-get

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

sudo apt-get update

After updating apt database, We can install d-feet using apt-get by running the following command:

sudo apt-get -y install d-feet

Install d-feet Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install d-feet

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

sudo aptitude -y install d-feet

How To Uninstall d-feet on Ubuntu 18.04

To uninstall only the d-feet package we can use the following command:

sudo apt-get remove d-feet

Uninstall d-feet And Its Dependencies

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

sudo apt-get -y autoremove d-feet

Remove d-feet Configurations and Data

To remove d-feet configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge d-feet

Remove d-feet configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge d-feet

References

Summary

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