How To Install python3-topplot on Kali Linux

In this tutorial we learn how to install python3-topplot on Kali Linux. python3-topplot is Python modules to munge top logs using topplot

Introduction

In this tutorial we learn how to install python3-topplot on Kali Linux.

What is python3-topplot

python3-topplot is:

topplot produces graphs of information it munges from top logs. It can select which processes to focus on, and it can split out information by cpu core (if top was configured to record the cpu core column, and/or display the cpu summary info by core). topplot can save the graphs as PNG files. It can also print information derived from the logs to stdout, with or without emitting the graphs. There may be better, more efficient ways of collecting live system information, but if for some reason you’ve hundreds of thousands of lines of top logs and you want to see what’s in them, topplot can help.

This package includes Python modules which may be reusable by other tools that want to use topplot modules.

There are three methods to install python3-topplot on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install python3-topplot Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install python3-topplot

Install python3-topplot Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install python3-topplot

Install python3-topplot Using aptitude

If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install python3-topplot using aptitude by running the following command:

sudo aptitude -y install python3-topplot

How To Uninstall python3-topplot on Kali Linux

To uninstall only the python3-topplot package we can use the following command:

sudo apt-get remove python3-topplot

Uninstall python3-topplot And Its Dependencies

To uninstall python3-topplot and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove python3-topplot

Remove python3-topplot Configurations and Data

To remove python3-topplot configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge python3-topplot

Remove python3-topplot configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge python3-topplot

Dependencies

python3-topplot have the following dependencies:

References

Summary

In this tutorial we learn how to install python3-topplot package on Kali Linux using different package management tools: apt, apt-get and aptitude.