do-release-upgrade Command Examples in Linux

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.

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
Related Post