This script has been tested and verified on Ubuntu and Debian.
The sysUpdate
Bash script was developed to simplify the process of updating Linux systems. It supports various distributions, including Ubuntu, Debian, Fedora, openSUSE, CentOS, Kali Linux, and more. The script automatically detects the operating system and its version, then performs the necessary update steps.
- System Detection: The script automatically detects the operating system and its version.
- Package Update: It updates the package list and performs various update steps, including package upgrades, system upgrades, and removal of unnecessary dependencies.
- Snap Package Update: The script also updates Snap packages if installed.
- User-Friendly Options: The script provides optional parameters such as restart, shutdown, and clearing the terminal after completing updates.
- Support for Ubuntu System Upgrades: If desired, the script allows an upgrade to a new version of Ubuntu.
Execute the script with: bash ./sysUpdate.sh
Optional parameters:
-h
or--help
: Display help and available options.-r
or--reboot
: Restart after completing updates.-s
or--shutdown
: Shutdown after completing updates.-c
or--clear
: Clear the terminal after completing the update.--system-upgrade
: Only for Ubuntu system upgrades (e.g., from 20.04 LTS to 22.04 LTS).
This script requires the availability of the lsb_release
command for operating system detection and may require additional packages depending on the distribution.
- Script Name:
sysUpdate
- Script Version:
v2.2.1
- Creator: GitHub/R2Turuk2
- Create Date and Time: 2024.03.09 17:00
- Update Date and Time: 2024.05.02 14:40
- Permissions:
chmod +x sysUpdate.sh
- Checksum:
80e9467f71f1ed6e0cfcf88eaa48e39fcd9fc7bd4a407100ae456a55dddb9edf