Now, Ubuntu 17.04 has been officially released. It is now possible to change your system to the new version. And if you do not know how to do this, follow  these command line and learn how to upgrade Ubuntu via terminal (server and desktop) in this simple tutorial.





Before you  start to upgrade the Ubuntu 17.04 via terminal, you should be aware that Ubuntu 04.17 is not a LTS (Long Term Support or Long Time Support). Therefore, this version along with all its variants (or flavors) recognized by Canonical, and it will have a support of only 9 months

Ubuntu 17.04 via terminal (server and desktop)
image source: AvoidErrors

How to upgrade to Ubuntu 17.04 via terminal (server and desktop)

After taking the necessary precautions, upgrade to Ubuntu 17.04 via terminal (server and desktop), do the following:
Step 1. Log in with your account on an Ubuntu server terminal;

Step 2. Install update-manager-core first, by executing the command below:

sudo apt-get install update-manager-core
Step 3. Make a backup copy of the / etc / update-manager / release-upgrades file before editing it;

sudo cp /etc/update-manager/release-upgrades /etc/update-manager/release-upgrades.original

Step 4. View the / etc / update-manager / release-upgrades file before editing it;

cat /etc/update-manager/release-upgrades



Step 5. According to the contents of the / etc / update-manager / release-upgrades file, use one of the following commands to adjust it;

sudo sed -i 's/Prompt=lts/Prompt=normal/g' /etc/update-manager/release-upgrades
sudo sed -i 's/Prompt=never/Prompt=normal/g' /etc/update-manager/release-upgrades

Step 6. Start the upgrade process with the command:

sudo do-release-upgrade -d

Step 7. Now follow the on-screen instructions and you will be done soon.

Ready! Your system is up to date.