Installing new packages on Fedora?

I am a new Fedora user and most of my prior experience is with Ubuntu. I was wondering what package manager options I have. I have previously used apt-get on Ubuntu and mainly command-line interface because of the long-standing issues I seem to have with using the Ubuntu graphical user interface for installing packages. However on Ubuntu there is also snap and flatpak as alternative ways of installing software.

Is dnf the official command line way of installing packages on Fedora? How comprehensive is it and would I be able to install software like Chrome or Skype with it or do I need to install that a different way? Is the graphical user interface for installing things inferior or equal to the command line way on Fedora? I have also heard of Anaconda? Is that also a package manager used on Fedora?

Thanks

1 Like

dnf is the CLI package manager.

I use it for the majority of my packages. You can use it to install most software but you may have to add some repositories to do so.

There is a repo for Chrome you can enable for example. IMO, rpmfusion are also must haves.

If you still can’t find what you want, you can also use flatpak to install software.

On workstation, gnome software is the GUI software store. It works for both rpm and flatpak software.

Personally, I prefer to use dnf as it offers more control but you can use either.

4 Likes

From the cli, yes ‘dnf’ is the official package manager for fedora. Fedora also has flatpak (and potentially snap) as software tools, but since snap seems ubuntu-centric it is often discouraged. I am surprised you still use apt-get since apt seems a better tool in managing dependencies.

There is a gui package manager known as gnome-software for the workstation version. Other spins use different gui package managers.

Any software that is in the fedora repos (and even some other 3rd party repos such as rpmfusion) can be managed with dnf.

Anaconda is not a package manager, it is the installer used for fedora.

You can use dnf to install almost any software that has had an rpm package created for it. An rpm is analogous to a deb created for ubuntu or other debian based distros.

In my personal use I never use the gui software manager, but others swear by it so it really is your choice to use cli with dnf or to use the gui tools.

I do, however, strongly recommend that for a version update (such as from release 37 to 38 which is coming about April) that everyone use the dnf cli process to perform version upgrades. I have seen too many reports of failed updates when done with the gui tools for me to be comfortable doing so.

2 Likes

You may also find this helpful:

7 Likes

and this one maybe too:

5 Likes

some more documentation:
https://dnf.readthedocs.io/en/latest/

2 Likes