LPIC-1 Linux Installation and Package Management Practice Question
Which THREE of the following are valid methods to install a package from a local .deb file?
⚠ Common exam trap
It's easy for candidates to think `rpm` can handle .deb files due to a superficial similarity in package management commands, or that `alien` is a primary installation tool rather than a format converter.
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
✓
gdebi package.deb
C is correct because `gdebi` is a dedicated tool for installing local `.deb` packages while automatically resolving and fetching their dependencies from configured repositories. It provides a safer alternative to `dpkg` when dependency handling is required.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
alien -i package.deb
Why it's wrong here
Alien converts to .rpm first.
- ✗
rpm -i package.deb
Why it's wrong here
rpm does not handle .deb files.
- ✓
gdebi package.deb
Why this is correct
gdebi handles dependencies.
- ✓
dpkg -i package.deb
Why this is correct
Direct installation.
- ✓
apt-get install ./package.deb
Why this is correct
apt can install local .deb files.
Visual reference
Go deeper
Related to this question
About these practice questions
Courseiva writes every LPIC-1 question from scratch — 527 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or 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.