Hello friends. Fedora is a very popular distribution that is characterized by frequent updates. But it also allows version jumping, that’s why today you will learn how to migrate from Fedora 33 to Fedora 34.
Fedora has an upgrade process that is quite easy to learn. Although it is always recommended to do installations from scratch, it is possible to upgrade without doing a clean upgrade.
In this respect, Fedora is one of the safest distributions to upgrade to, although there is always a risk involved. So let’s get started.
Migrating from Fedora 33 to Fedora 34
First of all, I would like to say the following:
The process is quite safe but I recommend you to make a backup of all your files as well as uninstall all third-party software to avoid incompatibilities.
On the other hand, the fastest and most efficient method is to do it via terminal so this is the way we will use.
Open a terminal from the main menu or connect via SSH to your computer.
Then, with the help of the
sudo command, change to the root user of the system.
Then make sure that the whole system is fully up to date before starting the process.
dnf --refresh upgrade
Depending on what is needed, this process may take longer or shorter, but in any case, it is necessary to upgrade the system.
At the end of the process, you have to reboot the system. This is to ensure that all upgrades are applied.
After this, install the
dnf-plugin-system-upgrade package which allows you to upgrade using DNF.
dnf install dnf-plugin-system-upgrade --best
With this package, we can now start the upgrade process.
dnf system-upgrade download --refresh --releasever=34
--releasever=34 option states that we will upgrade to version 34 which is the next higher version than 33 which is where we will be migrating from.
Upon executing the command, we will be asked if we are sure to perform the process:
Before you continue ensure that your system is fully upgraded by running "dnf --refresh upgrade". Do you want to continue [y/N]: y
Applying the changes
Then the whole process of downloading and installing the new packages will start.
When the process is finished, you will get an output screen similar to this:
Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Complete! Transaction saved to /var/lib/dnf/system-upgrade/system-upgrade-transaction.json. 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'.
Now to apply the change and upgrade you need to run the command:
dnf system-upgrade reboot
This will reboot the operating system and boot will apply all the changes. The process will take time according to the capabilities of your computer and the number of packages you have installed.
Afterwards, the system will continue to run and you can check if the process was successful by running the following command from a terminal
Fedora release 34 (Thirty Four)
So, enjoy Fedora 34.