Facebook Twitter Instagram
    TecAdmin
    • Home
    • FeedBack
    • Submit Article
    • About Us
    Facebook Twitter Instagram
    TecAdmin
    You are at:Home»General Articles»How to Upgrade to Fedora 23 from Fedora 22 using DNF

    How to Upgrade to Fedora 23 from Fedora 22 using DNF

    By RahulNovember 4, 20152 Mins Read

    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.

    Advertisement

    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
    

    fedora-22-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.

    fedora-23-boot-option

    After competing boot of system, login to your system and use the following command to check upgraded fedora version.

    fedora-upgrade-to 23

    dnf fedora fedora 23 fedora upgrade
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email WhatsApp

    Related Posts

    How to List Manually Installed Packages in Ubuntu & Debian

    10 Bash Tricks Every Developer Should Know

    How to Validate Email Address in JavaScript

    View 3 Comments

    3 Comments

    1. Vince Radice on January 6, 2016 9:52 pm

      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.

      Reply
    2. Wolfgang on December 26, 2015 11:37 am

      Upgrading is really very easy … but may take a real long time … time enough to drink a lot of coffee 😉

      Reply
    3. basic6 on November 20, 2015 7:29 pm

      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

      Reply

    Leave A Reply Cancel Reply

    Advertisement
    Recent Posts
    • How to List Manually Installed Packages in Ubuntu & Debian
    • 10 Bash Tricks Every Developer Should Know
    • How to Validate Email Address in JavaScript
    • Firewalld: Common Firewall Rules and Commands
    • 12 Apk Commands in Alpine Linux Package Management
    Facebook Twitter Instagram Pinterest
    © 2023 Tecadmin.net. All Rights Reserved | Terms  | Privacy Policy

    Type above and press Enter to search. Press Esc to cancel.