How To Upgrade Fedora Linux Easily

fedora logo1   How To Upgrade Fedora Linux EasilyWhile one of our MakeUseOf authors wrote a great guide on upgrading Ubuntu to the latest version (which can be found here), we haven’t offered one that helped users upgrade their Fedora installation to the latest and greatest. Considering some of the features that have been coming out in recent Fedora releases (such as GNOME 3 for Fedora 15, GRUB 2 for Fedora 16, and possibly Btrfs for Fedora 17), upgrading will give you plenty of benefits.

So, how exactly do we do this?

Helpful Information

Before I begin, please note that within the Linux community, it’s generally advised to simply do a clean install rather than upgrade Fedora Linux. This is recommended because a clean install will give you a clean operating system, without any obsolete packages, configuration files, and other “junk” that may be generated from an upgrade. Additionally, some distributions handle upgrading to newer versions better than others do, so it is said as a more general rule.

However, there may be times when doing a clean install isn’t really needed because you’d like to keep everything that’s been installed and you’re happy with the “cleanliness” of your hard drive. I’ve found Fedora to be one of the best at upgrading to newer versions (despite even the Fedora community not explicitly recommending to use the upgrade path).

In my experience Ubuntu has a more complicated way to upgrade to releases more than a 6-month cycle away, and even direct upgrades tend to have some problems when complete. Fedora hasn’t ever had these problems, so I’d recommend it more than anything else.

Upgrading

There are two different ways that you can upgrade your Fedora Linux installation. In reality, there are more than two different methods, but the two that I will mention are the only sure-fire ways of having an easy, successful upgrade.

You can either upgrade using a utility called “preupgrade”, or upgrade using the DVD version of the desired Fedora release.

Using preupgrade

The preupgrade utility has a couple of advantages and “disadvantages” over the DVD. With preupgrade, you will only have to download the installer and the packages on your system that need updating. When downloading the DVD, you’re also downloading a lot of packages (such as different server packages) that you don’t even have and that just sit there on the DVD, untouched.

preupgrade also automatically changes all your repositories (even the custom ones) to start using the newer repositories, although I believe the DVD does this as well. As for any claimed downsides, it apparently doesn’t run the upgrade quite as well as the DVD does, but I haven’t had any problems with it yet so I only consider that to be a rumor.

fedora update preupgrade install   How To Upgrade Fedora Linux Easily
To use the preupgrade utility, you’ll need to install it via the package manager or run sudo yum install preupgrade. Then to start it, you’ll need to open up a terminal if you haven’t already and run sudo preupgrade.

fedora update preupgrade window   How To Upgrade Fedora Linux Easily
A window will appear welcoming you to the utility, and will then ask you which release you would like to upgrade to. You can also choose to include alpha/beta/”rawhide” versions by clicking on the appropriate checkbox, but do this at your own risk as they are not stable, final releases.

fedora update preupgrade downloading   How To Upgrade Fedora Linux Easily
Clicking next one more time will already start the identification and download process. Once it completes, you’ll be asked to restart your computer, where it will boot into the downloaded installer and run through the upgrade process. After another restart, you should be booted into your updated system, with all programs, files, and settings intact.

Using the DVD

fedora update dvd upgrade   How To Upgrade Fedora Linux Easily
To use the DVD, you’ll need to download the DVD ISO and burn it to a DVD disk (or write it to a large enough USB stick). Once that finishes, put the DVD into your optical drive, boot from it, and go through the first steps of the installer. At one point it’ll detect what it is currently on your hard drive and identify any instances of Fedora already installed. It should find your current instance and ask if you want to upgrade it. Choose that option and continue with the rest of the installer until the upgrade completes. Then you can restart and you should be inside your updated system.

Other Experimental Choices

Other methods of upgrading are possible but won’t be described in this article. If you’re really interested in what they are, you can go here to find all upgrade options.

Conclusion

Fedora’s upgrade path is fairly seamless compared to other distributions and works exceptionally well. It offers flexibility and ease of use, which is basically all you could ask for from an upgrade. I especially like Fedora’s ability to upgrade directly to any release (such as from F13 to F15 without having to upgrade to F14 first). The closest Ubuntu comes to that is updating between LTS releases, but for any others you’ll need to upgrade from one release to the next, all the way until you are done.

What do you think about the options to upgrade Fedora Linux? How do you compare them to other distributions? Any other thoughts? Let us know in the comments!

The comments were closed because the article is more than 180 days old.

If you have any questions related to what's mentioned in the article or need help with any computer issue, ask it on MakeUseOf Answers—We and our community will be more than happy to help.

3 Comments -

Pradeep Kumar Singha

thanks! Helpful… :)

Paul Frields

I always recommend backing up at least the /etc folder, the entire contents of /home (users’ data), and if applicable Web or SQL database storage before beginning an upgrade process. Upgrade methods are not bulletproof and you don’t want to be stuck without easy access to your important data if you need to reinstall. Having seen people in my LUG attempt live upgrades of various distros, I’m convinced Fedora does no worse that most, and better than some, including Ubuntu.

Danny Stieben

Thanks for the tips, Paul! I presumed that people would be smart enough to still back up their data, but I guess it’s always better to mention it, just to remind them.