Upgrade Ubuntu From the Command Line

Every 6 months, Ubuntu releases a new version of its Linux distribution. Since I always forget the command to update my installation, I wrote it down this time. And I added two additional steps you should not miss.

First, make a backup. If something goes wrong, you keep your data and may only need to reinstall your computer. Do not skip this step!

Second, update the packages on your system with these two commands:

Third, do the release upgrade with this command:

This command asks a few questions you should read carefully before you answer it. The less changes you made in the services, the more often you can accept the new configuration files.

That is all it takes to update your Ubuntu installation from the command line. I hope it helps you with your next Ubuntu upgrade.

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.