ubuntu upgrade to new version command line code example Example: upgrade ubuntu command line sudo apt update sudo apt upgrade