Upgrading Fedora 30 to Fedora 31
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.
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.
Upgrading Fedora 30 Workstation to Fedora 31
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.
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.
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.
Once the upgrade process finishes, your system will reboot and you will be able to log in to your newly upgraded Fedora 31 system.
Upgrading Fedora 30 Workstation to Fedora 31 using Command Line
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.
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.
Update Fedora Software
1. The first thing you need to do is to install the latest software updates using the following command in a terminal.
$ sudo dnf upgrade --refresh
Install Fedora DNF Plugin
2. Next, open a terminal and type the following command to install the DNF plugin on Fedora.
$ sudo dnf install dnf-plugin-system-upgrade
Upgrade Fedora Using DNF Plugin
3. Once your system is updated, you can begin Fedora upgrades using the following command in a terminal.
$ sudo dnf system-upgrade download --releasever=31
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.
Reboot and Upgrade Fedora
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:
$ sudo dnf system-upgrade reboot
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.
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.