how to upgrade to ubuntu 21.04 from 20.4 lts code example Example: upgrade ubuntu 16.04 to 20.04 sudo apt update && sudo apt upgrade sudo do-release-upgrade