Install btop on Ubuntu with APT or Snap
Verified
Contents
On Ubuntu 22.04 or 24.04, start with APT if you want btop managed by the same package manager as the rest of your system packages. Check for a package candidate first. If you already tried Snap, check which command your shell resolves before installing another copy.
Check the APT package candidate
Run these commands on the Ubuntu machine where you want to use btop:
sudo apt updateapt-cache policy btopA version on the Candidate: line means APT has a version selected for installation. Clean Ubuntu 22.04 and 24.04 arm64 containers both had a candidate from universe; Jammy selected 1.2.3-2, and Noble selected 1.3.0-1. Use the candidate on your own machine to make the install decision. The upstream project lists APT for Ubuntu and Debian. btop installation documentation
If the candidate is missing, check whether apt update succeeded and whether your sources include Ubuntu’s universe component for your release. A minimal image or a restricted mirror can have a different source list. If you manage the machine and can enable that component, refresh the package lists and run the policy check again. Ubuntu repository documentation
Once a candidate appears:
sudo apt install btopcommand -v btopbtop --versiondpkg-query -W btopThe APT install resolved to /usr/bin/btop in both containers. The dpkg-query line reports the installed Debian package version, which can include an Ubuntu or Debian revision suffix. The btop --version line reports the executable’s own version.
Choose Snap when you want that package channel
On an Ubuntu host with Snap available, the Snap Store instructions use:
sudo snap install btopsnap list btopsnap run btopRun btop from an interactive terminal to open the dashboard. snap run btop explicitly selects the Snap app. That makes it useful for comparison when plain btop starts a different installation. The Snap steps follow the store documentation and were outside the APT container check. Snap Store installation instructions
Confirm which installation Bash runs
Package managers can both report btop installed. Use the shell’s lookup to see which one you actually start:
type -a btopcommand -v btopbtop --versionIf you see both /usr/bin/btop and /snap/bin/btop, compare the package records and invoke each explicitly when diagnosing a version difference. A path under /usr/local/bin may indicate a manual installation. If Bash resolves an alias or function, type -a exposes that too. Bash builtins reference
The lookup was checked by putting a second btop path ahead of /usr/bin in Bash. type -a reported both paths and the earlier one appeared first. That check used a temporary symlink to the APT binary. On a host with both packages, you can compare /usr/bin/btop --version with snap run btop --version directly. If the dashboard opens and a GPU or sensor reading is missing, use the btop GPU and sensor troubleshooting guide to diagnose that metric.