How to Upgrade Fedora 34 from Fedora 33 using DNF

Channel: Linux
Abstract: This will take a long time as per the available packages to upgrade. The dnf-plugin-system-upgrade is a plugin for the DNF package manager. Which is u

Fedora 34 is the latest version available to download and install on your system. It is available in Desktop as well as Server edition. The new users can directly download the Fedora 34 ISO from the official website. The existing Fedora users can upgrade to Fedora 34 with simple steps.

Upgrading to Fedora 34

This tutorial will guide you with all steps to Upgrade Fedora 34 from Fedora 33 using the DNF package manager.

Backup Important Data

It’s good to take a backup of all important data to a remote system or a backup disk.

Upgrade Fedora 33 to Fedora 34

Fedora default package manager (DNF) provides you an easy way to upgrade your system to the latest version. Follow the below steps to upgrade to Fedora 34 from Fedora 33 etc. The below instructions will also apply on older Fedora versions like 32/31 and upgrade to Fedora 34.

Follow the below instructions.

  1. Uprade current packages on your system. To do this open a terminal and type:
    sudo dnf --refresh upgrade 
    

    This will take a long time as per the available packages to upgrade.

  2. The dnf-plugin-system-upgrade is a plugin for the DNF package manager. Which is used to upgrade fedora systems quickly.
    sudo dnf install dnf-plugin-system-upgrade --best 
    
  3. Once you have installed the plugin. Now download the latest packages of the Fedora 34.
    sudo dnf system-upgrade download --refresh --releasever=34 
    
  4. Finally, run the final upgrade process of the Fedora 33 to the Fedora 34 with system reboot.
    dnf system-upgrade reboot 
    

    This will reboot your Fedora system and start the upgrade process. You will see a process bar like the below screenshot:

    The upgrade process takes time. Have a cup of coffee and be relaxed until the upgrade complete.

Fedora 34 Post Upgrade Steps

Once the Fedora upgraded successfully to the Fedora 34. Rebuild the rpm database with the following command.

rpm --rebuilddb 

Also perform the Distro Sync on your latest Fedora version.

dnf distro-sync --setopt=deltarpm=0 

Reference:
https://fedoraproject.org/wiki/DNF_system_upgrade

Ref From: tecadmin

Related articles