First of all, make a backup of your system. System upgrades should work fine, but from time to time they break. So once again, make a backup.
Next, update the system running version 30:
$ sudo dnf --refresh upgrade
Upgrade to Version 31
We’ll need the
system-upgrade plugin for the
dnf package manager, install it by running:
$ sudo dnf install dnf-plugin-system-upgrade
Now we’ll download all the upgrades to your machine and prepare for upgrade:
$ sudo dnf system-upgrade download --releasever=31
Once the upgrades have been downloaded and the upgrade is prepared, start the upgrade process and then reboot:
$ sudo dnf system-upgrade reboot
This will take a while, so hang tight. Once finished, your system will boot in to Fedora 31. Congratulations!
If it upgrade managed to break your system, refer to the documentation on how to resolve the issue(s).
If all else fails, revert to your backup and try again.
If you’d like to learn more about Linux, here are some book recommendations (in addition to the Fedora documentation):
- Linux Pocket Guide: Essential Commands
- The Cathedral & the Bazaar: Musings on Linux and Open Source by an Accidental Revolutionary
- Linux System Administration: Solve Real-life Linux Problems Quickly
- Linux: The Ultimate Beginner’s guide to learn Linux Operating System, Command Line and Linux Programming Step by Step
Good luck with Fedora 31! 😊