How to Upgrade Fedora 35 to Fedora 36 with GNOME 42


Fedora 36 is coming soon, and it’s packed with new features! For Workstation users, GNOME 42 and Linux Kernel 5.17 are featured but more so introduce DNS-over-TLS supported, replacing FBDEV kernel drivers with SimpleDRM, DNF/RPM copy-on-write enablement for all variants when running on Btrfs, and more.

The tutorial below will teach you how to successfully upgrade Fedora 35 to the newly released Fedora 36 Beta/Pre-Release Development branch that features the incoming GNOME 42 and Linux Kernel 5.17.

Fedora 36: Release Date Timeline

Fedora 36 is still scheduled to be released on April 26th, 2022.

The following is a timeline of the release.

  • Beta Freeze : 22nd Februrary, 2022
  • Beta Release: 15th March, 2022
  • Fallback Beta 1: 22nd March, 2022
  • Final Freeze: 4th April, 2022
  • Final Release: 26th April, 2022

However, this date can always be pushed back last minute, but it looks set in stone for now.

Advertisement


Update Fedora 35 System

First, before anything, update your Fedora operating system to make sure all existing packages are up to date:

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 36 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 36, you may want to add some performance settings to the DNF package manager that will speed things up.

See also  How to Install VSCodium on Fedora 37/36/35

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

Upgrade Fedora 35 to 36

Pre-installation Process

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

Advertisement


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 35.

sudo dnf system-upgrade download --releasever=36

Example output:

How to Upgrade Fedora 36 & GNOME 42 from Fedora 35

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

Upgrade Command Troubleshoot

For users that encounter issues, you most likely need to add allow erasing to your command.

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

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

Advertisement


sudo dnf distro-sync

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

sudo fixfiles -B onboot

Begin Fedora 36 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:

How to Upgrade Fedora 36 & GNOME 42 from Fedora 35

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

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

During the installation, you will see a message advising importing the GPG key for Fedora 36.

Advertisement


Example:

How to Upgrade Fedora 36 & GNOME 42 from Fedora 35

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

Example output:

Key imported successfully

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

See also  How to Install GIT on Fedora 37/36/35

Example:

How to Upgrade Fedora 36 & GNOME 42 from Fedora 35

To reboot your system, use the following command:

Advertisement


sudo dnf system-upgrade reboot

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

Example of Reboot upgrade in progress:

How to Upgrade Fedora 36 & GNOME 42 from Fedora 35

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

First Look Impressions

Once you have logged in, you will notice a new default background with some slight UI changes/improvements:

Example (Click to Enlarge Image):

How to Upgrade Fedora 36 & GNOME 42 from Fedora 35

I am torn on the new wallpaper, but that is just me. If you think I am barking mad, leave a comment.

Advertisement


Next, the updated show applications menu.

Example (Click to Enlarge Image):

How to Upgrade Fedora 36 & GNOME 42 from Fedora 35

Example (Click to Enlarge Image):

How to Upgrade Fedora 36 & GNOME 42 from Fedora 35

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

cat /etc/os-release

Example output:

Or with Neofetch to make things a bit more pretty.

Advertisement


How to Upgrade Fedora 36 & GNOME 42 from Fedora 35

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

Fedora 36 Post Install 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

For users that would like to order the broken symlinks before cleaning up, run the following command.

Advertisement


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-35 as the tutorial machine did, you can change this now with a simple command as follows.

sudo hostnamectl set-hostname --static fedora-36

Currently, fedora-35 is the hostname, and now after a reboot of the system, fedora-36 should be shown.

See also  How to Install Chromium Browser on Fedora 37/36/35

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

reboot

Comments and Conclusion

In the tutorial, you have learned how to upgrade from Fedora 35 to Fedora 36.

Note Fedora 36 is still in pre-release mode. It is advised highly to take data backups before upgrading and have a rollback option just in case. Fedora 34 users will have to upgrade to Fedora 35 or Fedora 36 by April as it is also coming to its EOL schedule.

Advertisement



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

Leave a Comment