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
What is the purpose of the 'apt-get autoremove' command?
Answer: Removes packages that were installed as dependencies but are no longer needed
'apt-get autoremove' removes orphaned dependency packages that are no longer required by any installed package.
Which directory stores downloaded .deb package files on a Debian-based system?
Answer: /var/cache/apt/archives/
APT stores downloaded .deb package files in /var/cache/apt/archives/ before installation.
Which rpm option verifies the integrity and files of an installed package?
Answer: rpm -V packagename
'rpm -V' (verify) checks installed package files against the RPM database to detect changes or corruption.
What does 'apt-get clean' do?
Answer: Deletes cached package files from /var/cache/apt/archives/
'apt-get clean' frees disk space by deleting all .deb files stored in the local package cache.
On a system using RPM, which command lists all files installed by a specific package?
Answer: rpm -ql packagename
'rpm -ql' (query list) displays all files that were installed as part of the specified package.
Which package manager is associated with openSUSE Linux?
Answer: zypper
zypper is the command-line package manager used by openSUSE and SUSE Linux Enterprise.
What is a dependency in the context of Linux package management?
Answer: A package required by another package to function correctly
A dependency is a separate package that must be installed for another package to work correctly.