The Fedora 31 is finally released. Fedora Workstation users may require upgrading their Workstations to use the latest version.
This tutorial will help you to upgrade to Fedora 31 Workstation using command line utility DNF. This is the recommended way to upgrade your Fedora release. The new users can download the latest Fedora ISO images.
Upgrade Fedora via DNF
Generally, servers run without any Desktop environment. So this section will useful for upgrading the Fedora server as well as the workstation using the command line. Make sure you have proper backups of your data on the external backup drive.
1. Update Current Packages
Make sure you are running the current system with the latest packages. You can update your system using the DNF command-line tool.
sudo dnf upgrade --refresh
2. Install DNF Upgrade Plugin
DNF required a system upgrade plugin to be installed. So use the following command to install system upgrade dnf plugin.
sudo dnf install dnf-plugin-system-upgrade
3. Download the Upgrade Packages
After successfully installing the system upgrade plugin. Run the following command, this will download the new packages of Fedora 31 to your system.
sudo dnf system-upgrade download --refresh --releasever=31
If any of the packages have unsatisfied dependencies, Fedora will refuse the upgrade process. You can use
--allowerasing option with the above command, This will remove any packages which are broken. Watch the output of the command to check which packages are getting removed from the system, So you can install again.
4. Final Upgrade to Latest Fedora
Finally, run the following command to start the upgrade process. This will reboot your system and start the upgrade process
sudo dnf system-upgrade reboot
You will see your desktop screen below showing the upgrade process. This process will take a long time depends on your system and network speed. Let’s have a coffee and take rest.
After upgrading to Fedora 31, Login to your desktop and check the Fedora version. The above image is from the old version of Fedora update and used for reference only.