Maintenance script to update/upgrade Ubuntu software packages and OS. Feel free to fork and tailor it according to your own needs.
- 📦 Supports snap, flatpak and apt package upgrades;
- 🗑️ Cleaning unnecessary/old packages, cache and files.
This script will not upgrade to a newer Ubuntu version. Run sudo do-release-upgrade for this purpose.
The first thing I do on a clean installation...
chmod +x update.sh
./update.sh- Ubuntu 25.04
By Mike Margreve ([email protected]) and licensed under MIT. The original source can be found here: https://github.com/margrevm/ubuntu-update