How To Update a Fedora Linux System [Beginner’s Tutorial]

This quick tutorial shows various ways to update a Fedora Linux install.

So, the other day, I installed the newly released Fedora 31. I’ll be honest with you, it was my first time with a non-Ubuntu distribution.

The first thing I did after installing Fedora was to try and install some software. I opened the software center and found that the software center was ‘broken’. I couldn’t install any application from it.

I wasn’t sure what went wrong with my installation. Discussing within the team, Abhishek advised me to update the system first. I did that and poof! everything was back to normal. After updating the Fedora system, the software center worked as it should.

Sometimes we just ignore the updates and keep troubleshooting the issue we face. No matter how big/small the issue is – to avoid them, you should keep your system up-to-date.

In this article, I’ll show you various possible methods to update your Fedora Linux system.

Keep in mind that updating Fedora means installing the security patches, kernel updates and software updates. If you want to update from one version of Fedora to another, it is called version upgrade and you can read about Fedora version upgrade procedure here.

Updating Fedora From The Software Center

Software Center in Fedora Software Center in Fedora
Software Center

You will most likely be notified that you have some system updates to look at, you should end up launching the software center when you click on that notification.

All you have to do is – hit ‘Update’ and verify the root password to start updating.

In case you did not get a notification for the available updates, you can simply launch the software center and head to the “Updates” tab. Now, you just need to proceed with the updates listed.

Updating Fedora Using The Terminal

If you cannot load up the software center for some reason, you can always utilize the dnf package managing commands to easily update your system.

Simply launch the terminal and type in the following command to start updating (you should be prompted to verify the root password):

sudo dnf upgrade

dnf update vs dnf upgrade

You’ll find that there are two dnf commands available: dnf update and dnf upgrade.
Both command do the same job and that is to install all the updates provided by Fedora.
Then why there is dnf update and dnf upgrade and which one should you use?
Well, dnf update is basically an alias to dnf upgrade. While dnf update may still work, the good practice is to use dnf upgrade because that is the real command.

Updating Fedora From System Settings

system-settings-fedora-1-4256708system-settings-fedora-1-4256708

If nothing else works (or if you’re already in the System settings for a reason), navigate your way to the “Details” option at the bottom of your settings.

This should show up the details of your OS and hardware along with a “Check for Updates” button as shown in the image above. You just need to click on it and provide the root/admin password to proceed to install the available updates.

Wrapping Up

As explained above, it is quite easy to update your Fedora installation. You’ve got three available methods to choose from – so you have nothing to worry about.