FOSS-Wiki

Updates

I use aliases to easily perform processes for the system on the server. One of these is update, which updates and upgrades the entire system, as well as removing unnecessary junk.

alias ll="ls -l"
alias update="sudo apt-get update && sudo apt upgrade && sudo apt autoremove"
alias update_docker="bash ~/update-docker-bash.sh"
alias install="sudo apt-get install"

System updates

This process is very simple. Just run update and enter your password (if requested). If there are updates available, accept them by pressing Y and then Enter.

Docker

To simplify the entire update process for services installed via Docker, I have built a bash script: update-docker-bash.sh. It is not perfect and clearly needs to be rewritten, but it works.

I have made the file public at gist.airikr.me/airikr/ae3c61beef4344ce9ab4fa4af3dd6384.

Last updated 2025-08-10, 11:09.