how to apt update ubuntu code example Example: how to update ubuntu sudo apt update && sudo apt upgrade -y