sysprof-cli command not found

In this troubleshooting guide we learn how to fix sysprof-cli command not found error message

Introduction

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

sysprof-cli: command not found

or when using sudo you get the following error message

sudo: sysprof-cli: command not found

Solutions to sysprof-cli: command not found

How To Fix sysprof-cli: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu sysprof-cli is provided by sysprof package.

sysprof is:

Sysprof is a sampling CPU profiler that uses a ptrace in Linux kernel to profile the entire system, not just a single application. Sysprof handles shared libraries and applications do not need to be recompiled. In fact they don’t even have to be restarted.

It has the following features:

  • profiles all running processes, not just a single application
  • has a simple graphical interface
  • shows the time spent in each branch of the call tree
  • profiles can be loaded and saved

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

sudo apt-get -y install sysprof

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

You can also use apt command to install sysprof.

sudo apt -y install sysprof

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

sudo aptitude install sysprof

Summary

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