Fedora 31 has been released and is available now for installation on both Desktop and Servers. The question is how can I upgrade Fedora 30 to Fedora 31?. To enjoy the latest features available in Fedora 31, an upgrade or fresh installation is required. Most will prefer to do Fedora 30 to Fedora 31 on their Workstation while retaining files and installed applications.

It is easy to upgrade Fedora 30 to Fedora 31 Workstation. First confirm the release of Fedora you’re running.

$ cat /etc/os-release 
NAME=Fedora
VERSION="30 (Workstation Edition)"
ID=fedora
VERSION_ID=30
VERSION_CODENAME=""
PLATFORM_ID="platform:f30"
PRETTY_NAME="Fedora 30 (Workstation Edition)"
ANSI_COLOR="0;34"
LOGO=fedora-logo-icon
CPE_NAME="cpe:/o:fedoraproject:fedora:30"
HOME_URL="https://fedoraproject.org/"
DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora/f30/system-administrators-guide/"
SUPPORT_URL="https://fedoraproject.org/wiki/Communicating_and_getting_help"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Fedora"
REDHAT_BUGZILLA_PRODUCT_VERSION=30
REDHAT_SUPPORT_PRODUCT="Fedora"
REDHAT_SUPPORT_PRODUCT_VERSION=30
PRIVACY_POLICY_URL="https://fedoraproject.org/wiki/Legal:PrivacyPolicy"
VARIANT="Workstation Edition"
VARIANT_ID=workstation

The same details can be pulled from Desktop Environment about page.

Upgrade Fedora 30 to Fedora 31

Upgrade of Fedora 30 to Fedora 31 can be performed from the command line or from Desktop graphical interface. I prefer command line upgrade since it is easy to troubleshoot any errors that may arise.

Step 1: Backup System

Backup your important files before doing upgrade – Recommend you do this to an external drive or another system in your Network.

You can check the backup series on the Fedora Magazine.

Step 2: Update System

Let’s make sure we have the latest versions of packages installed.

sudo dnf upgrade --refresh

Reboot after update

sudo reboot

Step 3: Upgrade Fedora 30 to Fedora 31

Once is system is up from reboot, install DNF plugin.

sudo dnf install dnf-plugin-system-upgrade

Press y to accept installation.

Last metadata expiration check: 0:12:03 ago on Wed 30 Oct 2019 02:22:43 PM EAT.
Dependencies resolved.
===================================================================================================================================================
 Package                                              Architecture              Version                           Repository                  Size
===================================================================================================================================================
Installing:
 python3-dnf-plugin-system-upgrade                    noarch                    4.0.7-2.fc30                      updates                     29 k
Installing dependencies:
 python3-dnf-plugins-extras-common                    noarch                    4.0.7-2.fc30                      updates                     65 k

Transaction Summary
===================================================================================================================================================
Install  2 Packages

Total download size: 94 k
Installed size: 212 k
Is this ok [y/N]: y

The begin an upgrade of Fedora 30 to Fedora 31 by running the following command in your terminal.

sudo dnf system-upgrade download --releasever=31

You’ll get a warning that system upgrade should have been done before running the command.

Before you continue ensure that your system is fully upgraded by running "dnf --refresh upgrade". Do you want to continue [y/N]: y

This command will download all of the upgrades for your machine locally as it prepares for the actual upgrade. If you have broken dependencies or retired packages blocking the upgrade, the use the command.

sudo dnf system-upgrade download --releasever=31 ‐‐allowerasing

Successful downloading will show message like below.

Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                           1/1 
Complete!
Download complete! Use 'dnf system-upgrade reboot' to start the upgrade.
To remove cached metadata and transaction use 'dnf system-upgrade clean'
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.

Step 4: Start Upgrade

Once the command is executed successfully, reboot and finish the upgrade of Fedora 30 to Fedora 31.

sudo dnf system-upgrade reboot

Wait for the upgrade to complete, then check your Fedora version.

$ cat /etc/os-release
NAME=Fedora
VERSION="31 (Workstation Edition)"
ID=fedora
VERSION_ID=31
VERSION_CODENAME=""
PLATFORM_ID="platform:f31"
PRETTY_NAME="Fedora 31 (Workstation Edition)"
ANSI_COLOR="0;34"
LOGO=fedora-logo-icon
CPE_NAME="cpe:/o:fedoraproject:fedora:31"
HOME_URL="https://fedoraproject.org/"
DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora/f31/system-administrators-guide/"
SUPPORT_URL="https://fedoraproject.org/wiki/Communicating_and_getting_help"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Fedora"
REDHAT_BUGZILLA_PRODUCT_VERSION=31
REDHAT_SUPPORT_PRODUCT="Fedora"
REDHAT_SUPPORT_PRODUCT_VERSION=31
PRIVACY_POLICY_URL="https://fedoraproject.org/wiki/Legal:PrivacyPolicy"
VARIANT="Workstation Edition"
VARIANT_ID=workstation

Or check from the about page.

Enjoy using Fedora 31 Workstation / Server and check for other guides available in our blog.

How To Install AnyDesk on Fedora

How To Install PostgreSQL 12 on Fedora