Cleaner tools for Linux Debian
Automate your system maintenance with a single script — remove clutter, free up disk space, and keep your Debian-based system lean and healthy.
- 🗂️ Clean apt cache — Remove cached package files no longer needed
- 🗃️ Remove old config files — Delete leftover config files from uninstalled packages
- 🪨 Remove old kernels — Keep only your current kernel, drop the rest
- 🗑️ Empty every trash — Wipe all user and system trash folders
$ git clone https://github.com/spyschools/clean-linux-system.git
$ cd clean-linux-system
$ sudo chmod +x *Safe mode (no deletion — preview what will be cleaned)
$ sudo ./clean_system.sh --dry-runReal cleanup (performs all cleaning actions)
$ sudo ./clean_system.sh
⚠️ Always run--dry-runfirst to review what will be removed before committing to a real cleanup.
| Tool | Description |
|---|---|
| 🧰 clean-linux-system-root | Tools for the root system |
- Debian-based Linux distribution (Debian, Ubuntu, Mint, etc.)
sudo/ root privileges
This project is open source. See the LICENSE file for details.
Made with ❤️ for a cleaner Linux experience