Fedorable is a command-line utility designed to maintain and optimize your Fedora Linux system. It automates common cleanup tasks to keep your Fedora installation efficient and well-maintained.
- DNF5 Integration: Utilizes the full capabilities of DNF5
- Comprehensive Cleaning: Manages package caches, old kernels, and more
- System Safety: Implements non-destructive operations with clear feedback
- Performance Optimization: Improves system efficiency through targeted cleanup tasks
Fedorable performs the following cleanup operations:
- Package List Update: Refreshes the list of available packages.
- Unused Package Removal: Removes packages that were automatically installed as dependencies but are no longer required.
- DNF Cache Cleaning: Clears the DNF cache to free up disk space.
- Old Kernel Removal: Removes old kernel versions, keeping only the current and one previous version.
- User Cache Cleaning: Clears user-specific cache files from
/home/*/.cache/
. - System Journal Cleanup: Removes old systemd journal logs.
- Temporary File Removal: Clears temporary files from
/tmp/
. - Orphaned Package Removal: Removes packages that are no longer part of any repository.
-
Clone this repository:
git clone https://github.com/yourusername/fedorable.git cd fedorable
-
Make the script executable:
chmod +x fedorable.sh
Execute the script with sudo privileges:
sudo ./fedorable.sh
The script will guide you through the cleaning process, providing feedback at each step.
To customize the cleanup process, edit fedorable.sh
in your preferred text editor. You can modify, add, or remove cleaning tasks as needed.
Contributions are welcome, including bug reports, feature requests, and pull requests. Please refer to our contribution guidelines for more information.
This script performs system-wide operations. Always review scripts that require sudo privileges before execution. While we prioritize system safety, user discretion is advised.
This project is licensed under the MIT License - see the LICENSE file for details.
- The Fedora community
- The DNF team for their robust package management tool
- All users and contributors of this project
Enhance your Fedora system's performance with Fedorable. If you find this tool useful, please consider starring ⭐ the repository.