This article will provide you with all necessary steps to upgrade Fedora 30 to Fedora 31.

In this tutorial you will learn:
  • How to fully upgrade your current system
  • How to upgrade to Fedora 31
Fedora 30 Workstation to Fedora 31 Upgrade
Fedora 30 Workstation to Fedora 31 Upgrade

Software Requirements and Conventions Used

Software Requirements and Linux Command Line Conventions
Category Requirements, Conventions or Software Version Used
System Fedora 30
Software N/A
Other Privileged access to your Linux system as root or via the sudo command.
Conventions # - requires given linux commands to be executed with root privileges either directly as a root user or by use of sudo command
$ - requires given linux commands to be executed as a regular non-privileged user

Upgrading Fedora 30 Workstation to Fedora 31 step by step instructions


  1. BACKUP YOUR DATA
    Backup your data. Before you do anything make sure that you have backed up all your data to some external storage/system. In case you are upgrading virtually, make sure to take snapshot of your current virtual machine state.
  2. The first step is to make sure your current system is up to date. Make your metadata expire with dnf clean expire-cache command or simply run:
    $ sudo dnf  --refresh upgrade
    
    The above command will fully upgrade your current Fedora 30 system.

  3. SUBSCRIBE TO NEWSLETTER
    Subscribe to Linux Career NEWSLETTER and receive latest Linux news, jobs, career advice and tutorials.


  4. (Optional) In the next step you are recommended to clean your software to improve the likelihood of a clean upgrade to Fedora 31.

    This includes removal of all software you no longer use whether it was installed from a standard Fedora or 3rd-party repository. The rule of thumb is, the less software installed the higher the change of a successful upgrade. Few commands which might provide you with some hints are:
    $ dnf repolist enabled
    
    The above command will list all your currently enable repositories. The following command will list all manually installed packages:
    $ dnf history userinstalled
    
  5. Next, install system upgrade plugin necessary to perform the actual upgrade:
    $ sudo dnf install dnf-plugin-system-upgrade
    
  6. Download all required upgrade packages related to Fedora 31:
    $ sudo dnf system-upgrade download --releasever=31
    
    In case you are facing some dependencies issues use the --allowerasing to allow the system erasing of installed packages to resolve dependencies:
    $ sudo dnf system-upgrade download --releasever=31 --allowerasing
    


  7. Last step is to simply reboot your system which will on the next boot trigger the actual upgrade from Fedora 30 to Fedora 31. Depending on your system and number of packages installed the upgrade might take some to complete.
    $ sudo dnf system-upgrade reboot
    
    All done!
ARE YOU LOOKING FOR A LINUX JOB?
Submit your RESUME, create a JOB ALERT or subscribe to RSS feed on LinuxCareers.com.
LINUX CAREER NEWSLETTER
Subscribe to NEWSLETTER and receive latest news, jobs, career advice and tutorials.
DO YOU NEED ADDITIONAL HELP?
Get extra help by visiting our LINUX FORUM or simply use comments below.