Chapter 2 - Managing Software and Processes Flashcards
On Linux, systems package manager databases typically contain what types of information? (Choose all that apply.)
A. Application files B. Application file directory locations C. Installation by username D. Software version E. Library dependencies
A. Application files
B. Application file directory locations
D. Software version
E. Library dependencies
What filename extension does the CentOS Linux distribution use for packages?
A. .deb B. .zypp C. .dpkg D. .yum E. .rpm
E. .rpm
Carol needs to install packages from a Red Hat–based repository. What programs can she use? (Choose all that apply.)
A. dpkg B. zypper C. yum D. apt-get E. dnf
C. yum
E. dnf
Scott wants to add a third-party repository to his Red Hat–based package management system. Where should he place a new configuration file to add it?
A. /etc/yum.repos.d/ B. /etc/apt/sources.list C. /usr/lib/ D. /bin/ E. /etc/
A. /etc/yum.repos.d/
You need to extract files from an .rpm package file for review prior to installing them. What utilities should you employ to accomplish this task? (Choose all that apply.)
A. cpio2rpm B. rpm C. rpm2cpio D. cpio E. yum
C. rpm2cpio
D. cpio
Natasha needs to install a new package on her Ubuntu Linux system. The package was distributed as a .deb file. What tool should she use?
A. rpm B. yum C. dnf D. dpkg E. zypper
D. dpkg
On his Debian-based package managed system, Tony wants to list all currently installed packages with missing dependencies. What command should he use?
A. apt-cache unmet B. apt-cache stats C. apt-cache showpkg D. apt-cache search E. apt-cache depends
A. apt-cache unmet
You’ve installed and configured a .deb package but did something incorrectly in the configuration process, and now the package will not run. What should you do next?
A. Purge the package, and reinstall it.
B. Uninstall the package, and then reinstall it.
C. Reconfigure the package via the dpkg-reconfigure utility.
D. Reconfigure the package via the debconf-show utility.
E. Reconfigure the package via the dpkg or apt-get utilities.
C. Reconfigure the package via the dpkg-reconfigure utility.
Steve is working on an open source software development team to create a new application.
He’s completed a new shared library the program will be using and has moved it to the correct location. What command should Steve employ to update the system’s library cache?
A. ldd B. ldconfig C. ldcache D. ld.so E. ld-linux-x86-64.so.2
B. ldconfig
Library file locations may be stored where? (Choose all that apply.)
A. The /usr/bin*/ directories B. The /ld.so.conf file C. The /etc/ld.so.conf.d/ directory D. The LD_LIBRARY_PATH environment variable E. The /lib* and /usr/lib*/ folders
B. The /ld.so.conf file
C. The /etc/ld.so.conf.d/ directory
E. The /lib* and /usr/lib*/ folders