Repository navigation
Preen 0.1.0
Superseded by 0.1.1, which fixes input validation in the root helper. Please install 0.1.1.
First release of Preen: one app to clean, uninstall, analyze and monitor Linux, inspired by Mole for macOS.
What's in it
- Clean: caches, logs, old snap versions, crash dumps, old kernels, browser and Electron app caches, and developer caches (uv, pnpm, npm, Bun, pip, Gradle, Cargo, Go). Running apps are skipped.
- Uninstall: apt, snap, Flatpak and AppImage apps with their leftovers. Settings stay unless you select them; leftovers go to the Trash.
- Disk: what uses space, folder by folder, with Move to Trash.
- Projects: rebuildable
node_modules,target,build,.venvand similar folders. - Installers:
.deb,.rpm,.run,.exeand similar files in Downloads and Desktop. - Maintenance: rebuilds font and app-menu caches, flushes DNS, sets snap retention, and runs health checks.
- Overview: live CPU, memory, disks, network, battery, sensors and the busiest processes.
- The same features from the terminal:
preen clean --dry-run,preen uninstall --list,preen status --watch, and the rest.
Install (Ubuntu / Kubuntu 26.04)
wget https://github.com/youxufkhan/preen/releases/download/v0.1.0/preen_0.1.0_amd64.deb
sudo apt install ./preen_0.1.0_amd64.debThe .deb needs Qt 6.10 and KDE Frameworks 6. On other distributions, use preen-linux-amd64 (the command-line engine, a single static binary) or build from source.
Safety
Every change is shown for review first. Every delete passes one validated gate (fuzz-tested). Root work goes through pkexec with a fixed action list, and everything removed is logged (preen history).
Known limitations
- Tested on one Kubuntu 26.04 machine. Previews and user-level cleaning were verified. Actions that need your password (apt cache, old kernels, snaps, package removal) are new: run
--dry-runfirst and report issues. - Not yet supported: Fedora and Arch packages, Flatpak unused-runtime cleanup, cleanup of data left by apps removed long ago, and fingerprint login for sudo.
Verify downloads with sha256sum -c SHA256SUMS.