Upgrading Fedora 30 to Fedora 31

[‘

n

Fedora Linux 31 officially released and ships with GNOME 3.34, Kernel 5, Python 3, Perl 5, PHP 7, MariaDB 10, Ansible 2.7, Glibc 2.30, NodeJS 12 and many other improvements.

n

If you are already using the previous release of Fedora, you can upgrade your system to the latest version of Fedora 31 using a command-line method or using a GNOME Software for an easy graphical update.

n

Upgrading Fedora 30 Workstation to Fedora 31

n

Soon after release time, a notification arrives to inform you that a new version of Fedora is available to upgrade. You can click on the notification to start the GNOME Software or click on Activities and type Software to launch it.

n

Fedora Gnome Software
Fedora Gnome Software

n

If you don’t see upgrade notification on this screen, try to reload the screen by clicking the reload tool at the top left. It may take some time to see an upgrade available for all systems.

n

Reload Fedora Upgrade Check
Reload Fedora Upgrade Check

n

Next, click on Download to get the upgrade packages. You can continue working until all upgrade packages are downloaded. Then use GNOME Software to reboot your system and apply the upgrade.

n

Download Fedora Upgrade Packages
Download Fedora Upgrade Packages

n

Once the upgrade process finishes, your system will reboot and you will be able to log in to your newly upgraded Fedora 31 system.

n

Upgrading Fedora 30 Workstation to Fedora 31 using Command Line

n

If you have upgraded from previous Fedora releases, you are probably aware of the DNF upgrade tool. This procedure is the most recommended way to upgrade from Fedora 30 to Fedora 31, as this tool makes your upgrade simple and easy.

n

Important: Before moving further, make sure to back up your important files. To get help with taking a backup, read our article about taking smart backups with duplicity program.

n

Update Fedora Software

n

1. The first thing you need to do is to install the latest software updates using the following command in a terminal.

n

$ sudo dnf upgrade --refreshrn

n

Install Software Upgrades in Fedora
Install Software Upgrades in Fedora

n

Install Fedora DNF Plugin

n

2. Next, open a terminal and type the following command to install the DNF plugin on Fedora.

n

$ sudo dnf install dnf-plugin-system-upgradern

n

Install DNF Plugin Upgrade
Install DNF Plugin Upgrade

n

Upgrade Fedora Using DNF Plugin

n

3. Once your system is updated, you can begin Fedora upgrades using the following command in a terminal.

n

$ sudo dnf system-upgrade download --releasever=31rn

n

This above command will start downloading all software upgrades locally on your machine. If you get any problems while upgrading due to failed dependencies or retired packages, use the ‐‐allowerasing option in the above command. This will enable DNF to delete packages that may be interrupting your system upgrade.

n

Upgrading Fedora 30 to Fedora 31
Upgrading Fedora 30 to Fedora 31

n

Reboot and Upgrade Fedora

n

4. Once all the software upgrades downloaded, your system will be ready for rebooting. To boot your system into the upgrade process, type the following command in a terminal:

n

$ sudo dnf system-upgrade rebootrn

n

Once you type the above command, your system will reboot and begins the upgrade process. Once upgrade finishes, your system will reboot and you will be able to log in to your newly upgraded Fedora 31 system.

n

Upgrading Fedora System
Upgrading Fedora System

n

If you face any issues when upgrading and have third-party repositories enabled, you may need to disable these repositories while you are upgrading Fedora.

n

‘]