Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

18 Commits
Β 
Β 
Β 
Β 

Repository files navigation

🧹 Clean Linux System

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.


✨ Features

  • πŸ—‚οΈ 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

πŸš€ Getting Started

Installation

$ git clone https://github.com/spyschools/clean-linux-system.git
$ cd clean-linux-system
$ sudo chmod +x *

Usage

Safe mode (no deletion β€” preview what will be cleaned)

$ sudo ./clean_system.sh --dry-run

Real cleanup (performs all cleaning actions)

$ sudo ./clean_system.sh

⚠️ Always run --dry-run first to review what will be removed before committing to a real cleanup.


πŸ”— Related Tools

Tool Description
🧰 clean-linux-system-root Tools for the root system

πŸ“‹ Requirements

  • Debian-based Linux distribution (Debian, Ubuntu, Mint, etc.)
  • sudo / root privileges

πŸ“„ License

This project is open source. See the LICENSE file for details.


Made with ❀️ for a cleaner Linux experience

About

Cleaner tools for Linux Debian. Clean apt cache. Removing old config files. Removing old kernels. Emptying every trashes

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages