How to Upgrade to Fedora 37 Linux

Fedora is one of the most popular Linux distributions, and Fedora 37 is set to be another great release. For Workstation users, GNOME 43 and Linux Kernel 6.0 are featured. The tutorial below will teach you how to successfully upgrade Fedora 36 to Fedora 37 using the command line terminal.

Recommended Steps Before Upgrading to Fedora 37

Update Fedora 36 System

First, before anything, update your system to ensure all existing packages are up to date. This is vital when upgrading OS versions.

sudo dnf upgrade --refresh

MAKE SURE THAT YOUR SYSTEM IS UP TO DATE. DO NOT SKIP THIS.

Remove Old Obsolete Packages

Ideally, you should clean up your existing Fedora system by removing old packages as follows:

sudo dnf autoremove

Optional – Increase DNF Speed / Add DNF Mirrors

Upgrading to Fedora 37 will require lots of downloading packages; this can take time, and given Fedora typically releases big pack bundles of updates due to its release structure, even after you upgrade to Fedora 37, you may want to add some performance settings to the DNF package manager that will speed things up.


Visit my tutorial on Increase DNF Speed on Fedora Linux 37. The tutorial will only take a few minutes to read and apply the settings examples.

Upgrade Fedora 36 to 37 Release

Pre-installation Process

The first step is to open your Fedora terminal and execute the following command to install the dnf-plugin-system-upgrade package:

sudo dnf install dnf-plugin-system-upgrade -y

Note that this should be installed by default; however, running it should be done to ensure it is on your system.

The next step is to run the system-upgrade command to download the Fedora Beta release 37.

sudo dnf system-upgrade download --releasever=37

Example output:

proceed to upgrade to fedora 37

Type “Y,” then press “ENTER KEY” to proceed.


Upgrade Command Troubleshoot

For users that encounter issues, you most likely need to add –allowerasing to your command.

sudo dnf system-upgrade download --releasever=37 --allowerasing

Another method, if –allowerasing does not work, you may need to re-sync your Fedora 36 system using the following command.

sudo dnf distro-sync

Lastly, running an SELinux reset can help when running out of options. Users should never need to run this command unless they have previously adjusted SELinux permissions.

sudo fixfiles -B onboot

Begin Fedora 37 Pre-Installation

Next, you will be prompted with a new message about the overall install, upgrade, and downgrade of packages and the download size.

Example:

notice of size packages and list of changes for upgrade to fedora 37

Type “Y,” then press “ENTER KEY” to proceed.


This will take some time depending on the hardware and the operating systems available Internet connection. Still, adjusting your DNF speed with the tutorial listed earlier should speed up the overall process quickly.

During the pre-upgrade, you will likely need to import several GPG keys.

Example:

import gpg keys to upgrade to fedora 37

Type “Y,” then press “ENTER KEY” to proceed.

If the GPG keys are imported successfully, you will see the following.

Key imported successfully

Next, you will see in your terminal that the process is complete and that you will need to reboot your Fedora to begin the final installation process to Fedora 37.


Example:

reboot to finish fedora 37 upgrade

To reboot your system, use the following command:

sudo dnf system-upgrade reboot

The system will reboot, and you will see a progress bar advising you of the final progress.

Example of Reboot upgrade in progress:

example of loading screen and upgrade process to fedora 37

Once the upgrade is complete, Fedora will return you to the login screen.

First Look Impressions

Once logged in, you will notice a new default background, slight UI changes/improvements, and a new wallpaper look.


Example (Click to Enlarge Image):

example fedora 37 desktop

The wallpaper is not final, and more will be added. I assume this is just an early release.

Next, the updated show applications menu with GNOME 43.

Example (Click to Enlarge Image):

example fedora 37 applications menu

Example (Click to Enlarge Image):

example fedora 37 about information gui version check

Next, it is a good idea to run the following cat command in your Fedora 37 terminal to verify the upgrade is successful:


cat /etc/os-release

Example output:

example fedora 37 cli

Or with Neofetch to make things a bit more pretty. First, install the package.

sudo dnf install neofetch -y

Next, run the print output command.

neofetch
example fedora 37 neofetch upgrade check

As you can see, you have successfully upgraded to Fedora Linux to version “37 (Workstation Edition Prerelease).”

Fedora 37 Post Upgrade Cleanup

Lastly, when upgrading any Linux OS system, it is advised to clean obsolete/old packages once you are happy that you do not need to revert.

First, run the system-upgrade clean command that will remove downloaded data.


sudo dnf system-upgrade clean

Example output:

Cleaning up downloaded data...

Next, remove all broken symlinks; this list can be pretty extensive.

sudo symlinks -r -d /usr

Run the following command for users who want to order the broken symlinks before cleaning up.

sudo symlinks -r /usr | grep dangling

Note this can be a comprehensive list. Most users should be able to use this command without encountering problems.

Change Fedora Hostname

For those users that named their Fedora hostname Fedora-36 as the tutorial machine did, you can change this now with a simple command as follows.

sudo hostnamectl set-hostname --static fedora-37

Currently, fedora-36 is the hostname in the tutorial, and after a reboot of the system, fedora-37 should be shown.


Restart your machine to make the hostname change come into effect.

reboot


Not what you were looking for? Try searching for additional tutorials.

6 thoughts on “How to Upgrade to Fedora 37 Linux”

  1. Since switching from other distributions to Fedora a couple of years ago I have found the installer Anaconda confusing and nerve-wracking. I’ve ending up starting from scatch with a blank disk.

    I’ve decided to give your clear upgrade instructions a try instead.

    Reply
  2. Merci beaucoup :
    cela représente du travail de réaliser cette doc
    et c’est bien fait : clair net . Et EFFICACE et INSTRUCTIF sans blabla annexe

    Reply

Leave a Comment