Skip to content

automatiza el proceso de limpieza y mantenimiento de un sistema operativo Ubuntu, asegurando que esté libre de dependencias y paquetes rotos. Además, actualiza el sistema y realiza tareas de optimización esenciales.

License

Notifications You must be signed in to change notification settings

Dario-git-hub/ubuntu-system-cleaner

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Ubuntu System Cleaner and Maintenance Tool

# Ubuntu System Cleaner and Maintenance Tool

A comprehensive Bash script designed to clean, optimize, and maintain Ubuntu-based systems, ensuring they are free from broken dependencies, unnecessary packages, and cached files. Ideal for keeping your system in top shape with minimal effort.

## Features

- **System Updates**: Updates the package list and upgrades installed packages.
- **Dependency Management**: Fixes broken dependencies and reconfigures pending packages.
- **Automatic Cleanup**: Removes orphaned packages and cleans cached package files.
- **System Repair**: Ensures all packages are properly configured and resolves issues with broken packages.
- **Reboot Option**: Restarts the system automatically after the maintenance process (optional).

## Requirements

- **Supported Systems**: Ubuntu 22.04 LTS (Noble) or other Ubuntu-based distributions.
- **Permissions**: Root privileges are required to execute the script.

## Installation

1. Clone the repository:

   ```bash
   git clone https://github.com/espinozan/ubuntu-system-cleaner.git
   cd ubuntu-system-cleaner
  1. Make the script executable:

    chmod +x ubuntu_system_cleaner.sh

Usage

  1. Run the script with superuser privileges:

    sudo ./ubuntu_system_cleaner.sh
  2. Follow the prompts displayed during execution. The script will:

    • Update the system packages.
    • Clean up unnecessary dependencies.
    • Fix broken packages and configurations.
    • Optimize the system's performance.
  3. If you do not wish to reboot automatically after maintenance, edit the script and comment out or remove the following line:

    sudo reboot

Example

The script will output real-time progress as it runs:

Starting system update...
System update completed.

Cleaning up unnecessary packages...
Cleanup completed.

Fixing broken dependencies...
No broken dependencies found.

Process completed. System will now restart.

Contributing

Contributions are welcome! If you have suggestions, feature requests, or bug reports, feel free to open an issue or submit a pull request.

License

This project is licensed under the GNU General Public License v3.0. See the LICENSE file for more details.


Author: Nahuel Espinoza
Maintained with ❤️ for the Linux community.

About

automatiza el proceso de limpieza y mantenimiento de un sistema operativo Ubuntu, asegurando que esté libre de dependencias y paquetes rotos. Además, actualiza el sistema y realiza tareas de optimización esenciales.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%