Ubuntu Package Updater TUI
This is a small script that uses dialog to update apt, flatpak, snap and pipx. It also cleans caches from the user's $HOME, such as cargo caches from $HOME/.cargo or Spotify's cache from $HOME/.cache/spotify.
It also appends all action logs into a log file for later review. The log file is at $HOME/uput.log.
Usage: uput [option]
-p Update native packages
-s Update snap packages
-f Update flatpak packages
-x Update pipx packages
-c Run cleanup
-a Run all tasks above
-h Show help message
When launching with no option, it runs the interactive TUI.- apt
- bash
- coreutils
- dialog
- flatpak
- ncurses-bin
- pipx
- snapd
- sudo
You can make sure you have all the dependencies installed by running:
sudo apt install -y apt bash coreutils dialog flatpak ncurses-bin pipx snapd sudo
Tested with Bash 5.2.21 and Zsh 5.9 on Ubuntu 24.04