HomeTech PlusTECH & OTHER NEWSHow to install DNF5 on Fedora 39 for faster application installation and...

How to install DNF5 on Fedora 39 for faster application installation and management

free-handsgettyimages-980838288

champpixs/Getty Images

DNF, which replaced the aging original Linux package manager some time ago, is used on the likes of Red Hat Enterprise Linux, Fedora, and other distributions to install, upgrade, and remove software. DNF, aka Dandified Yum, is very simple to use but it has long been criticized for being slow.

Now, DNF5 is here to vastly improve the experience and performance. DNF5 features:

Also: How to choose the right Linux desktop distribution for you

  • No longer requires Python
  • Smaller install size – 114 MB (whereas DNF used 165 MB).
  • Noticeable speed increase
  • Replaces both DNF and Microdnf with a single package
  • Optimizes download metadata
  • Optional download of file lists (which are configurable from the DNF config file and/or commands)

I’ve installed DNF5 on a few instances of Fedora Linux and have been pleasantly surprised at how much faster it runs than previous iterations. When you combine the new-found speed of DNF5 with the blazing speed of the GNOME 45 Activities Overview search, Fedora 39 turns into one of the fastest desktop operating systems you’ll ever experience.

The problem is that Fedora 39 doesn’t ship with DNF5 installed. Out of the box, you’ll get the speed of GNOME 45 but you’ll miss out on the swifter package management experience.

Fortunately, DNF5 is very easy to install on Fedora 39. Let me show you how it’s done.

How to install DNF5 on Fedora 39

What you’ll need: The only things you’ll need are a running instance of Fedora 39 and a user with sudo privileges.

A few things to keep in mind: First, DNF5 will not be officially added until Fedora 41. Second, GNOME Software does not yet use DNF5. While you can use DNF and DNF5 on the same machine, you’ll have to specify the dnf5 command when you want to use it (instead of the standard dnf). I’ve tested DNF5 on Fedora 39 and haven’t run into any issues yet, but your mileage may vary.

Also: Linux might be your best bet for heightening your desktop computer security

With that said, let’s install DNF5 on Fedora 39.

The first thing you’ll want to do is upgrade Fedora. This is something you should do regularly, to ensure you have the latest security patches, bug fixes, and features. Log into your Fedora 39 instance and open the terminal app. With that open, upgrade Fedora with the command:

sudo dnf upgrade -y

If the kernel is upgraded, you’ll have to reboot the machine for that particular upgrade to take effect.

Back at the terminal app, install DNF5 with the command:

sudo dnf install dnf5 -y

When that completes, reboot your machine.

Using DNF5

As I said earlier, using DNF5 is a simple matter of dnf5 over dnf. In other words, to upgrade Fedora with DNF5, the command would be:

sudo dnf5 upgrade -y

Also: Thinking about switching to Linux? 9 things you need to know

Let’s say you want to install the Audacity audio recorder. For that, the DNF5 command would be:

sudo dnf5 install audacity -y

To remove Audacity, the command would be:

sudo dnf5 remove audacity -y

And that’s pretty much all there is to DNF5. Here’s one final thing to keep in mind: Once Fedora officially adopts DNF5, the command will most likely revert to dnf, since DNF5 will then be the default. 

Source Link

Technology For You
Technology For Youhttps://www.technologyforyou.org
Technology For You - One of the Leading Online TECHNOLOGY NEWS Media providing the Latest & Real-time news on Technology, Cyber Security, Smartphones/Gadgets, Apps, Startups, Careers, Tech Skills, Web Updates, Tech Industry News, Product Reviews and TechKnowledge...etc. Technology For You has always brought technology to the doorstep of the Industry through its exclusive content, updates, and expertise from industry leaders through its Online Tech News Website. Technology For You Provides Advertisers with a strong Digital Platform to reach lakhs of people in India as well as abroad.

LEAVE A REPLY

Please enter your comment!
Please enter your name here

spot_img

CYBER SECURITY NEWS

TECH NEWS

TOP NEWS