Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/v8v88v8v88/fedorable
A Simple bash script for maintaining Fedora Linux systems.
https://github.com/v8v88v8v88/fedorable
cache clean cleanup fedora fedora-workstation script
Last synced: 4 months ago
JSON representation
A Simple bash script for maintaining Fedora Linux systems.
- Host: GitHub
- URL: https://github.com/v8v88v8v88/fedorable
- Owner: V8V88V8V88
- Created: 2024-06-27T03:30:37.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-10-02T06:57:01.000Z (4 months ago)
- Last Synced: 2024-10-12T19:25:42.770Z (4 months ago)
- Topics: cache, clean, cleanup, fedora, fedora-workstation, script
- Language: Shell
- Homepage:
- Size: 4.88 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Fedora Cleanup Script
This script automates the process of cleaning up and maintaining a Fedora Linux system. It removes unnecessary packages, cleans caches, and performs other system maintenance tasks.
## Features
- Updates package list
- Removes unused packages and dependencies
- Cleans DNF cache
- Removes old kernels (keeps current and one previous version)
- Cleans user cache
- Cleans system journal
- Removes temporary files
- Removes orphaned packages## Requirements
- Fedora Linux (tested on Fedora 40 with GNOME 46)
- Root or sudo access## Usage
1. Save the script to a file (e.g., `fedora_cleanup.sh`)
2. Make the script executable:
```
chmod +x fedora_cleanup.sh
```
3. Run the script with sudo:
```
sudo ./fedora_cleanup.sh
```## Warning
This script removes files and packages from your system. While it's designed to be safe, it's recommended to review the script and understand its actions before running it. Consider backing up important data before executing system-wide cleanup operations.
## Customization
You can modify the script to add or remove cleanup tasks according to your needs. Each task is clearly labeled with a descriptive message.
## Contributing
Feel free to fork this script and submit pull requests for any improvements or additional features you think would be beneficial.
## License
This script is released under the MIT License. See the LICENSE file for details.