Cleaner tools for Linux Debian Optimized for root-level system maintenance.
- ποΈ Clean APT cache β Free up space used by downloaded package files
- ποΈ Remove old config files β Purge leftover configs from uninstalled packages
- π§ Remove old kernels β Keep only the kernels you need
- πͺ£ Empty every trash β Wipe all trash directories system-wide
β οΈ This is the Root Version β Run from the root terminal.
Open a root terminal and run the following commands:
# Clone the repository
git clone https://github.com/spyschools/clean-linux-system-root.git
# Navigate into the directory
cd clean-linux-system-root
# Make the script executable
chmod +x *Preview what will be cleaned without making any changes:
./clean_system.sh --dry-runRun the full cleanup:
./clean_system.shLooking for a non-root version for everyday home use?
π clean-linux-system β Tools for home Linux users
- Debian-based Linux distribution (Debian, Ubuntu, Linux Mint, etc.)
- Root or sudo access
- Bash shell
Always run --dry-run first to review what will be removed before performing the actual cleanup. Use at your own risk.
This project is open source. Contributions and feedback are welcome!