nytprofpf command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
nytprofpf: command not found
or when using sudo you get the following error message
sudo: nytprofpf: command not found
Solutions to nytprofpf: command not found
How To Fix nytprofpf: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu nytprofpf is provided by libdevel-nytprof-perl package.
libdevel-nytprof-perl is:
Devel::NYTProf is a powerful feature-rich perl source code profiler.
- Performs per-line statement profiling for fine detail
- Performs per-subroutine statement profiling for overview
- Performs per-block statement profiling (the first profiler to do so)
- Accounts correctly for time spent after calls return
- Performs inclusive and exclusive timing of subroutines
- Subroutine times are per calling location (a powerful feature)
- Can profile compile-time activity, just run-time, or just END time
- Uses novel techniques for efficient profiling
- Sub-microsecond (100ns) resolution on systems with clock_gettime()
- Very fast - the fastest statement and subroutine profilers for perl
- Handles applications that fork, with no performance cost
- Immune from noise caused by profiling overheads and I/O
- Program being profiled can stop/start the profiler
- Generates richly annotated and cross-linked html reports
- Trivial to use with mod_perl - add one line to httpd.conf
- Includes an extensive test suite
- Tested on very large codebases
NYTProf is effectively two profilers in one: a statement profiler, and a subroutine profiler.
NYTProf stands for ‘New York Times Profiler’. Indeed, this module was initially developed from Devel::FastProf by The New York Times Co. to help their developers quickly identify bottlenecks in large Perl applications.
To fix this problem, we can install more using the command below.
sudo apt-get -y install libdevel-nytprof-perl
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install libdevel-nytprof-perl.
sudo apt -y install libdevel-nytprof-perl
Or if you have aptitude installed you can use the following command.
sudo aptitude install libdevel-nytprof-perl
Summary
In this tutorial we learn how to fix nytprofpf command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.