How To Install bustle-pcap on Ubuntu 18.04

In this tutorial we learn how to install bustle-pcap on Ubuntu 18.04. bustle-pcap is D-Bus traffic capture tool for the pcap format

Introduction

In this tutorial we learn how to install bustle-pcap on Ubuntu 18.04.

What is bustle-pcap

bustle-pcap is:

Bustle is a tool to chart and provide timing information of D-Bus calls for profiling and debugging purposes. It is intended to replace reading the cryptic output of dbus-monitor.

This package contains the capture tool which will capture the D-Bus traffic into a pcap file that can be visualized using Bustle.

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

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

sudo apt-get update

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

sudo apt-get -y install bustle-pcap

Install bustle-pcap Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install bustle-pcap

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

sudo aptitude -y install bustle-pcap

How To Uninstall bustle-pcap on Ubuntu 18.04

To uninstall only the bustle-pcap package we can use the following command:

sudo apt-get remove bustle-pcap

Uninstall bustle-pcap And Its Dependencies

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

sudo apt-get -y autoremove bustle-pcap

Remove bustle-pcap Configurations and Data

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

sudo apt-get -y purge bustle-pcap

Remove bustle-pcap configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge bustle-pcap

References

Summary

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