Let’s Upgrade Fedora From The Terminal

Today’s a good day for a short article, like one on how to upgrade Fedora from the terminal. It’s a pretty easy task, yet one I have in my notes. I see no reason to not turn it into a nice, short article. After all, you might not know how to upgrade Fedora from the terminal!

Obviously, you’re going to need Fedora installed for this. Though, technically, I’m sure you could do this if you were trying the live instance of Fedora. I mean, you could…

Anyhow, all operating systems should get updates. If you’re not getting updates, something is wrong. The most obvious ‘wrong’ in this is that you’re using an operating system that’s no longer supported. By doing so,  and doing so online, you are not just a risk to yourself – but you’re a risk to other users.

For example, you could be compromised and become a part of a botnet. That’d be bad. So, stay updated – not just for yourself but to be a good member of the community. Use a distro that’s still supported.

Lest you think this is a weird article, I’ve actually also written:

How To: Update Ubuntu From The Terminal

See? ‘Snot the first time we’ve had this sort of article. 

Well, let’s get into it. Let’s learn how to …

Upgrade Fedora From The Terminal:

This article requires an open terminal, like many other articles on this site. If you don’t know how to open the terminal, you can do so with your keyboard – just press CTRL + ALT + T and your default terminal should open.

With your terminal open,  you can start with a very simple command:

That’s “it”, I guess… Well, no… That’s all you need to do to upgrade your system. If your system requires a reboot, you do that with:

Now, here’s a little trick…

Let’s say your upgrade screwed something up. You upgraded to a new version of Thunderbird and you want to roll back to a previous version. You can do that without much effort. 

Obviously, change the name of the application to the application you’re having problems with. Well, each upgrade will have a number assigned to it and it’ll show that number when you run the above command. You use that number in this command:

That will undo the most recent upgrade to that application, restoring a usable application for you. You can then try it again when the application is next upgraded.

See? It’s a neat little trick with ‘dnf’. Feel free to check the man page, with man dnf, to see what other little gems you can find.

Closure:

See? I told you that it’d be a nice and easy article. This one isn’t difficult – but does have a neat feature not everyone knows about, that is how to rollback upgrades with DNF when you have chosen to upgrade Fedora from the terminal.

Thanks for reading! If you want to help, or if the site has helped you, you can donate, register to help, write an article, or buy inexpensive hosting to start your own site. If you scroll down, you can sign up for the newsletter, vote for the article, and comment.

Install Brave Browser In Fedora

I keep hearing people talk about the Brave browser, so I decided to spin up a virtual machine and learn how to install Brave browser in Fedora. It’s actually one of the more complicated installs, but it’s not dreadfully difficult. If you’re looking to install Brave browser in Fedora, this article is for you.

If you’re unfamiliar with Fedora, it’s a distro that’s mostly sponsored by Red Hat and it is usually on the front edge of software. So, if you’re looking for a reasonably stable platform that also offers the latest and greatest software, Fedora is probably a good distribution for you.

Read: What is The Best Linux Distro?

So, if you’re a Fedora user, or are considering using Fedora, you might be pleased to know that you can install Brave browser. It’s not even all that difficult. While it’s generally advised that new users stick to the software choices in their default repositories, I’ve generally/mentally always made an exception for the browser. After all, which browser you prefer is such a personal choice. As such, you may need to reach outside the defaults to find the browser that best suits your needs.

Anyhow, today’s article is going to tell you how to install the Brave browser in Fedora. I’m not really a huge fan of Brave, but the growing popularity can’t be denied. So, you might as well know how to install it.

Install Brave Browser In Fedora:

Like so many articles, this one requires an open browser. That’s easily accomplished with the GUI application menu, or you can just go ahead and press CTRL + ALT + T and your default terminal should open.

With your terminal open, let’s prep Fedora to install Brave browser. You’ll need to install dnf-plugins-core if you’ve not already done so. That’s done with this command:

We’ll then want to add the Brave repository, like so:

Note: That may change with newer Brave versions.

Next, you’ll want to make sure the software you get is genuine, using an .asc file – an ASCII version of a .pgp key file, and this requires this command:

That’s pretty much it, actually. All that’s left is to install Brave browser in Fedora – which is done with just this command:

Follow any on-screen prompts and you’re good to go. If you want proof that it works, see this:

freshly installed brave browser in Fedora
That may look a little funny, but it’s Fedora with LXDE – and the Brave browser!

See? It works! It wasn’t even all that hard to install the Brave browser. If that’s the browser you want to use, you can now jump to Fedora and know that the browser works just fine. You’re welcome!

Closure:

There you have it. There’s another article, this one telling you how to install Brave browser. I figured it’d be something folks are interested in, as Brave has increased in popularity and more folks are considering using Brave as their default browser.

Thanks for reading! If you want to help, or if the site has helped you, you can donate, register to help, write an article, or buy inexpensive hosting to start your own site. If you scroll down, you can sign up for the newsletter, vote for the article, and comment.

How To: Update From The Terminal In Fedora

It may seem silly to write an article about how to update from the terminal in Fedora, but it’s not! There’s actually a reason for doing this and there’s more to it than just updating! I’ll try to keep the article brief, but we’ll just have to hope for the best.

If you don’t know what Fedora is, it’s a distro primarily sponsored by Red Hat. In 2003, RHL was nixed in favor of RHEL, a paid distro. Fedora is a community maintained distro based on RHEL and even the trademark is owned by Red Hat. 

So, it’s a pretty solid distro with a few versions. There’s a workstation, IoT, and server edition. It’s binary compatible with RHEL and is widely used, with something like 1.2 million users. Support is through the community, which is a distinction between Fedora and RHEL where support is a paid option. Fedora also has some community spins that offer things like different desktop environments.

I should probably note that, since the changes to CentOS’s direction, RHEL is pretty much free for SOHO use. You can download it and use it on your workstation right now. See this link for more information about getting and using RHEL free – it’s a lot nicer an agreement than you may think!

Anyhow, on to Fedora… 

The motivation behind this article is that there’s an ‘undo’ option for DNF that’s pretty neat. However, out of the box it doesn’t do much. There are some extra steps you’re going to want to take and none of the sites that I’ve visited ever seem to put these two together.

This article aims to address that!

Update From The Terminal In Fedora:

Obviously, you’re going to need your terminal open. To do this, you can just use your keyboard and press CTRL + ALT + T. That should open your default terminal.

Once your terminal is open, you can upgrade like so:

That should update your system to the latest and greatest. In fact, you can list your previous DNF history with the following command:

Now, here’s the neat part… When you run the history command above, the first column is an ID column and you can undo a specific update with this command:

Except that pretty much never works. Fedora isn’t in the habit of keeping archived versions in their repositories. So, this is the neat part, you need to add a repo that contains those archives. That’s the missing step!

This isn’t a perfect undo, but it’s a far sight better than it is without that repo being added. For the most part, it works. If it’s not working, it may ask you to use either (or both) the --allow-erasing or --skip-broken flags and, from my testing, that appears to make it work well enough most of the time.

So, if you want to use the undo feature offered by DNF, you should really add that archive. Doing so will make a more robust solution when you attempt to update from the terminal in Fedora.

Closure:

And there you have it. With that, you should be able to update from the terminal in Fedora with some greater confidence. With that little change, you can actually undo (some/many) updates if they go awry or if you need a little more time before you can use the newer versions of your applications. It’s not that hard and my observations tell me that it works with some regularity – if you’ve added the archive repo.

Thanks for reading! If you want to help, or if the site has helped you, you can donate, register to help, write an article, or buy inexpensive hosting to start your own site. If you scroll down, you can sign up for the newsletter, vote for the article, and comment

Linux Tips
Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License.