How to Install Bmon on Ubuntu 26.04, 24.04 and 22.04

Last updated Monday, March 16, 2026 1:06 pm 6 min read

When you need live RX and TX numbers from a terminal window, install Bmon on Ubuntu and watch every network interface without leaving the shell. Bmon, short for Bandwidth Monitor, is handy over SSH, during file transfers, or while tracking unexpected traffic spikes.

Ubuntu 26.04, 24.04, and 22.04 package Bmon through the Universe repository, so the same APT workflow handles installation, updates, removal, and a few practical monitoring examples.

Update Ubuntu Before Installing Bmon

Refresh your package lists first so APT pulls the current package set from your configured Ubuntu repositories.

sudo apt update && sudo apt upgrade

These commands use sudo for package management tasks. If your account does not have sudo access yet, follow the guide on add a new user to sudoers on Ubuntu first.

Install Bmon on Ubuntu Using APT

Bmon lives in Ubuntu’s Universe repository. Standard desktop installs usually have Universe enabled already, but some server or minimal images may need it turned on before the package appears.

If APT returns Unable to locate package bmon, enable Universe first with the guide on enable Universe and Multiverse in Ubuntu, then rerun the install command.

sudo apt install -y bmon

Verify the package state with apt-cache policy so you can confirm both the installed version and the Ubuntu repository that provided it.

apt-cache policy bmon
bmon:
  Installed: 1:4.0-10build1
  Candidate: 1:4.0-10build1
  Version table:
 *** 1:4.0-10build1 500
        500 http://au.archive.ubuntu.com/ubuntu resolute/universe amd64 Packages
        100 /var/lib/dpkg/status

Ubuntu 24.04 reports 1:4.0-10, and Ubuntu 22.04 reports 1:4.0-8, but all three supported Ubuntu LTS releases ship the same upstream Bmon 4.0 release.

Use Bmon on Ubuntu

These examples cover the most useful Bmon workflows on Ubuntu, from full-screen traffic monitoring to one-shot output you can drop into scripts.

Run Bmon to Monitor Network Traffic on Ubuntu

Start with the default interactive view when you want to watch all active interfaces in one screen.

bmon

Bmon opens a curses-style interface with live throughput, packet counters, and traffic graphs. Use the arrow keys to switch interfaces, press d for more detail, and press q when you want to leave the display.

Filter Bmon Output by Interface on Ubuntu

Check the interface names first so the -p filter matches the device Ubuntu actually uses.

ip -brief link
lo               UNKNOWN        00:00:00:00:00:00 <LOOPBACK,UP,LOWER_UP>
enp0s3           UP             08:00:27:52:d9:70 <BROADCAST,MULTICAST,UP,LOWER_UP>

Use the name from the first column with -p. On many Ubuntu systems that will be something like enp0s3, ens33, or wlp2s0 instead of the older eth0 naming pattern.

bmon -p enp0s3

You can also match more than one interface, for example bmon -p 'enp*,lo', when you want Ethernet and loopback traffic on the same screen.

Show Bmon Traffic in Bits Instead of Bytes

Use the bits display when you want the numbers to line up with link speeds quoted by your ISP or switch ports.

bmon -b

Add -U if you want SI units based on powers of 1000 instead of powers of 1024.

bmon -b -U

Adjust Bmon Read and Rate Intervals on Ubuntu

Tune the sampling cadence when you want a faster readout or smoother averages during short traffic bursts.

bmon -r 0.5 -R 2.0

This example collects new data every half second and calculates rates over a two-second window, which usually gives steadier graphs with less jitter.

Export Bmon Output for Scripts on Ubuntu

Use the ASCII exporter when you need one snapshot for a script, a cron job, or a quick terminal log.

bmon -p lo -o ascii:quitafter=1
Interfaces                               RX bps         pps      %    TX bps         pps      %
  lo                                          0           0                0           0

The loopback interface makes a safe example because every Ubuntu system has lo. Replace it with a live interface such as enp0s3 or wlp2s0 when you want real traffic numbers in the exported output.

Exit Bmon Cleanly on Ubuntu

Press q in the interactive interface, or use Ctrl+C if you are done with a live session and want to return to the shell prompt immediately.

Troubleshoot Bmon on Ubuntu

Most Bmon problems on Ubuntu come down to missing repository components, interface naming differences, or monitoring the wrong device.

Show Network Interfaces for Bmon on Ubuntu

If Bmon opens without the interface you expect, confirm that Ubuntu can see the adapter before you troubleshoot Bmon itself.

ip -brief link
lo               UNKNOWN        00:00:00:00:00:00 <LOOPBACK,UP,LOWER_UP>
enp0s3           UP             08:00:27:52:d9:70 <BROADCAST,MULTICAST,UP,LOWER_UP>

If the interface appears here but not in Bmon, rerun Bmon with -a so it includes interfaces that are currently down or otherwise inactive.

bmon -a

Use Predictable Interface Names with Bmon on Ubuntu

Ubuntu normally uses predictable names such as enp0s3, ens33, and wlp2s0 instead of the old eth0 pattern. If you copied an older Bmon example that filters eth0, swap in the real interface name from ip -brief link.

Update or Remove Bmon on Ubuntu

Bmon comes from Ubuntu’s standard package repositories, so its maintenance workflow stays simple.

Update Bmon on Ubuntu

Use APT’s single-package upgrade path when you want the newest Bmon package available for your Ubuntu release without upgrading unrelated software at the same time.

sudo apt update && sudo apt install --only-upgrade -y bmon

Remove Bmon on Ubuntu

Remove the package and its no-longer-needed dependencies if you no longer want Bmon on the system.

sudo apt remove -y bmon
sudo apt autoremove -y

Bmon does not create a standard per-user config or cache directory in a basic Ubuntu install, so package removal is usually the only cleanup you need.

Verify the removal with apt-cache policy. This is more reliable than which or command -v in the same shell session because the shell can still cache a previously found binary path after the package is removed.

apt-cache policy bmon
bmon:
  Installed: (none)
  Candidate: 1:4.0-10build1
  Version table:
     1:4.0-10build1 500
        500 http://au.archive.ubuntu.com/ubuntu resolute/universe amd64 Packages
        100 /var/lib/dpkg/status

On Ubuntu 24.04 and 22.04, the candidate revision changes, but the key success state stays the same: Installed: (none).

Bmon on Ubuntu FAQ

Why does Ubuntu say it cannot locate the bmon package?

That usually means the Universe repository is disabled on the system. Bmon is packaged in Universe for Ubuntu 26.04, 24.04, and 22.04, so enable that repository first, then rerun sudo apt install bmon.

Does Bmon work over SSH on Ubuntu?

Yes. Bmon is a terminal application, so it works well in an SSH session as long as the remote shell gives you a normal interactive terminal. It shows traffic on the Ubuntu system you are logged into, not on your local workstation.

Does Bmon keep historical bandwidth data on Ubuntu?

No. Bmon focuses on live interface statistics and one-shot terminal snapshots instead of building a long-term traffic database. If you need history, save periodic snapshots with a scheduler or use a tool built for longer-term traffic collection.

Conclusion

Bmon is installed on Ubuntu and ready to watch live bandwidth from a terminal session, whether you are troubleshooting a busy server over SSH or checking traffic on a desktop link. Install htop on Ubuntu if you also want process and memory analysis. Install nmon on Ubuntu when you want CPU, disk, and network data in one console view.

Search LinuxCapable

Need another guide?

Search LinuxCapable for package installs, commands, troubleshooting, and follow-up guides related to what you just read.

Found this guide useful?

Support LinuxCapable to keep tutorials free and up to date.

Buy me a coffee Buy me a coffee

Before commenting, please review our Comments Policy.
Formatting tips for your comment

You can use basic HTML to format your comment. Useful tags currently allowed:

You type Result
<code>command</code> command
<strong>bold</strong> bold
<em>italic</em> italic
<blockquote>quote</blockquote> quote block

Leave a Comment

We read and reply to every comment - let us know how we can help or improve this guide.

Let us know you are human: