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.

Fedora Gnome Software
Fedora Gnome Software

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.

Reload Fedora Upgrade Check
Reload Fedora Upgrade Check

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.

Download Fedora Upgrade Packages
Download Fedora Upgrade Packages

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 Software Upgrades in Fedora
Install Software Upgrades in Fedora

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
Install DNF Plugin Upgrade
Install DNF Plugin 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.

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

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.

Upgrading Fedora System
Upgrading Fedora 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.

If you liked this article, then do subscribe to email alerts for Linux tutorials. If you have any questions or doubts? do ask for help in the comments section.

If You Appreciate What We Do Here On TecMint, You Should Consider:

TecMint is the fastest growing and most trusted community site for any kind of Linux Articles, Guides and Books on the web. Millions of people visit TecMint! to search or browse the thousands of published articles available FREELY to all.

If you like what you are reading, please consider buying us a coffee ( or 2 ) as a token of appreciation.

Support Us

We are thankful for your never ending support.

1 thought on “Upgrading Fedora 30 to Fedora 31”

  1. Upgrade 30 to 31 failed due to multiple streams that cannot be maintained. The module was MAVEN a java tool.

    # dnf module  disable maven
    

    fixed the issue and upgrade completed.

    Reply

Got something to say? Join the discussion.

Have a question or suggestion? Please leave a comment to start the discussion. Please keep in mind that all comments are moderated and your email address will NOT be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.