Linux · System Tools
Baobab
Baobab is a disk usage analyzer for GNOME that visualises folder sizes in a treemap.
- License
- GPL-3.0
- Latest version
- 50.0
What is Baobab?
Baobab was introduced in the early 2000s as part of the GNOME project, providing a graphical way to see how disk space is used. It has been maintained in major distributions for years, with regular updates that keep it compatible with the latest GNOME releases.
It is aimed at regular users who need a quick visual overview of their filesystem, as well as power users who want to spot large files or directories that are taking up space.
Compared to tools like WinDirStat, Baobab offers a simpler interface and tighter integration with GNOME. It may feel less feature‑rich but is easier to use for most day‑to‑day tasks.
Best for: Users who want a quick, visual overview of disk usage on a GNOME system.
Key features of Baobab
- Treemap visualisation of disk usage
- Scan local and remote filesystems
- Shows free space and used space in a single view
- Provides a detailed file list on click
- Supports scanning of mounted volumes
- Can exclude directories from scans
- Displays file types and sizes
Pros
- Free and open source
- Integrated with GNOME desktop
- Easy to use interface
- Fast scans on typical filesystems
Cons
- Limited command‑line options
- No advanced filtering like WinDirStat
- Does not support detailed file‑type statistics
- No built‑in cleanup tools
Windows programs Baobab replaces
How to install Baobab on Linux
sudo apt install baobabsudo apt install baobabsudo dnf install baobabsudo pacman -S baobabsudo zypper install baobabTips for Windows users
If you come from WinDirStat, note that Baobab only displays a treemap; you can click a rectangle to see the underlying files. There are no separate file‑type statistics panels. Use the right‑click context menu to open a folder in Nautilus or to launch a terminal at that location. Keyboard shortcuts are minimal: F5 refresh, Ctrl+Q quit. The file format is the same as the system’s filesystem; no special export/import is required.
Baobab: frequently asked questions
Can Baobab scan network shares?
Yes, if the share is mounted (e.g., via SMB or NFS), Baobab can scan it like any other directory.
Does Baobab delete files?
No, it only analyses space; you must delete files manually or use another tool.
How do I exclude a directory?
Right‑click the directory in the tree view and choose "Exclude"; it will be omitted from future scans.
Is there a command‑line version?
Baobab itself is GUI only, but you can use the underlying command‑line tool "du" for scripts.
Updated