apport-valgrind command not found

In this troubleshooting guide we learn how to fix apport-valgrind command not found error message

Introduction

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

apport-valgrind: command not found

or when using sudo you get the following error message

sudo: apport-valgrind: command not found

Solutions to apport-valgrind: command not found

How To Fix apport-valgrind: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu apport-valgrind is provided by apport-valgrind package.

apport-valgrind is:

apport-valgrind is a valgrind wrapper that automatically downloads related available debug symbols and provides them to valgrind’s memcheck tool, which is executed. The output is a valgrind log file (“valgrind.log”) that contains stack traces (with as many symbols resolved as available) and that shows memory leaks.

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

sudo apt-get -y install apport-valgrind

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

You can also use apt command to install apport-valgrind.

sudo apt -y install apport-valgrind

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

sudo aptitude install apport-valgrind

Summary

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