Recently, I wrote a post on how to upgrade Ubuntu 12.10 Quantal Quetzal to Ubuntu 13.04 Raring Ringtail via Graphical Update Manager. Have you ever know that we can perform such task via command line a.k.a via Terminal? Today I'd like to show you how to upgrade Ubuntu via Terminal, this is just another way to upgrade Ubuntu, of course you can choose which method as you wish, via graphical update manager or via command line :)

The first thing to do is making sure you have selected the right option in "release-upgrade" config file. Open file "/etc/update-manager/release-upgrades" with your favourite text editor (of course with root privilege) and make sure the "normal" option is selected.

Please make sure the currently installed Ubuntu is in its up-to-date state. Simply, execute the following command to do so:
  • sudo apt-get update
  • sudo apt-get dist-upgrade
Then, install the update manager core package, if you have not installed it yet:
  • sudo apt-get install update-manager-core
The last thing to do is execute the following command:
  • sudo do-release-upgrade –d
Relax and follow on-screen instruction, you might asked to confirm some operations.

Good luck :)