Disclosure: some links on this page are affiliate links. If you sign up through them we may earn a commission at no extra cost to you. It helps keep LinuxDistroFinder free.
On Windows you install software by downloading an .exe from a website and hoping it's legitimate. Linux works differently โ and better. A package manager fetches software from your distro's verified repositories, installs it with all dependencies, and later updates everything on your system with one command. It's the single feature most converts say they can't live without.
Three package managers dominate the Linux world. Which one you use is decided by your distro โ so understanding them also helps you choose a distro.
Who Uses What
| Package manager | Package format | Used by |
|---|---|---|
| APT | .deb | Ubuntu, Debian, Mint, Zorin, Pop!_OS, MX, Kali |
| DNF | .rpm | Fedora, Rocky, AlmaLinux, RHEL |
| Pacman | .pkg.tar.zst | Arch, Manjaro, EndeavourOS |
The Same Tasks, Three Dialects
| Task | APT | DNF | Pacman |
|---|---|---|---|
| Refresh package lists | sudo apt update | (automatic) | sudo pacman -Sy |
| Update all software | sudo apt upgrade | sudo dnf upgrade | sudo pacman -Syu |
| Install an app (VLC) | sudo apt install vlc | sudo dnf install vlc | sudo pacman -S vlc |
| Remove an app | sudo apt remove vlc | sudo dnf remove vlc | sudo pacman -R vlc |
| Search for software | apt search vlc | dnf search vlc | pacman -Ss vlc |
| Clean up unused deps | sudo apt autoremove | sudo dnf autoremove | sudo pacman -Rns $(pacman -Qtdq) |
APT โ The Universal Standard
If a tutorial exists on the internet, it probably starts with sudo apt install. APT (Advanced Package Tool) powers the entire Debian family, which means most of the Linux desktop world and most servers. It's mature, predictable, and verbose in a helpful way โ it tells you exactly what it's about to do and asks before doing it.
Personality: the dependable accountant. Never flashy, never surprising.
DNF โ The Modern Engineer
DNF (Dandified YUM) serves the Red Hat family. Its standout trait is the best dependency resolver of the three โ complex upgrades that confuse other tools, DNF reasons through. It auto-refreshes metadata (no separate "update the lists" step) and supports rich features like rollback history (dnf history undo). Slightly slower, noticeably smarter.
Personality: the methodical engineer who double-checks everything.
Pacman โ The Speed Demon
Arch's package manager is the fastest of the three and the tersest โ single-letter flags (-S sync/install, -R remove, -Q query) you combine like Lego: -Syu = sync + refresh + upgrade everything. Pair it with the AUR (Arch User Repository) via a helper like yay, and virtually every program ever written for Linux is one command away.
Personality: the F1 mechanic โ blazing fast, expects you to know the hand signals.
-Syu, not just -Sy + install). "Partial upgrades" are the classic way newcomers break rolling-release systems.What About Snap and Flatpak?
You'll also meet Snap (pushed by Ubuntu) and Flatpak (favoured by Fedora and Mint). These are universal formats that work across all distros, with apps sandboxed for security โ think of them as a cross-distro app store layered on top of your native package manager. Modern reality: you'll use both layers. Native packages for system tools; Flatpak/Snap for desktop apps like Spotify, Discord, or OBS.
Should the Package Manager Decide Your Distro?
For beginners โ no. All three are excellent, and the graphical Software Manager on a beginner distro hides them anyway. For tinkerers โ somewhat: if the AUR's bottomless catalogue excites you, that's a real reason to go Arch/Manjaro. For server work โ APT and DNF skills map directly to the major server distros, so you'll likely learn both eventually.
Practise all three on real machines
The fastest way to learn package managers: deploy an Ubuntu, Fedora, and Arch server side by side and run the same tasks on each. Vultr's $100 free credit covers all three for months.
Get $100 Free Credit on Vultr โOr keep one always-on practice box at Hostinger VPS.
Frequently Asked Questions
Is one of them objectively the best?
No โ they're different optimisations. Pacman optimises speed, DNF optimises correctness, APT optimises ubiquity. Linux veterans switch between them without drama.
Can I use APT on Fedora, or DNF on Ubuntu?
Don't. Package managers are deeply tied to their distro's package format and database. The cross-distro answer is Flatpak or Snap.
Do I have to use the terminal for all this?
Not on beginner distros โ Mint, Ubuntu, Zorin and Fedora all include graphical software centres. But the one-line terminal commands above are usually faster once you try them, which is how everyone gets converted.
Now that you speak package manager, find the distro that matches: browse all distros or run a head-to-head in the Compare Tool.