How to Upgrade From Fedora 39 to Fedora 40

This tutorial shows you how to upgrade the Fedora version to a new major release.
Warp Terminal

Now that Fedora 40 is here. You may have planned to upgrade your system from Fedora 39 to 40 as soon as possible.

Looking at the features arriving with Fedora 40 everyone should expect a significant upgrade in their desktop experience with the Fedora 40 Workstation edition.

This article will show you how to upgrade to Fedora 40 Workstation from Fedora 39 using the Graphical User Interface (GUI) and the terminal.

Upgrade Fedora to a Newer Release

upgrade fedora

There are two ways to upgrade to a newer version of Fedora. The graphical way and the command-line way. I’ll show you both ways of upgrading Fedora in this tutorial.

Using GNOME Software Center to Upgrade to Fedora 39

The good thing about Fedora is that it doesn’t take long to notify you of the availability of a new version. All you have to do is to open the Software Center and look for updates. You may see the new version available here.

You must have the latest Fedora updates installed to get the upgrade notification.

If you don’t see any upgrades available here, try hitting the reload button in the top-left corner.

Remember that it may take a couple of days before the upgrade to the newer version of Fedora is available for everyone. Considering, upgrades are rolled down gradually to minimize the load on servers.

If you see the upgrade option available, click Download and follow the procedure.

Keep in mind that you cannot downgrade to Fedora 39 the same way you upgraded to Fedora 40. You will have to reinstall it.

A newer version of Fedora is available through Software Center
A newer version of Fedora is available through Software Center

If you do not see the availability of the next release in the software center, you can either restart your system or kill any instance of GNOME Software with this command, if refreshing/reloading doesn’t work:

pkill gnome-software

Now start GNOME Software again, and you should see the availability of Fedora 40. Hit the download button.

And when the progress finishes, you’ll be prompted to install and restart your system.

Restart and Upgrade button available in Software Center after downloading packages
Restart and Upgrade button available in Software Center after downloading packages

The download will take some time, depending on your internet speed. Once the required files have been downloaded, you’ll be asked whether you want to install them.

When you choose to install it, you’ll be asked to restart your system. It reminds me of a Windows upgrade. Upgrading Ubuntu version doesn’t obstruct you from using your desktop, to remind.

Once you restart and login to your existing kernel (the grub screen), you’ll see that your system is upgrading to a newer version:

Installing system upgrades with a reboot
Installing system upgrades with a reboot

Once this process completes, your system will boot into the newer Fedora version. That’s it. Enjoy Fedora 40.

Use the command line to upgrade to Fedora 40

With the terminal on Fedora, you will have to use the dnf package manager. DNF offers a system upgrade plugin for the sole purpose of distribution upgrade, which we will have to utilize.

First thing first, make sure that your system packages are updated. Open a terminal and run the command below:

sudo dnf upgrade --refresh

Furthermore, it’s always a good idea to make a backup of your system. I suggest that you make a backup of your important files before the upgrade. It is optional yet recommended.

Next, you need to get the upgrade plugin. You may already have it installed. Use the command to install it, if it isn’t present:

sudo dnf install dnf-plugin-system-upgrade

Now that you have everything set, you can start the upgrade now.

You should know the version to which you are upgrading. If you are upgrading to Fedora 39, use the number 39 in the command:

sudo dnf system-upgrade download --releasever=40
Upgrade command with release version
Upgrade command with release version

You’ll see that it lists the packages to download for the Fedora 40 upgrade.

Packages that needs to be downloaded is listed in terminal
Packages that needs to be downloaded is listed in terminal

Once you proceed, it will download the packages. At some point, you will be asked to accept a key. Press y and enter to continue.

Confirm the downloaded packages and key
Confirm the downloaded packages and key

You will get a Download Complete message in terminal.

Download complete message is displayed in terminal
Download complete message is displayed in terminal
If you face issues when upgrading because of broken dependencies, or obsolete packages, add the ‐‐allowerasing flag in the above command. This flag removes packages that are blocking the Fedora upgrade.

Once the download finishes, you can reboot your system to resume the upgrade procedure. Use this command to reboot and continue:

sudo dnf system-upgrade reboot

You’ll see the kernel selection screen at the reboot.

The upgrade should start once you select the preferred kernel, and you should be greeted with a progress screen.

installing upgrades in fedora
Installing updates in Fedora

Once it is done, you should be logged in to Fedora 40 to start experiencing the desktop.

Did you upgrade to Fedora 40?

I hope this tutorial helped you to upgrade to Fedora 40 from Fedora 39. Please don’t hesitate to comment below for any clarifications or suggestions.

About the author
Abhishek Prakash

Abhishek Prakash

Created It's FOSS 11 years ago to share my Linux adventures. Have a Master's degree in Engineering and years of IT industry experience. Huge fan of Agatha Christie detective mysteries 🕵️‍♂️

Become a Better Linux User

With the FOSS Weekly Newsletter, you learn useful Linux tips, discover applications, explore new distros and stay updated with the latest from Linux world


Great! You’ve successfully signed up.

Welcome back! You've successfully signed in.

You've successfully subscribed to It's FOSS.

Success! Check your email for magic link to sign-in.

Success! Your billing info has been updated.

Your billing was not updated.