Mar 30, 2018

How to Upgrade Ubuntu

By update-manager-core, you can run upgrade command and walk away. Ubuntu will handle the rest.

$ sudo apt install update-manager-core
When that finishes, run the Ubuntu upgrade utility.
$ sudo do-release-upgrade

Another way, by apt:
$ sudo apt update 
 $ sudo apt upgrade 
$ sudo apt autoremove
$ sudo apt dist-upgrade