How To Install runsnakerun on Ubuntu 18.04

In this tutorial we learn how to install runsnakerun on Ubuntu 18.04. runsnakerun is GUI utility for (Python) cProfile or Profile profiler dumps

Introduction

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

What is runsnakerun

runsnakerun is:

RunSnakeRun is a small GUI utility that allows you to view (Python) cProfile or Profile profiler dumps in a sortable GUI view.

It allows you to explore the profiler information using a “square map” visualization or sortable tables of data.

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

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

sudo apt-get update

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

sudo apt-get -y install runsnakerun

Install runsnakerun Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install runsnakerun

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

sudo aptitude -y install runsnakerun

How To Uninstall runsnakerun on Ubuntu 18.04

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

sudo apt-get remove runsnakerun

Uninstall runsnakerun And Its Dependencies

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

sudo apt-get -y autoremove runsnakerun

Remove runsnakerun Configurations and Data

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

sudo apt-get -y purge runsnakerun

Remove runsnakerun configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge runsnakerun

References

Summary

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