update ubuntu from terminal 20.4 to 20.10 code example Example: upgrade ubuntu 16.04 to 20.04 sudo apt update && sudo apt upgrade sudo do-release-upgrade