Fedora Linux 40 has arrived, and it comes packed with a host of new features and improvements. This release boasts GNOME 46 and KDE Plasma 6 for desktop systems and utilizes the Wayland graphics stack. Additionally, it includes integrated AI tools and updates to a wide range of open-source software packages.

Some of the standout enhancements include an updated Files app in GNOME 46, improved accessibility, a revamped Settings app, updates to key applications like Software, Maps, Calendar, and Extensions, and a general boost in system performance.

If you’re using Fedora 39, upgrading to Fedora 40 is a breeze. You can do it either through the command line or by using the GNOME Software graphical interface. Here’s how:

Upgrading via Command Line

1. Update Your System:

   Before you start the upgrade, make sure your Fedora 39 system is completely up-to-date. Open your terminal and run:

   
   sudo dnf upgrade --refresh
   

2. Install the Upgrade Plugin:

   You'll need the `dnf-plugin-system-upgrade` to proceed. To install it, type:

   
   sudo dnf install dnf-plugin-system-upgrade
   

3. Download Fedora 40 Packages:

   Next, initiate the download of Fedora 40 packages with:

   
   sudo dnf system-upgrade download --releasever=40
  

   If you run into any software conflicts, adding the `--allowerasing` option can help resolve them:

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

4. Reboot and Install:

   After the download finishes, reboot your system to start the upgrade process:

   
   sudo dnf system-upgrade reboot
   

   Your system will begin the upgrade. Once it’s done, simply log in and check that everything is working correctly.

Upgrading via Graphical Interface

1. Notification and Preparation:

   For those using Fedora Workstation, you should receive a notification about a new stable release. Click on the notification or open the GNOME Software app and head to the "Updates" tab.

2. Update Your System:

   Before upgrading, click "Refresh" to ensure your software is aware of the latest updates. If there are updates pending, click "Download" and then "Restart & Update" when prompted to apply all current updates.

3. Start the Upgrade:

   After updating your system, you should see an option to "Download" Fedora 40. Follow the on-screen instructions in GNOME Software. Once the process completes, your system will reboot to finalize the installation.

Rolling Back the Fedora Upgrade

If something doesn’t go as planned and you need to roll back to the previous version, it's quite easy. Just run the following command:


sudo rpm-ostree rollback

Conclusion

Upgrading from Fedora 39 to Fedora 40 is straightforward and brings you access to many new features and improvements. By following these steps, you can smoothly transition to the latest version of Fedora and enjoy all the new advancements it has to offer.