How To Install pybootchartgui on Ubuntu 18.04

In this tutorial we learn how to install pybootchartgui on Ubuntu 18.04. pybootchartgui is boot sequence visualisation

Introduction

In this tutorial we learn how to install pybootchartgui on Ubuntu 18.04.

What is pybootchartgui

pybootchartgui is:

pybootchartgui is a tool for visualization and analysis of the GNU/Linux boot process. It renders the output of the boot-logger tool bootchart interactively or to files of various formats.

Bootchart collects information about the processes, their dependencies, and resource consumption during boot of a GNU/Linux system. The pybootchartgui tools visualizes the process tree and overall resource utilization.

pybootchartgui is a port of the original visualization part of bootchart from Java to Python and Cairo.

In Ubuntu, the tools to collect the information can be found in the bootchart package.

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

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

sudo apt-get update

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

sudo apt-get -y install pybootchartgui

Install pybootchartgui Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install pybootchartgui using apt by running the following command:

sudo apt -y install pybootchartgui

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

sudo aptitude -y install pybootchartgui

How To Uninstall pybootchartgui on Ubuntu 18.04

To uninstall only the pybootchartgui package we can use the following command:

sudo apt-get remove pybootchartgui

Uninstall pybootchartgui And Its Dependencies

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

sudo apt-get -y autoremove pybootchartgui

Remove pybootchartgui Configurations and Data

To remove pybootchartgui configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge pybootchartgui

Remove pybootchartgui configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge pybootchartgui

References

Summary

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