Dave's Brain

Browse - Computer Tips - How do I upgrade to the next version of Fedora with dnf?

Date: 2015nov3
Updated: 2016nov22
OS: Linux
Distro: RedHat/Fedora/CentOS
Keywords: fedup

Q.  How do I upgrade to the next version of Fedora with dnf?

A.  For example, as root:

dnf system-upgrade download --releasever=25 (Of course, this takes a long time since it downloads) dnf system-upgrade reboot (This step took me about 20 minutes)
This works going to Fedora 23, 24, 25. After its done it tells you that you can do:
dnf clean packages
to remove cached packages

Add a comment

Sign in to add a comment
Copyright © 2008-2017, dave - Code samples on Dave's Brain is licensed under the Creative Commons Attribution 2.5 License. However other material, including English text has all rights reserved.