how to update ubuntu to latest stable version code example Example: upgrade ubuntu command line sudo apt update sudo apt upgrade