The do-release-upgrade command is a command-line utility in Ubuntu and other Debian-based Linux distributions that is used to upgrade the system to a newer release of the distribution. It is typically used to upgrade from one version of Ubuntu to another, such as from 18.04 to 20.04. It performs the upgrade by downloading and installing the necessary packages and making any necessary configuration changes. The command should be executed with root or sudo privileges.
If you encounter the below error while running the command do-release-upgrade:
do-release-upgrade: command not found
you may try installing the below package as per your choice of distribution:
do-release-upgrade Command Examples
1. Upgrade to the latest release:
# do-release-upgrade
2. Upgrade to the latest development release:
# do-release-upgrade --devel-release
3. Upgrade to the latest proposed release:
# do-release-upgrade --proposed