How To Install colplot on Ubuntu 20.04

In this tutorial we learn how to install colplot on Ubuntu 20.04. colplot is Utility to plot performance data from collectl

Introduction

In this tutorial we learn how to install colplot on Ubuntu 20.04.

What is colplot

colplot is:

At its core, colplot is nothing more than a script that has intimate knowledge of collectl plot file and directory format. Based on the types of plots being requested and some basic formatting options, it will build the necessary gnuplot commands and automatically run them for you.

Colplot can be run either through a web-based interface or a command line. As this introduction is not intended to be a User’s Guide, see the colplot man page to identify which command line switches map to which web-based options. Also note that to produce plots on your terminal in command mode you must be running on a system that supports X terminals or windows. No, that is not a typo. Colplot does run on PCs. Also note if you direct colplot to write your plots to a file X is not required.

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

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

sudo apt-get update

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

sudo apt-get -y install colplot

Install colplot Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install colplot

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

sudo aptitude -y install colplot

How To Uninstall colplot on Ubuntu 20.04

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

sudo apt-get remove colplot

Uninstall colplot And Its Dependencies

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

sudo apt-get -y autoremove colplot

Remove colplot Configurations and Data

To remove colplot configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge colplot

Remove colplot configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge colplot

References

Summary

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