How To Install massif-visualizer on Debian 10

Learn how to install massif-visualizer on Debian 10 with this tutorial. massif-visualizer is Tool for visualizing memory usage recorded by Valgrind Massif

Introduction

In this tutorial we learn how to install massif-visualizer on Debian 10.

What is massif-visualizer

massif-visualizer is:

Massif Visualizer is a graphical interface to visualize memory usage recorded by Valgrind Massif tool.

Run your application in Valgrind with –tool=massif and then open the generated massif.out.%pid in the visualizer. Gzip or Bzip2 compressed Massif files can also be opened transparently.

There are three methods to install massif-visualizer on Debian 10. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install massif-visualizer Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install massif-visualizer

Install massif-visualizer Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install massif-visualizer

Install massif-visualizer 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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install massif-visualizer

How To Uninstall massif-visualizer on Debian 10

To uninstall only the massif-visualizer package we can use the following command:

sudo apt-get remove massif-visualizer

Uninstall massif-visualizer And Its Dependencies

To uninstall massif-visualizer and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove massif-visualizer

Remove massif-visualizer Configurations and Data

To remove massif-visualizer configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge massif-visualizer

Remove massif-visualizer configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge massif-visualizer

Dependencies

massif-visualizer have the following dependencies:

References

Summary

In this tutorial we learn how to install massif-visualizer package on Debian 10 using different package management tools: apt, apt-get and aptitude.