Computer Tips - Fedora: upgrade to the next version of Fedora with dnf

Date: 2015nov3 Update: 2025apt16 OS: Linux Distro: RedHat/Fedora/CentOS Keywords: fedup Q. Fedora: upgrade to the next version of Fedora with dnf A. As root:
dnf --refresh upgrade
dnf system-upgrade download --releasever=NN (This takes a long time since it downloads)
where NN is the next release version number.
dnf system-upgrade reboot (This step took me about 20 minutes, I suggest running on the console)
This works going to Fedora 23-42. After its done it tells you that you can do:
dnf system-upgrade clean dnf clean packages
to clean up If that subcommand is missing, install it with:
dnf install python3-dnf-plugin-system-upgrade