Ubuntu – Upgrading from the command line?

command linerelease-managementupgrade

I would like to know how to upgrade from my current version of Ubuntu to the next stable from the Command line interface?

Best Answer

You'll first need to make sure update-manager-core is present (it may already be installed):

sudo apt-get install update-manager-core

Next, run:

sudo do-release-upgrade

You may need to check /etc/update-manager/release-upgrades and change the line:

Prompt=lts

to:

Prompt=normal

for the release to show up.

Related Question