1 安装dnf-plugin-system-upgrade dnf install dnf-plugin-system-upgrade 2 更新软件包 dnf system-upgrade download --releasever=25 3 重启系统 dnf system-upgrade reboot