Package Management Flashcards
7 cards from real 010-160 practice questions. Tap to flip, then mark Knew It or Still Learning โ missed cards come back until you master them.
Read the first 7 Package Management flashcards as text
Which command upgrades all installed packages on a Debian-based system?
Answer: apt-get upgrade
'apt-get upgrade' downloads and installs the newest versions of all currently installed packages.
What does the 'apt-cache search' command do?
Answer: Searches the local package index for matching packages
'apt-cache search' searches the local package database for packages matching a keyword or pattern.
Which command would display detailed information about a package using APT?
Answer: apt-cache show
'apt-cache show packagename' displays detailed metadata about a package including its description, version, and dependencies.
When using dpkg to install a local .deb file, which option is correct?
Answer: dpkg -i package.deb
dpkg -i installs a .deb package file directly from the local filesystem.
Which tool is the next-generation replacement for yum on Fedora and RHEL 8+?
Answer: dnf
DNF (Dandified YUM) replaced yum as the default package manager in Fedora and RHEL 8 and later.
What is a software repository in the context of Linux package management?
Answer: A remote or local storage location from which packages are downloaded and installed
A repository is a centralized server or location that hosts packages available for download by a package manager.
Which command removes a package but keeps its configuration files on a Debian system?
Answer: apt-get remove
'apt-get remove' uninstalls the package binaries but retains configuration files, unlike 'purge' which removes everything.