Cleanux is a command-line utility for cleaning up and optimizing Ubuntu systems. It provides a set of cleanup steps to remove unnecessary packages, clear cache, remove old kernels, clean up APT cache, remove orphaned packages, clean up old configuration files, and remove unused packages and their associated configuration files. Cleanux helps improve disk space utilization and system performance by removing non-useful system files.
To run Cleanux and perform the system cleanup, follow these steps:
-
Open a terminal on your Ubuntu system.
-
Navigate to the directory where you saved the Cleanux script.
-
Run the script to execute Cleanux.
-
Follow the on-screen prompts to confirm or skip each cleanup step.
-
Cleanux will display the amount of disk space saved after each successful cleanup step.
-
Once the cleanup process is complete, Cleanux will display a message indicating the completion of the cleanup.
Cleanux performs the following cleanup steps to optimize your Ubuntu system:
-
Remove Unnecessary Packages: This step removes unnecessary packages that are no longer required by any installed software.
-
Clear Package Cache: This step clears the cache of downloaded packages stored in the APT package cache.
-
Remove Old Kernels: This step removes old kernel packages that are no longer in use.
-
Clean Up APT Cache: This step cleans up the APT cache by removing downloaded package files that are no longer needed.
-
Remove Orphaned Packages: This step identifies and removes orphaned packages that are no longer required by any installed software.
-
Clean Up Old Configuration Files: This step removes old configuration files associated with packages that have been removed but not purged.
-
Remove Unused Packages and Configuration Files: This step removes unused packages and their associated configuration files.
Cleanux is written entirely by ChatGPT 3.5. Including this README file.
Cleanux is released under GPL v3.