btop command not found

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

Introduction

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

btop: command not found

or when using sudo you get the following error message

sudo: btop: command not found

Solutions to btop: command not found

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

In Ubuntu btop is provided by btop package.

btop is:

btop is a modern and colorful command line resource monitor that shows usage and stats for processor, memory, disks, network and processes. btop features:

  • Easy to use, with a game inspired menu system.
  • Full mouse support, all buttons with a highlighted key is clickable and mouse scroll works in process list and menu boxes.
  • Fast and responsive UI with UP, DOWN keys process selection.
  • Function for showing detailed stats for selected process.
  • Ability to filter processes.
  • Easy switching between sorting options.
  • Tree view of processes.
  • Send any signal to selected process.
  • UI menu for changing all config file options.
  • Auto scaling graph for network usage.
  • Shows IO activity and speeds for disks
  • Battery meter
  • Selectable symbols for the graphs
  • Custom presets
  • And more… btop is written in C++ and is continuation of bashtop and bpytop.

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

sudo apt-get -y install btop

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

You can also use apt command to install btop.

sudo apt -y install btop

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

sudo aptitude install btop

Summary

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