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

The bmon utility provides real-time terminal bandwidth monitoring and interface rate packet graphing. Minimal Linux distributions, stripped container base images, and cloud server instances do not include bmon by default, leading to the bash: bmon: command not found error when executing network diagnostics.

Install bmon on Debian, Ubuntu, and Derivatives

On Debian-based systems, bmon is maintained directly inside the standard universe software repositories:

  1. Update your local package lists:
    sudo apt update
  2. Install the binary package:
    sudo apt install -y bmon
  3. Verify the command location and launch the interactive curses interface:
    which bmon
    bmon

Install bmon on RHEL, AlmaLinux, Rocky Linux, and Fedora

Enterprise Linux distributions require enabling the EPEL (Extra Packages for Enterprise Linux) repository before installing bmon:

  1. Enable EPEL on RHEL or compatible enterprise clones:
    sudo dnf install -y epel-release
  2. Refresh DNF metadata cache:
    sudo dnf makecache
  3. Install bmon:
    sudo dnf install -y bmon
  4. On Fedora systems, run sudo dnf install -y bmon directly.

Install bmon on Alpine Linux and Arch Linux

For lightweight container images and rolling distributions:

  • On Alpine Linux, install via the community repository:
    apk update && apk add bmon
  • On Arch Linux, install from the official extra repositories:
    sudo pacman -Syu bmon
  • Once installed, execute bmon -p eth0 to monitor a specific interface or navigate using the arrow keys to inspect inbound and outbound traffic graphs.

Get the best tech tips delivered straight to your inbox.

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