How to Upgrade to Fedora 23 from Fedora 22 using DNF

Channel: Linux
Abstract: 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 instal

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.

Ref From: tecadmin

Related articles