How to Upgrade to Fedora 38 from Fedora 37

Learn how to smoothly upgrade from Fedora 37 to Fedora 38 with our step-by-step guide. Keep your system up-to-date and secure!

If you’re a Fedora user, you’re likely familiar with each new release’s frequent updates and improvements. Fedora, known for its cutting-edge features and commitment to Open Source principles, offers a seamless upgrade process to keep your system up-to-date with the latest software.

This article will guide you through upgrading from Fedora 37 to Fedora 38. So, whether you’re a seasoned Linux user or new to the Fedora ecosystem, this step-by-step tutorial will help you smoothly upgrade your system and take advantage of the exciting new features and enhancements that Fedora 38 offers.

We will show you two different approaches you can take – using the graphical interface of the Software application or the terminal if you prefer the command line way. So, without further ado, let’s get started.

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 /fedora37-backup.tar.gz \
     --exclude=/fedora37-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 “fedora37-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 38 from Fedora 37 Using GUI

Before you begin upgrading, ensure your system is fully up to date 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, go to the “Updates” pane. You will see a notification that says, “Fedora Linux 38 Available”. Click the “Download” button to download Fedora 38 packages.

Start downloading the updates.
Start downloading the updates.

When you hit the “Download” button, all the packages required for the upgrade will be automatically downloaded. However, depending on your internet speed, the download will take some time, so be patient.

Downloading updates.
Downloading updates.

When the download is complete, click on the “Restart & Upgrade” button to start the upgrade process to Fedora 38.

Reboot to perform the upgrade to Fedora 38.
Reboot to perform the upgrade to Fedora 38.

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 37 to Fedora 38. 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 38 from Fedora 37.
Upgrading to Fedora 38 from Fedora 37.

Once the upgrade completes, your system will boot into the newer Fedora 38.

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

Upgrade to Fedora 38 from Fedora 37 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 37 to Fedora 38 using the command:

sudo dnf system-upgrade download --releasever=38

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 37 to Fedora 38, 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 37 system has not yet been upgraded. So, the actual upgrade will begin in the following step.

4. Start Fedora 37 to Fedora 38 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 38 from Fedora 37.
Upgrading to Fedora 38 from Fedora 37.

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

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

Conclusion

Upgrading to Fedora 38 from Fedora 37 is a straightforward process that can be accomplished with careful preparation and execution. Following the steps outlined in this article, users can ensure a smooth transition to the latest version of Fedora, which offers new features, improvements, and bug fixes.

Remember, it is crucial to back up all important data and configurations before upgrading to avoid data loss. After the upgrade is complete, it is recommended to thoroughly test 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%

Leave a Reply

Your email address will not be published. Required fields are marked *