massif-visualizer command not found

In this troubleshooting guide we learn how to fix massif-visualizer command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

massif-visualizer: command not found

or when using sudo you get the following error message

sudo: massif-visualizer: command not found

Solutions to massif-visualizer: command not found

How To Fix massif-visualizer: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu massif-visualizer is provided by massif-visualizer package.

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.

To fix this problem, we can install more using the command below.

sudo apt-get -y install massif-visualizer

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install massif-visualizer.

sudo apt -y install massif-visualizer

Or if you have aptitude installed you can use the following command.

sudo aptitude install massif-visualizer

Summary

In this tutorial we learn how to fix massif-visualizer command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.