How to Fix bash: cbm: command not found in Minimal Linux Distributions

The cbm (Color Bandwidth Meter) utility is a lightweight console-based tool that visualises network interface throughput in real time with colour-coded reception and transmission graphs. Minimal Linux server distributions, container base images, and cloud server instances omit cbm by default, returning the bash: cbm: command not found error when executing network inspections.

Install cbm on Ubuntu, Debian, and Derivatives

On Debian and Ubuntu systems, cbm is maintained directly in the universe software repositories:

  1. Update your local package lists:
    sudo apt update
  2. Install the cbm package:
    sudo apt install -y cbm
  3. Confirm successful installation and launch the live monitor:
    which cbm
    cbm

Install cbm on Fedora, CentOS, and RHEL Clones

On enterprise Linux distributions, cbm can be compiled directly or installed via extra package repositories:

  1. On Fedora systems, install cbm via DNF:
    sudo dnf install -y cbm
  2. On RHEL or AlmaLinux, if binary packages are not present in EPEL, install build prerequisites and compile from source:
    sudo dnf install -y gcc make ncurses-devel
    git clone https://github.com/resurrecting-open-source-projects/cbm.git
    cd cbm && make && sudo make install

Install cbm on Arch Linux and Navigation Tips

For rolling distributions:

  • On Arch Linux, install directly from the extra repositories:
    sudo pacman -Syu cbm
  • Once launched, navigate between active network interfaces using the Up and Down arrow keys.
  • Press b to toggle between megabits/second (Mbps) and megabytes/second (MB/s).
  • Press q to safely exit the curses monitor.

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.