upgrade 20.04 to 21.04 code example Example: update to 21.04 from 20.04 $ sudo apt update $ sudo apt upgrade $ sudo apt dist-upgrade