Learn how to – How To Upgrade To Fedora 37 From Fedora 36.
How can I upgrade Fedora 36 to Fedora 37?. Fedora 37 has been released and is available now for installation on both Desktop and Servers. To enjoy the latest features available in Fedora 37, an upgrade or fresh installation is required.
Most will prefer to do an in-place upgrade to latest Fedora release on their Workstation while retaining files and installed applications. It is easy to upgrade to a newer release of Fedora Workstation or Server edition as opposed to performing a new installation. Before you can initiate the upgrade process, first confirm the release of Fedora you’re running.
$ cat /etc/os-release
NAME="Fedora Linux"
VERSION="36 (Thirty Six)"
ID=fedora
VERSION_ID=36
VERSION_CODENAME=""
PLATFORM_ID="platform:f36"
PRETTY_NAME="Fedora Linux 36 (Thirty Six)"
ANSI_COLOR="0;38;2;60;110;180"
LOGO=fedora-logo-icon
CPE_NAME="cpe:/o:fedoraproject:fedora:36"
HOME_URL="https://fedoraproject.org/"
DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora/f36/system-administrators-guide/"
SUPPORT_URL="https://ask.fedoraproject.org/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Fedora"
REDHAT_BUGZILLA_PRODUCT_VERSION=36
REDHAT_SUPPORT_PRODUCT="Fedora"
REDHAT_SUPPORT_PRODUCT_VERSION=36
PRIVACY_POLICY_URL="https://fedoraproject.org/wiki/Legal:PrivacyPolicy"
Upgrade to Fedora 37 from Fedora 36 Workstation / Server
Upgrade of Fedora system 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 to Fedora 37 from to Fedora 36
Once is system is up from reboot, install DNF plugin.
sudo dnf install dnf-plugin-system-upgrade
Press y to accept installation.
....
Transaction Summary
======================================================================================================================================================================================================
Install 6 Packages
Total download size: 513 k
Installed size: 1.8 M
Is this ok [y/N]: y
The begin an upgrade of Fedora Workstation by running the following command in your terminal.
sudo dnf system-upgrade download --releasever=37
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.
Transaction Summary
=======================================================================================================================================================
Install 38 Packages
Upgrade 1760 Packages
Remove 4 Packages
Downgrade 3 Packages
Total download size: 1.8 G
DNF will only download packages, install gpg keys, and check the transaction.
Is this ok [y/N]: y
....
NB: If you have broken dependencies or retired packages blocking the upgrade, the use the command.
sudo dnf system-upgrade download --releasever=37 --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 to Fedora 37 from Fedora 36
Once the command is executed successfully, reboot and finish the upgrade of Fedora.
sudo dnf system-upgrade reboot
Wait for the upgrade to complete:
Check your Fedora version on the command below.
$ cat /etc/redhat-release
Fedora release 37 (Thirty Seven)
$ cat /etc/os-release
NAME="Fedora Linux"
VERSION="37 (Thirty Seven)"
ID=fedora
VERSION_ID=37
VERSION_CODENAME=""
PLATFORM_ID="platform:f37"
PRETTY_NAME="Fedora Linux 37 (Thirty Seven)"
ANSI_COLOR="0;38;2;60;110;180"
LOGO=fedora-logo-icon
CPE_NAME="cpe:/o:fedoraproject:fedora:37"
DEFAULT_HOSTNAME="fedora"
HOME_URL="https://fedoraproject.org/"
DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora/f37/system-administrators-guide/"
SUPPORT_URL="https://ask.fedoraproject.org/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Fedora"
REDHAT_BUGZILLA_PRODUCT_VERSION=37
REDHAT_SUPPORT_PRODUCT="Fedora"
REDHAT_SUPPORT_PRODUCT_VERSION=37
The neofetch
output should look similar to this:
Enjoy using the latest stable release of Fedora Workstation / Server and check for other guides available in our blog.
Leave a Reply
You must be logged in to post a comment.