Drag a concept onto its matching description — or click a concept then click the description.
Debian/Ubuntu
RHEL/CentOS 7
Fedora/RHEL 8+
openSUSE/SLES
Arch Linux
Match each Linux package manager to its distribution family.
Drag a concept onto its matching description — or click a concept then click the description.
Debian/Ubuntu
RHEL/CentOS 7
Fedora/RHEL 8+
openSUSE/SLES
Arch Linux
Answer choices
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
apt: Debian-based distributions
Different Linux distributions use different package managers: apt is for Debian-based, yum/dnf for Red Hat-based, and pacman for Arch Linux. Common confusions include mixing apt with Red Hat or yum with Arch.
Answer analysis
For each option: why learners choose it and why it is or isn't the right answer here.
apt: Debian-based distributions
Why this is correct
apt is the package manager used in Debian, Ubuntu, and other Debian-based distributions.
yum: Red Hat-based distributions
Why this is correct
yum is the traditional package manager for RHEL, CentOS, and other Red Hat-based distributions.
dnf: Fedora and modern Red Hat-based distributions
Why this is correct
dnf is the next-generation package manager for Fedora and modern Red Hat-based distributions like RHEL 8+.
pacman: Arch Linux
Why this is correct
pacman is the package manager for Arch Linux and its derivatives.
apt: Red Hat-based distributions
Why it's wrong here
Incorrect — apt is used on Debian-based, not Red Hat-based distributions. Red Hat-based distributions use rpm-based tools like yum or dnf.
yum: Arch Linux
Why it's wrong here
Incorrect — yum is used on Red Hat-based distributions, not Arch Linux. Arch Linux uses pacman.
Go deeper
Learn chapter
Linux Fundamentals and History
Key term
yum
Yum (Yellowdog Updater Modified) is a command-line package management tool used in Red Hat-based Linux distributions to install, update, remove, and manage software packages from repositories.
Key term
apt
APT (Advanced Package Tool) is a command-line utility used in Debian-based Linux distributions to install, update, remove, and manage software packages from repositories.
About these practice questions
This XK0-006 question is part of Courseiva's 979-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This XK0-006 practice question is part of Courseiva's free CompTIA certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the XK0-006 exam.