Upgrading Fedora 31 to Fedora 32 using the command line interface (CLI) can be done by following these steps:
- First, ensure that your current Fedora 31 installation is up-to-date by running the command:
sudo dnf update
- Next, you need to install the
fedora-upgrade
package by running the command:
sudo dnf install fedora-upgrade
- Now, you can start the upgrade process by running the command:
sudo fedora-upgrade
- The above command will start the upgrade process, and it will check for the latest version of Fedora available, it will download the necessary packages, and it will prompt you to confirm the upgrade.
- After confirming the upgrade, the process will begin. This can take some time, depending on your internet connection and the amount of data that needs to be downloaded. You should be able to see the progress of the upgrade on the screen.
- When the upgrade process is completed, it will prompt you to reboot your system.
- After rebooting, you can confirm that your system has been upgraded to Fedora 32 by running the command:
cat /etc/fedora-release
- Finally, you should run a full system update after the upgrade process, by running the command:
sudo dnf update
It’s important to note that, before upgrading, it is always a good practice to create a backup of your important data, or to take a snapshot of your current system if you are using a virtual machine. Also, ensure that your system meets the minimum requirements for Fedora 32 and that you have enough free disk space.