LX0-103 Flashcards - Linux Installation and Package Management

अब Quizwiz के साथ अपने होमवर्क और परीक्षाओं को एस करें!

Which command selects the shared library binary that will be used by the calling process?

the uselib command

Which command should you use to update the entire YUM system?

the yum update command

Which parameter should be used with the rpm command to perform an RPM (Red Hat Package Manager) signature check?

the --checksig parameter

Which parameter of the dpkg command removes a package and its configuration files?

the -P parameter

Which parameter of the dpkg command installs the package recursively?

the -R parameter

Which parameter of the make command can be used to specify the entire path to the Makefile file?

the -f parameter

Which parameter of the dpkg command displays package details, including version number?

the -p parameter

Which parameter(s) should the user use with the rpm command to view a list of all the installed software packages on the system?

the -q and -a parameters

Which parameter is used with the rpm command to query the RPM software present on a system?

the -q or --query parameter

Which parameter of the rpm command can be used to query the RPM database?

the -q parameter

Which parameter of the dpkg command removes an installed package, but does not remove the configuration files?

the -r or the --remove parameter

Which option of the rpm command print verbose information?

the -v option

What is the GRUB boot menu?

the /boot/grub/menu.lst file

Where is the default location for the APT configuration files?

the /etc/apt directory

Which file is the configuration file for the apt commands?

the /etc/apt/apt.conf file

Which file is the configuration file for the dpkg command?

the /etc/dpkg/dpkg.conf file

Which partition holds the users' data files and is typically between 200 MB and 200 GB in size?

the /home partition

Which directory contains information about installed packages?

the /usr/share/doc directory

Which system directory stores the logging and spooling information for a user?

the /var directory

Which environment variable should you edit to ensure that a certain set of directories are always searched when trying to use shared libraries?

the LD_LIBRARY_PATH environment variable

Which algorithm is used by the rpm command to perform a checksum on a package?

the Message Digest 5 (MD5) algorithm

Which command is used to convert packages from one format to another?

the alien command

Which apt-get command performs the same function as the dpkg -P Myapp command?

the apt-get --purge Myapp command

Which apt-get command performs the same function as the dpkg -r Myapp command?

the apt-get remove Myapp command

Which apt-get command performs the same function as the dpkg -i Myapp command?

the apt-get update Myapp command

Which package manager provides a front-end for the Advanced Package Tool (APT) infrastructure in Debian/GNU Linux systems?

the aptitude package manager

Which information does the /etc/filesystems file contain?

the characteristics of the known file systems

Which command is the Debian package manager that is used to install, manage, and remove Debian packages?

the dpkg command

Which command should you use if you want to use shared libraries that are in the /usr/local/lib directory?

the export LD_LIBRARY_PATH=/usr/local/lib command

Which command should you run if you modify the GRUB configuration?

the grub command

Which architecture codes of an RPM package include optimizations for Pentium processors?

the i586 and i686 architecture codes

Which command creates the necessary links and caches to the most recently shared libraries?

the ldconfig command

Which command is used to create the necessary links and cache them to the most recently shared libraries?

the ldconfig command

Which command should you run to determine the list of shared libraries installed with the /usr/local/bin/testapp test application?

the ldd -v /usr/local/bin/testapp command

Which command prints the shared libraries required by an application or the shared library specified with the command?

the ldd command

Which command should you run to ensure that a Linux system will recognize changes that are made to the lilo.conf configuration file?

the lilo command

On which partition does the Master Boot Record (MBR) reside?

the primary partition of the hard disk

Which command can be issued to uninstall an RPM package named rpmpackage?

the rpm --erase rpmpackage or rpm --e rpmpackage command

Which command upgrades the RPM package only if an earlier version of the package exists?

the rpm -F < package-name > command

Which command removes or uninstalls an RPM package from the Linux system?

the rpm -e <package-name> command

Which command will you use to display the name, version, and description of the TEST package installed on the system?

the rpm -qi TEST command

Which command will install GRUB natively on the master boot record of the second hard drive?

the setup (hd1)command

Which command will install GRUB natively on the Master Boot Record (MBR) of the third hard drive?

the setup (hd2) command

Which command can be used to download YUM source packages?

the yumdownloader command

What is the purpose of the rpm2cpio command?

to convert an rpm package file into a cpio archive

What is the purpose of running the dpkg -i command?

to install or upgrade a package

What is the purpose of running the dpkg-l command?

to list all installed packages

What is the purpose of running the dpkg -L command?

to list where files are installed

What successor to the Master Boot Record (MBR) allows 128 primary partitions and does not require the creation of logical and extended partitions?

GUID Partition Table (GPT)

What does the bootstrap loader do?

It boots the system on startup.

What is the purpose of /lib?

It contains all libraries required at system startup and run in the root filesystem.

What is the purpose of /usr/local/lib?

It contains libraries for downloaded programs and programs that were not part of the Linux distribution.

What is the purpose of /usr/lib?

It contains libraries used by the system internally.

What does the ldconfig command do?

It creates symbolic links to shared libraries, and creates a cache in the /etc/ld.so.conf file that contains all the data required for the executable file to run.

What will the make install command do?

It installs the binary of a software package.

What is LD_LIBRARY_PATH?

It is a variable that you can set to a list of directories that the system will search for shared libraries before the ones listed in ld.so.cache.

What is the purpose of running the dpkg-reconfigure command?

It reconfigures an already installed package.

What is the function of the rpm -e command?

It uninstalls an RPM software package.

Which function will the rpm -V mypackage1.2.rpm command issued by the administrator perform?

It will perform an MD5 checksum on the mypackage1.2.rpm file.

Which processors will support an RPM package whose architecture code is ppc?

non-x86 architecture processors, such as the PowerPC processors

What is the location of the menu-1st file if a directory other than /boot is used?

/directory_name/boot/grub

What is the configuration file for YUM?

/etc/yum.conf

What is the version number of the RPM package named samplepackage-2.2.1a-5.i586.rpm?

2.2.1a

What is the format for RPM package names?

<name>-<version>-<release>.<architecture>.rpm

What does the acronym RPM denote?

RPM Package Manager or Red Hat Package Manager

Which function will the rpm -qa testpackage command perform?

The command will search the RPM packages for the testpackage package and display the full name of the package if the package is found.

What is the recommended size of a swap partition in terms of the amount of RAM present in a system?

The recommended size of a swap partition is at least twice the amount of the RAM present in the system.

What should you do to install GRUB in the /boot directory on the system's second hard drive?

Use the grub-install --root-directory=/boot hd1 command.

What is the installation, removal, and update utility for RPM packages using in Fedora Linux?

Yellow Dog Updater Modified (yum)

What allows you to get, install, delete, query, and manage RPM packages?

Yellowdog Updater Modified (YUM)

Which partition will be created if partition type 82 is selected?

a Linux swap partition

How many logical partitions can a Linux extended partition contain?

an unlimited number

What is the main configuration file from GRUB version 2?

grub.cfg

Where should YUM definition files be placed?

in the /etc/yum.repos.d/ directory


संबंधित स्टडी सेट्स

Topic 1 Lesson 2 Reconstruction Changes the South

View Set

accounting homework review EXAM 2

View Set

MS-100: Managing Microsoft 365 Identity and Services

View Set

History Flashcards Chapter 17 Section 3

View Set

Chapter 26: The Child with Respiratory Dysfunction

View Set

Chapter 4: Unit 1 - National Ownership: Real Property Characteristics & Rights (Notes)

View Set