Skip to content

πŸ§πŸ”„ "Linux-All-In-One-Update-Script" is your go-to solution for simplifying and automating software updates on Linux systems. πŸ”„πŸ§

License

Notifications You must be signed in to change notification settings

gvatsal60/Linux-All-In-One-Update-Script

Linux All-In-One Update Script

License pre-commit.ci status Codacy Badge CodeFactor GitHub pull-requests GitHub issues GitHub forks GitHub stars

This repository contains a versatile shell script designed to streamline the update process for various components of a Linux system. Whether you're a seasoned Linux user or just getting started, this script aims to simplify the often tedious task of updating your system by combining multiple update commands into one convenient script.

Inspired from the repo MacOS-All-In-One-Update-Script.

Features

  • Comprehensive Updates: Update all system packages, including installed applications, libraries, and system components, with a single command.
  • Package Manager Agnostic: Compatible with popular package managers like APT (Debian/Ubuntu), DNF (Fedora/RHEL), Apk (Alpine), Pacman (Arch), and more, ensuring flexibility across different Linux distributions.
  • Customization: Easily configurable options allow users to tailor the script to their preferences and specific system requirements.

Usage

To start using this all-in-one update script, follow these simple steps:

Quick Step

Run the following command in your terminal:

curl -fsSL https://raw.githubusercontent.com/gvatsal60/Linux-All-In-One-Update-Script/HEAD/install.sh | sh

Manual Step

  1. Download the Script: Clone this repository or download the .update.sh script directly to your Linux system.

    curl -fsSL -o "$HOME/.update.sh" https://raw.githubusercontent.com/gvatsal60/Linux-All-In-One-Update-Script/HEAD/.update.sh

    or

    wget -O "$HOME/.update.sh" https://raw.githubusercontent.com/gvatsal60/Linux-All-In-One-Update-Script/HEAD/.update.sh
  2. Make it Executable: Ensure the script has executable permissions. If necessary, grant execution permissions using the following command:

    chmod +x "$HOME/.update.sh"
  3. Execute the Script: Run the script from the terminal using the following command:

    ./$HOME/.update.sh

    Follow the prompts to proceed with the update process.

Depending on your operating system, you might need to source your shell configuration file to apply the changes:

  • For Linux users (Modify accordingly):

    printf "\n# Alias for Update\nalias update='sudo sh ~/.update.sh'\n" >> "${HOME}/.bashrc"
    source ~/.bashrc
    update

Once you've completed these steps, you'll have access to a streamlined update process for your Linux system. Enjoy the convenience of keeping your system up-to-date with ease! 🐧✨

Configuration

  • Package Manager Selection: Modify the script to specify your preferred package manager if it differs from the default.
  • Backup Options: Enable or disable the backup functionality according to your preference.
  • Update Frequency: Set up a cron job or scheduler to automate periodic updates if desired.

Contributions

Contributions to this project are welcome! Whether you're suggesting new features, reporting bugs, or submitting pull requests, your input is valuable in improving this script for the Linux community.

Disclaimer

While this script aims to simplify the update process and enhance system security, it is provided as-is, without any warranties. Use it at your own risk, and always review the script contents before execution to ensure it meets your requirements and does not pose any security risks.

License

This script is licensed under the Apache License 2.0, granting you the freedom to use, modify, and distribute it as you see fit.

Support

For questions, feedback, or support, please open an issue on GitHub or reach out to the maintainers listed in the repository.

Acknowledgments

Special thanks to the open-source community for their contributions, feedback, and ongoing support in improving this script.


Feel free to use, modify, and distribute this script to streamline the update process on your Linux system. If you have any questions or suggestions, don't hesitate to reach out or submit a pull request. Happy updating! πŸ§πŸš€

Updates

Currently including:

  • 🐧 Linux Package Update (apt/dnf/yum/microdnf/pacman)
  • 🍺 Homebrew formulas and casks (brew)
  • πŸ§‘β€πŸ’» VS Code Extensions (code)
  • πŸ’Ž RubyGems (gem)
  • πŸ“¦ Node Package Manager (npm)
  • 🧢 Yarn (yarn)
  • 🐍 Python3 (pip3)
  • 🧢 Rust (cargo)

About

πŸ§πŸ”„ "Linux-All-In-One-Update-Script" is your go-to solution for simplifying and automating software updates on Linux systems. πŸ”„πŸ§

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Sponsor this project

Contributors 5

Languages