TranslateProject/sources/tech/20191104 How To Update a Fedora Linux System -Beginner-s Tutorial.md
DarkSun 9a32ed0d39 选题: 20191104 How To Update a Fedora Linux System [Beginner’s Tutorial]
sources/tech/20191104 How To Update a Fedora Linux System -Beginner-s Tutorial.md
2019-11-04 00:54:33 +08:00

4.6 KiB
Raw Blame History

How To Update a Fedora Linux System [Beginners Tutorial]

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

So, the other day, I installed the newly released Fedora 31. Ill 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 couldnt install any application from it.

I wasnt 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, Ill 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

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 ** Youll 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

If nothing else works (or if youre 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. Youve got three available methods to choose from so you have nothing to worry about.

If you notice any issue in following the instructions mentioned above, feel free to let me know in the comments below.


via: https://itsfoss.com/update-fedora/

作者:Ankush Das 选题:lujun9972 译者:译者ID 校对:校对者ID

本文由 LCTT 原创编译,Linux中国 荣誉推出