dprofpp command not found

In this troubleshooting guide we learn how to fix dprofpp command not found error message

Introduction

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

dprofpp: command not found

or when using sudo you get the following error message

sudo: dprofpp: command not found

Solutions to dprofpp: command not found

How To Fix dprofpp: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu dprofpp is provided by libdevel-dprof-perl package.

libdevel-dprof-perl is:

The Devel::DProf package is a Perl code profiler. This will collect information on the execution time of a Perl script and of the subs in that script. This information can be used to determine which subroutines are using the most time and which subroutines are being called most often. This information can also be used to create an execution graph of the script, showing subroutine relationships.

Devel::DProf is deprecated. It is recommended that you install and use Devel::NYTProf (in the package libdevel-nytprof-perl) instead, as it offers significantly improved profiling and reporting.

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

sudo apt-get -y install libdevel-dprof-perl

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

You can also use apt command to install libdevel-dprof-perl.

sudo apt -y install libdevel-dprof-perl

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

sudo aptitude install libdevel-dprof-perl

Summary

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