Fedora

In this guide, I will show you how to upgrade Fedora to the latest release, using dnf-plugin-system-upgrade. In my case, it would be Fedora 35.

dnf-plugin-system-upgrade is a plugin for the DNF package manager and is used to upgrade your system to the current release of Fedora.

I would highly recommend backing up your data before update.

To update your Fedora release from the command-line do:

Change root user

sudo -s
dnf upgrade --refresh

and reboot your computer.

Important: Do not skip this step. System updates are required to receive signing keys of higher-versioned releases, and they often fix problems related to the upgrade process.

Install the dnf-plugin-system-upgrade package if it is not currently installed:

dnf install dnf-plugin-system-upgrade

Download the updated packages:

dnf system-upgrade download --releasever=35

Change the –releasever= number if you want to upgrade to a different release.

If some of your packages have unsatisfied dependencies, the upgrade will refuse to continue until you run it again with an extra –allowerasing option.

upgrade Fedora to a new release

upgrade Fedora to a new release

upgrade Fedora to a new release

Now you should reboot the system in order to run the upgrade process.

dnf system-upgrade reboot

Once the upgrade process completes, your system will reboot a second time into the updated release version of Fedora

cat /etc/redhat-release 
Fedora release 35 (Thirty Five)

You can find more information about DNF system upgrade from official website.