How to Upgrade to Fedora 39 from Fedora 38

Upgrade to Fedora 39 effortlessly! Learn the best practices for a smooth transition from Fedora 38 with our expert tips.

Are you ready to give your Fedora experience a fresh coat of paint? Upgrading your system can feel like spring cleaning; it’s all about out with the old and in with the new, exciting features and improvements.

If you’re currently running Fedora 38 and are looking to step up to the shiny new Fedora 39, you’re in the right place!

The new release brings many updates that are not just about aesthetic enhancements but also about under-the-hood improvements that make your system more robust and efficient.

In this guide, we’ll walk you through the upgrade process step-by-step, ensuring that you can transition to Fedora 39 smoothly and without any hiccups.

Backing Up Your System

Before attempting a major upgrade on any system, you should ensure you wonโ€™t lose data if the upgrade goes wrong.

So, before doing anything else, we strongly recommend a full system backup. Of course, you can always use a command like the one shown below, which will archive all of the more important directories and their contents in a tar.gz archive.

sudo tar czf /fedora38-backup.tar.gz \
     --exclude=/fedora38-backup.tar.gz \
     --exclude=/dev \
     --exclude=/mnt \
     --exclude=/proc \
     --exclude=/sys \
     --exclude=/tmp \
     --exclude=/media \
     --exclude=/lost+found \
     /Code language: JavaScript (javascript)

Add more โ€œโ€“exclude=โ€ parameters if you need to. The command creates a backup of all files in โ€œfedora38-backup.tar.gzโ€ located under the root partition (/), which should be transferred to another computer or drive, for example, using the SCP command.

Upgrade to Fedora 39 from Fedora 38 Using GUI

Before upgrading, ensure your system is fully updated to guarantee a seamless upgrade. So, open the terminal and type:

sudo dnf update

If any updates are available, install them and reboot the system if necessary. Once youโ€™ve done that, you can move on to the next step.

In Fedora, upgrades are immediately available from the previous version whenever a new one is released.

Start the Software app by launching it from the GNOME dash, searching for โ€œsoftware,โ€ and clicking to run the same when its icon appears.

Start the Software app on Fedora.
Start the Software app on Fedora.

Next, hit the “Refresh” button on the top left corner. Then, go to the โ€œUpdatesโ€ pane. You will see a notification that says, โ€œFedora Linux 39 Availableโ€. Click the โ€œDownloadโ€ button.

Start downloading the updates.
Start downloading the updates.

All the packages required to upgrade to Fedora 39 from Fedora 38 will start downloading. However, depending on your internet speed, the entire process will take some time, so be patient.

Downloading updates.
Downloading updates.

When the download is complete, click the โ€œRestart & Upgradeโ€ button to start the upgrade process to Fedora 39.

Reboot to perform the upgrade to Fedora 39.
Reboot to perform the upgrade to Fedora 39.

A popup window will appear and prompt you to enter the password for your user. So, enter it and confirm with the โ€œAuthenticateโ€ button.

Authentication required. Enter your credentials.
Authentication required. Enter your credentials.

A new popup will ask you for confirmation to restart your system and begin the upgrade from Fedora 38 to Fedora 39. Next, click on the โ€œRestart & Installโ€ button.

Restart the system.
Restart the system.

As shown below, the system will restart to apply the downloaded system upgrades. The process will take some time, so please be patient and wait for the process to finish.

Upgrading to Fedora 39 from Fedora 38.
Upgrading to Fedora 39 from Fedora 38.

Once the upgrade is completed, your system will boot into the newer Fedora 39.

The system successfully upgraded to Fedora 39 from Fedora 38.
The system successfully upgraded to Fedora 39 from Fedora 38.

Upgrade to Fedora 39 from Fedora 38 Using Command Line

1. Update Software

Ensuring you have the latest packages for all currently installed software is vital. To do so, enter the following command in a terminal:

sudo dnf upgrade --refresh
Check for pending updates, and if any, apply them.
Check for pending updates, and if any, apply them.

If you have any pending updates, install them and reboot the system if necessary.

2. Install the DNF Plugin

โ€œdnf-plugin-system-upgradeโ€ is a plugin for the DNF package manager and is used to upgrade your system to the current stable Fedora release. 

Open a terminal and type the following command to install the plugin:

sudo dnf install dnf-plugin-system-upgrade

3. Download the Updated Packages

Now start downloading the updates needed to move from Fedora 38 to Fedora 39 using the command:

sudo dnf system-upgrade download --releasever=39

Next, you must manually approve the proposed systemโ€™s modifications in the following three steps by typing โ€œYโ€ and then confirming by pressing โ€œEnter.โ€

Approve system modifications.
Approve system modifications.
Approve system modifications.
Approve system modifications.
Approve system modifications.
Approve system modifications.

After downloading all the packages required to upgrade the system from Fedora 38 to Fedora 39, you will see the screen below.

All packages required for the upgrade are downloaded successfully.
All packages required for the upgrade are downloaded successfully.

It should be noted that our current Fedora 38 system has not yet been upgraded. So, the actual upgrade will begin in the following step.

4. Start Fedora 38 to Fedora 39 Upgrade Process

Once you finish downloading the packages, run the following command to reboot your system and get into upgrade action:

sudo dnf system-upgrade reboot

Once the system reboots, it will automatically start the process. Upgrading the system will take some time, so you can relax and let it finish.

Upgrading to Fedora 39 from Fedora 38.
Upgrading to Fedora 39 from Fedora 38.

Once everything is complete, your system will reboot, and you can log in and enjoy your newly upgraded Fedora 39 system.

The system successfully upgraded to Fedora 39 from Fedora 38 using a command line.
The system successfully upgraded to Fedora 39 from Fedora 38 using a command line.

Conclusion

In wrapping up our journey from Fedora 38 to the shiny new realm of Fedora 39, we hope the steps outlined in our comprehensive guide have illuminated the path to a smooth and successful upgrade.

But remember, before embarking on this upgrade adventure, to safeguard your data with backups.

Finally, as you reboot into Fedora 39, take a moment to appreciate the work that has gone into this release. In addition, we recommend thoroughly testing the system to ensure that all applications and functionalities are working as expected.

For additional help or useful information, we recommend checking the official Fedora upgrade documentation.

Bobby Borisov

Bobby Borisov

Bobby, an editor-in-chief at Linuxiac, is a Linux professional with over 20 years of experience. With a strong focus on Linux and open-source software, he has worked as a Senior Linux System Administrator, Software Developer, and DevOps Engineer for small and large multinational companies.

Think You're an Ubuntu Expert? Let's Find Out!

Put your knowledge to the test in our lightning-fast Ubuntu quiz!
Ten questions to challenge yourself to see if you're a Linux legend or just a penguin in the making.

1 / 10

Ubuntu is an ancient African word that means:

2 / 10

Who is the Ubuntu's founder?

3 / 10

What year was the first official Ubuntu release?

4 / 10

What does the Ubuntu logo symbolize?

5 / 10

What package format does Ubuntu use for installing software?

6 / 10

When are Ubuntu's LTS versions released?

7 / 10

What is Unity?

8 / 10

What are Ubuntu versions named after?

9 / 10

What's Ubuntu Core?

10 / 10

Which Ubuntu version is Snap introduced?

The average score is 68%