How to Upgrade from Fedora 36 to Fedora 37

Fedora 37 was released on November 15, 2022, and the latest release by the Fedora project. Fedora 37 comes with GNOME 43, which includes a new panel in settings that provides information about the hardware and firmware security of the system.

Additionally, more GNOME apps have been ported to the latest version of the GTK, thus providing better performance and a modern look.

READ: Announcing Fedora 37

Here, we will see how to upgrade from Fedora 36 to Fedora 37.

Take Backup

Before upgrading Fedora, I request you back up important files and documents to an external hard drive or another machine.

Prepare for Upgrade

First, update your current Fedora release with the below command.

sudo dnf upgrade --refresh

Then, reboot the system.

Next, install the system upgrade DNF plugin to support the system upgrade.

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

Upgrade from Fedora 36 to Fedora 37

Now, it’s time to download the packages for the upgrade. System upgrade supports up to 2 older releases, which means you can upgrade to Fedora 37 from Fedora 36 or 35.

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

Once the packages are downloaded, initiate the upgrade process and a reboot for the upgrade.

sudo dnf system-upgrade reboot

The upgrade process will take a while, and the system will reboot two times to complete the upgrade. Then, finally, you will get the Fedora 37.

The upgrade process is now complete. However, you may optionally perform post-upgrade activities.

Post Upgrade Activities

After the upgrade, you may wish to remove .rpmnew (the new default config file) or .rpmsave (your old config file backed up) file.

sudo dnf install rpmconf -y

sudo rpmconf -a

Next, clean up the retired packages with the below command.

sudo dnf install remove-retired-packages

remove-retired-packages

You may list packages with broken dependencies and duplicate packages with the commands below, and you can remove them as they are not required.

sudo dnf repoquery --unsatisfied

sudo dnf repoquery --duplicates

In addition to the above, you may safely remove unused packages with the below command.

sudo dnf autoremove

Conclusion

That’s All. Thanks for your time. I hope your Fedora upgrade went smoothly without any issues.

fedora 37upgrade
Comments (0)
Add Comment