Skip to content

Difference between linux package managers: apt, dpkg, dnf etc.

Posted on:January 19, 2024 at 05:50 AM

apt - Debian distributions

apt (Advanced Package Tool) primarily used in Debian-based distributions like Ubuntu, Mint, and Debian itself. It handles package installation, removal, and management.

dpkg - Debian distributions

dpkg (Debian Package Manager) is a command-line tool used in Debian-based distributions like Ubuntu. It’s responsible for installing, removing, and managing software packages.

dnf - RHEL, CentOS distributions

dnf (Dandified yum) is a package manager used in Fedora and Red Hat-based distributions. It’s a more advanced and user-friendly alternative to yum, providing features like faster package installation and dependency resolution.

tdnf - embeded system

tdnf (The Dandified Next-Generation yum) is a fork of dnf that aims to improve performance and add new features. It’s still under development and not widely used.

zypper - openSUSE, SUSE distributions

zypper is the package manager used in openSUSE and SUSE Linux Enterprise distributions. It offers a graphical user interface (GUI) and command-line interface (CLI) for managing software packages.

yum - CentOS

yum (Yellowdog Updater, Modified) is a package manager used in Red Hat-based distributions like CentOS and Rocky Linux. It allows users to install, update, and remove software packages from repositories.