Home >System Tutorial >LINUX >How To Upgrade To Fedora 39 From Fedora 38

How To Upgrade To Fedora 39 From Fedora 38

Lisa Kudrow
Lisa KudrowOriginal
2025-03-21 11:21:13792browse

Fedora 39: A Smooth Upgrade Guide from Fedora 38

Fedora, renowned for its cutting-edge features and stability, has unveiled its latest iteration, Fedora 39. This guide provides a comprehensive walkthrough for upgrading from Fedora 38 to Fedora 39, covering both Workstation and Server editions. Before initiating the upgrade, let's highlight the key improvements in Fedora 39.

Fedora 39 Enhancements:

This release boasts a significant upgrade with GNOME 45, featuring:

  • Refreshed widgets in core applications.
  • A new, Rust-based Image Viewer utilizing GTK 4 and libadwaita.
  • An enhanced workspace indicator for improved desktop clarity.
  • A visual indicator for Pipewire camera activity.
  • Redesigned default cursors.
  • Removal of Adwaita-qt and QGnomePlatform Qt themes.

GNOME 45 also delivers performance boosts:

  • Hardware-accelerated video decoding.
  • Multithreaded thumbnailing in the Files application.
  • Reduced cursor lag.
  • Faster search within GNOME Shell and applications like Files and Software.

Core application improvements include:

  • A new System Details section and keyboard layout viewer in Settings.
  • Improved search result organization in Files.
  • The option to remove user data during Flatpak uninstallation.

For detailed information, consult the official Fedora 39 release notes.

Prerequisites:

Prior to upgrading, ensure:

  • Data Backup: Back up your crucial data to prevent potential loss. Explore our Backup Tools section for helpful applications.
  • Stable Internet: Maintain a stable internet connection throughout the upgrade.
  • Uninterrupted Power: A UPS or reliable power source is recommended to avoid interruptions.
  • Review Known Issues: Check the Fedora 39 known issues list before proceeding.
  • Patience: The upgrade duration depends on your internet speed and system performance.

Upgrade Limitations:

Fedora supports direct upgrades to the next release (e.g., 38 to 39) and skipping one release (e.g., 37 to 39). Upgrades spanning more than two releases (e.g., 36 to 39) are unsupported. For a smooth upgrade, follow the recommended path. Always upgrade before your current version reaches End of Life (EOL).

Updating Fedora 38:

Begin by ensuring your Fedora 38 system is fully updated:

sudo dnf --refresh update
sudo dnf upgrade
sudo reboot

Verify your current version:

cat /etc/fedora-release
cat /etc/os-release

How To Upgrade To Fedora 39 From Fedora 38

Upgrading Fedora 38 Workstation to Fedora 39 Workstation via GNOME Software:

  1. Open GNOME Software: Launch GNOME Software from your application menu.
  2. Navigate to Updates: Select the "Updates" tab. Locate "Fedora Linux 39 Available" and click "Download."
  3. Restart and Upgrade: After the download, restart your system and follow the on-screen prompts. You may be asked for your sudo password.

How To Upgrade To Fedora 39 From Fedora 38 How To Upgrade To Fedora 39 From Fedora 38 How To Upgrade To Fedora 39 From Fedora 38 How To Upgrade To Fedora 39 From Fedora 38 How To Upgrade To Fedora 39 From Fedora 38 How To Upgrade To Fedora 39 From Fedora 38 How To Upgrade To Fedora 39 From Fedora 38 How To Upgrade To Fedora 39 From Fedora 38

  1. Login and Verify: Log in to your Fedora 39 desktop and verify the version using cat /etc/fedora-release or cat /etc/os-release, or via Settings -> About.

Upgrading Fedora 38 Server to Fedora 39 Server:

  1. Update Server: Update your server using sudo dnf --refresh update and sudo dnf upgrade, followed by a reboot.
  2. Install DNF Plugin: Install the dnf-plugin-system-upgrade (sudo dnf install dnf-plugin-system-upgrade).
  3. Download Upgrade: Run sudo dnf system-upgrade download --releasever=39 (or sudo dnf system-upgrade download --releasever=39 --allowerasing if dependencies are unsatisfied).
  4. Reboot and Upgrade: Reboot your server using sudo dnf system-upgrade reboot. The upgrade will proceed automatically.
  5. Verify Upgrade: After completion, verify the Fedora version using cat /etc/fedora-release.

Post-Upgrade Tasks (Workstation and Server):

  1. Change Hostname (Optional): Use sudo hostnamectl set-hostname <new_hostname></new_hostname>.
  2. Clean DNF Metadata: sudo dnf system-upgrade clean and sudo dnf clean packages.
  3. Remove Old Packages: Use sudo dnf autoremove and consider removing extras with sudo dnf remove $(sudo dnf repoquery --extras --exclude=kernel,kernel-*).
  4. Clean Up Retired Packages: Install remove-retired-packages and run it.
  5. Update Configuration Files: Install rpmconf and run sudo rpmconf -a.
  6. Clean Old Kernels (Caution): Remove old kernels (keeping at least two) with sudo dnf remove $(dnf repoquery --installonly --latest-limit=-3).
  7. Remove Broken Symlinks: Find and remove dangling symlinks using sudo symlinks -r /usr | grep dangling and sudo symlinks -r -d /usr.
  8. Reboot: Finally, reboot your system.

Conclusion:

This guide details upgrading to Fedora 39 from Fedora 38, providing both graphical and command-line methods. Post-upgrade cleanup steps are included for optimal system health. Regular updates are crucial to benefit from the latest features and security patches. For assistance with any issues, consult Fedora's official documentation or the Fedora community.

The above is the detailed content of How To Upgrade To Fedora 39 From Fedora 38. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn