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:
GNOME 45 also delivers performance boosts:
Core application improvements include:
For detailed information, consult the official Fedora 39 release notes.
Prerequisites:
Prior to upgrading, ensure:
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
Upgrading Fedora 38 Workstation to Fedora 39 Workstation via GNOME Software:
cat /etc/fedora-release
or cat /etc/os-release
, or via Settings -> About.Upgrading Fedora 38 Server to Fedora 39 Server:
sudo dnf --refresh update
and sudo dnf upgrade
, followed by a reboot.dnf-plugin-system-upgrade
(sudo dnf install dnf-plugin-system-upgrade
).sudo dnf system-upgrade download --releasever=39
(or sudo dnf system-upgrade download --releasever=39 --allowerasing
if dependencies are unsatisfied).sudo dnf system-upgrade reboot
. The upgrade will proceed automatically.cat /etc/fedora-release
.Post-Upgrade Tasks (Workstation and Server):
sudo hostnamectl set-hostname <new_hostname></new_hostname>
.sudo dnf system-upgrade clean
and sudo dnf clean packages
.sudo dnf autoremove
and consider removing extras with sudo dnf remove $(sudo dnf repoquery --extras --exclude=kernel,kernel-*)
.remove-retired-packages
and run it.rpmconf
and run sudo rpmconf -a
.sudo dnf remove $(dnf repoquery --installonly --latest-limit=-3)
.sudo symlinks -r /usr | grep dangling
and sudo symlinks -r -d /usr
.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!