funcslower-perf command not found

In this troubleshooting guide we learn how to fix funcslower-perf command not found error message

Introduction

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

funcslower-perf: command not found

or when using sudo you get the following error message

sudo: funcslower-perf: command not found

Solutions to funcslower-perf: command not found

How To Fix funcslower-perf: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu funcslower-perf is provided by perf-tools-unstable package.

perf-tools-unstable is:

A miscellaneous collection of in-development and unsupported performance analysis tools for Linux perf_events, aka the “perf” command, and ftrace. Both perf_events and ftrace are core Linux tracing tools, and are included in the Linux kernel source.

These tools are designed to be simple to use, easy to install, and provide advanced performance observability. This collection was written by Brendan Gregg (author of the DTraceToolkit).

Many of these tools employ workarounds so that functionality is possible on existing Linux kernels. Because of this, many tools have caveats (see man pages), and their implementation should be considered a placeholder until future kernel features, or new tracing subsystems, are added.

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

sudo apt-get -y install perf-tools-unstable

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

You can also use apt command to install perf-tools-unstable.

sudo apt -y install perf-tools-unstable

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

sudo aptitude install perf-tools-unstable

Summary

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