Fedora 23 has been released and available for download and install. This article will help you upgrade to Fedora 23 from Fedora 22 using DNF (alternative of yum) command line utility.
Check Fedora Version
Use one of following command to check your current Fedora system version. Fedora keeps its version details in /etc/redhat-release and /etc/fedora-release files. You can check any of file to get your current Fedora version.
$ cat /etc/fedora-release
Import Fedora 23 GPG Key
First import GPG key of Fedora 23 to your local system using following command. Its used for verifying packages before install them.
# rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-23-$(uname -i)
Upgrade to Fedora 23
Use the following set of commands to upgrade your Fedora system to 23 to Fedora 22. This process may take long time as per your system configuration and network speed.
# dnf upgrade # dnf clean all # dnf --releasever=23 --setopt=deltarpm=false distro-sync --nogpgcheck
Verify Fedora Version
After successfully completing above steps you will find that your fedora system has been upgraded successfully to Fedora 23. During startup you will find startup screen like below. It will show you Fedora 23 boot screen.
After competing boot of system, login to your system and use the following command to check upgraded fedora version.
3 Comments
Where do I get the gpg key? I can find references as to how to install it, but I can’t find out how to get it.
Upgrading is really very easy … but may take a real long time … time enough to drink a lot of coffee 😉
Using dnf directly is *not* recommended!
The official way to upgrade to Fedora 23 is to use the “system-upgrade” plugin.
See:
https://fedoraproject.org/wiki/DNF_system_upgrade
# dnf system-upgrade download –releasever 23
# dnf system-upgrade reboot