Upgrading your Ubuntu Version from the Command Line
Last updated:First update your system:
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
then download the updater:
sudo apt-get install update-manager-core
sudo do-release-upgrade