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, 26, 27, 28, 29. After its done it tells you that you can do:
dnf clean packages
to remove cached packages