We are committed to provide service 24 X 7

Deals, Shopping, Training, Tools

Learn how to – How to upgrade to Fedora 38 from Fedora 37

Learn how to – How to upgrade to Fedora 38 from Fedora 37.

How can I perform an upgrade from Fedora 37 to Fedora 38 Workstation / Server?. If this is a question you have in mind, then you’re in the right place. If you’re a Fedora die-hard fan, you must ne eager to upgrade from Fedora 37 to Fedora 38 Linux system. The process should work on both Server and Workstation editions.

For most users, it makes sense to perform an in-place upgrade of the OS and all packages installed as opposed to a clean installation. Retaining files and Documents on your system is key, to enjoy new features while being productive. We shall also highlight key features in Fedora 38 release.

Fedora 38 New Features

Some key features shipped in Fedora 38 release are as listed below.

  • GNOME 44: The Fedora Workstation 38 ships the newest Gnome desktop environment. Gnome 44 has stunning tweaks and revamps. There are notable features in the Quick Settings menu and the Settings app.
  • File chooser: Most Gnome apps are built on GTK 4.10. This brings an improved file chooser with an icon view and image previews.
  • Quick Settings tweaks: In Gnome 44, there are several improvements, among them is the Quick Settings menu. This new version comes with a new Bluetooth menu, which provides the ability to quickly connect and disconnect known Bluetooth devices.
  • Core applications: Most of the Gnome apps have also received improvements in this new release. The notable changes are:
    • Redesigned sound now includes new windows for the volume mixer and alert sound.
    • Updated Device Security now uses clearer language.
    • Major redesigns of the Mouse & Touchpad and Accessibility significantly improve usability.
    • You can now share your Wi-Fi credentials with another device through a QR code.
  • Linux kernel 6.2: This brings extended hardware support, bug fixes and performance improvements. RPM now uses the Rust-written Sequoia OpenGPG parser for better security.

Upgrade to Fedora 38 from Fedora 37 Workstation / Server

Now that we’ve captured key highlights on what’s new, we can now put our attention on the actual upgrade from Fedora 37 to Fedora 38.

1) Update Fedora 38 system

Before we initiate upgrade, ensure all system packages are up-to-date

sudo dnf -y upgrade

Once it has been updated, reboot your machine.

sudo systemctl reboot

Validate the system you’re working on is Fedora 38

$ cat /etc/redhat-release
Fedora release 37 (Thirty Seven)

2) Backup System

It is highly recommended you perform a system backup of your Documents and files before a major upgrade. Backups can be done to an external drive or another system in your Network.

Refer to the official backup series on Fedora Magazine.

3) Upgrade from Fedora 37 to Fedora 38

Check if any new updates are available

sudo dnf upgrade --refresh

Apply any updates that maybe available then install DNF plugin.

sudo dnf -y install dnf-plugin-system-upgrade

With dnf-plugin-system-upgrade installed, begin an upgrade of Fedora 37 to Fedora 38 Workstation. Execute commands below in your terminal as root or user with sudo privileges.

sudo dnf system-upgrade download --releasever=38

Change the --releasever= number if you want to upgrade to a different release of Fedora.

Press to y to accept upgrade of the system.

Before you continue ensure that your system is fully upgraded by running "dnf --refresh upgrade". Do you want to continue [y/N]: y

The command we just executed will download all of the upgrades for your machine locally as it prepares for the actual upgrade.

NB: If you have broken dependencies or retired packages blocking the upgrade, the use the command.

sudo dnf system-upgrade download --releasever=38 --allowerasing

A number of packages are downloaded, ensure you have a stable internet connection.

Transaction Summary
Install      6 Packages
Upgrade    405 Packages
Downgrade    7 Packages

Total download size: 249 M
DNF will only download packages, install gpg keys, and check the transaction.
Is this ok [y/N]: y

After the packages are downloaded locally trigger the upgrade process with the following commands:

sudo dnf system-upgrade reboot

The system will be rebooted and upgrade process is finalized.

Once the upgrade process completes, the system is rebooted a second time into the new OS release of Fedora.

$ neofetch
             .',;::::;,'.                root@fed38.mylab.io
         .';:cccccccccccc:;,.            -------------------
      .;cccccccccccccccccccccc;.         OS: Fedora Linux 38 (Thirty Eight) x86_64
    .:cccccccccccccccccccccccccc:.       Host: vServer 20171111
  .;ccccccccccccc;.:dddl:.;ccccccc;.     Kernel: 6.2.11-300.fc38.x86_64
 .:ccccccccccccc;OWMKOOXMWd;ccccccc:.    Uptime: 5 mins
.:ccccccccccccc;KMMc;cc;xMMc:ccccccc:.   Packages: 623 (rpm)
,cccccccccccccc;MMM.;cc;;WW::cccccccc,   Shell: bash 5.2.15
:cccccccccccccc;MMM.;cccccccccccccccc:   Resolution: 1024x768
:ccccccc;oxOOOo;MMM0OOk.;cccccccccccc:   Terminal: /dev/pts/0
cccccc:0MMKxdd:;MMMkddc.;cccccccccccc;   CPU: Intel Xeon (Skylake, IBRS) (2) @ 2.099GHz
ccccc:XM0';cccc;MMM.;cccccccccccccccc'   GPU: 00:02.0 Vendor 1234 Device 1111
ccccc;MMo;ccccc;MMW.;ccccccccccccccc;    Memory: 153MiB / 3805MiB

4) Updating configuration files (optional)

The rpmconf command line tool can help you to search for .rpmnew, .rpmsave and .rpmorig files and asks you what to do with them. You can choose to;

  • Keep the current version (new package maintainer’s version)
  • Replace with the previous version (return original file), or
  • Review the differences between the versions

Install rpmconf package by entering the commands;

sudo dnf -y install rpmconf

Then use it to check changed configuration files

sudo rpmconf -a

The -a, --all command options allow you to check configuration files of all packages updated.

See example below:

Configuration file '/boot/efi/EFI/fedora/grub.cfg'
-rwx------. 1 root root 6696 Oct 26 05:39 /boot/efi/EFI/fedora/grub.cfg.rpmsave
-rwx------. 1 root root  143 Oct 26 05:39 /boot/efi/EFI/fedora/grub.cfg

 ==> Package distributor has shipped an updated version.
 ==> Maintainer forced upgrade. Your old version has been backed up.
   What would you like to do about it?  Your options are:
    Y or I  : install (keep) the package maintainer's version
    N or O  : return back to your original file
      D     : show the differences between the versions
      M     : merge configuration files
      Z     : background this process to examine the situation
      S     : skip this file
 The default action is to keep package maintainer's version.
*** aliases (Y/I/N/O/M/D/Z/S) [default=Y] ?
Your choice: Y

5) Deleting retired packages (optional)

With any major release of Fedora, a few packages are retired for a number of reasons.  It is highly recommend to remove these packages.

Install remove-retired-packages package

sudo dnf install remove-retired-packages

Run the command to remove retired packages

sudo remove-retired-packages

Enjoy your new Fedora 38 Workstation / Server release. We have more guides you can check on Fedora system.


Your Cart is Empty

Back To Shop