LPIC-1 Linux Installation and Package Management Practice Question
Which TWO commands are used to manage Debian packages? (Choose two.)
⚠ Common exam trap
A common mix-up: candidates confuse low-level package tools (dpkg, rpm) with high-level ones (apt-get, yum, zypper), or incorrectly associate a tool with the wrong distribution family, especially when multiple package managers are listed.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
apt-get
apt-get is the primary command-line tool for handling Debian packages, handling dependency resolution and retrieval from repositories. dpkg is the low-level tool that directly installs, removes, and queries .deb package files without automatic dependency management. Both are essential for Debian-based package management.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
zypper
Why it's wrong here
zypper is for SUSE packages.
- ✓
apt-get
Why this is correct
apt-get manages .deb packages via repositories.
- ✓
dpkg
Why this is correct
dpkg is the core tool for .deb packages.
- ✗
yum
Why it's wrong here
yum is for Red Hat packages.
- ✗
rpm
Why it's wrong here
rpm is for Red Hat packages.
Go deeper
Related to this question
About these practice questions
This LPIC-1 question is part of Courseiva's 527-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 →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This LPIC-1 practice question is part of Courseiva's free LPI 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 LPIC-1 exam.