WITH SOLUTIONS GRADED A+2025/2026
✔✔You are working with the RPM package acroread-8.1.3-51.6.i586.rpm. Match the
naming convention term on the left with the associated file name segment on the right. -
✔✔i586 ; Architecture type
8.1.3 ; Version number
acroread ; Package name
51.6 ; Release number
✔✔You need to determine which files are associated with the metacity RPM package.
Which of the following commands should you use? - ✔✔rpm -ql metacity
✔✔You need to install the package apt-0.5.15cnc6-1.1.fc2.fr.i386.rpm
Which of the following commands will perform the installation? (Select TWO). - ✔✔rpm -
ih apt-0.5.15cnc6-1.1.fc2.fr.i386.rpm &
rpm -Uh apt-0.5.15cnc6-1.1.fc2.fr.i386.rpm
✔✔You have previously installed the package mplayer and wish to remove it from your
computer.
Which of the following removal methods should you use? - ✔✔Run the command rpm -
e mplayer.
✔✔You have an RPM package called mathpac that is not working correctly. You have
downloaded the latest package.
Which of the following commands should you use to install the latest mathpac package?
- ✔✔rpm -U mathpac
✔✔You have found a patch for the Samba server on your system. The patch is a .rpm
package.
Which of the following procedures is the MOST correct for installing the package? -
✔✔Download the package. Run rpm -Uvh on the package to install the update.
✔✔Which of the following commands queries the system for all installed RPM
packages? - ✔✔rpm -qa
✔✔You are attempting to install an RPM package on your Linux system, but the system
tells you the package has dependencies that are not installed. What would you enter at
,the command prompt to force RPM to override the need to install the dependencies? -
✔✔rpm --nodeps
✔✔You are attempting to install an RPM package on your Linux system, but the system
tells you that a newer package is already installed.
Which of the following commands will install the RPM package over the existing
installed package? - ✔✔rpm --force
✔✔What is the full path and filename for the DNF configuration file? -
✔✔/etc/dnf/dnf.conf
✔✔You have installed a package called mathpac with DNF. After a system upgrade, the
package is not working correctly.
Which of the following commands should you try first to get the package to function? -
✔✔dnf update mathpac
✔✔You need the DNF utility to check specific URLs for RPM repositories.
Which of the following locations should you add the URLs to? - ✔✔In .repo files within
the /etc/yum.repos.d/ directory
✔✔When managing DNF, what is the full path to the directory where you should place
.repo files? - ✔✔/etc/yum.repos.d/
✔✔Which of the following DNF options will display whether updates are available for
RPM packages? - ✔✔list updates
✔✔You have users who need to do some programming projects in the Ruby
programming language. What DNF command do you use to find out if there is a ruby
package available to install on the Linux server? - ✔✔dnf list ruby
✔✔You used DNF to list the ruby packages that are available to install. You see that
there is a package available that is called ruby. What DNF command do you use to
install this ruby package? - ✔✔dnf install ruby
✔✔What is the full path and file name for the YUM configuration file? - ✔✔/etc/yum.conf
✔✔You used YUM to list the python packages that are available to install. You see that
there is a package available that is called python. What YUM command do you use to
install this python package? - ✔✔yum install python
,✔✔You have installed a package called mathpac with yum. After a system upgrade, the
package is not working correctly.
Which of the following commands should you FIRST try to get the package to function?
- ✔✔yum update mathpac
✔✔When managing YUM, what is the full path to the directory where you should place
.repo files? - ✔✔/etc/yum.repos.d/
✔✔What YUM command would you enter at the command prompt to download an RPM
package without installing it to the system? - ✔✔yumdownloader
✔✔Which of the following yum options will display whether updates are available for
RPM packages? - ✔✔list updates
✔✔What YUM command would you enter at the command prompt to determine which
package contains the /usr/lib/libstlport_gcc.so file? - ✔✔yum whatprovides
/usr/lib/libstlport_gcc.so
✔✔You have users who need to do some programming projects in the Python
programming language. What yum command should you use to find out if there is a
Python package available to install on the Linux server? - ✔✔yum list python
✔✔You have installed a package called mathpac with apt-get. After a system upgrade,
the package is not working correctly.
Which of the following commands is the MOST correct method to get the package to
work? - ✔✔apt-get upgrade mathpac
✔✔You are working on a Debian distribution of Linux. You need to install a package,
but you do not want to manually install all the dependencies for the package. Without
using any command options, what command should you use? - ✔✔apt-get
✔✔You are working on a Debian distribution of Linux. You want to retrieve information
about the Debian package database on the system. Without using any command
options, what command will provide the information you need? - ✔✔apt-cache
✔✔Which of the following apt-cache options will show the missing dependencies in the
package cache? - ✔✔unment
✔✔Which of the following functions does the -d option perform when using the apt-get
command to install a package? - ✔✔Packages are downloaded to the system, but not
installed.
, ✔✔Which of the following apt-get options will upgrade all installed packages to the
latest versions using the information in /etc/apt/sources.list ? - ✔✔upgrade
✔✔Which of the following Debian package management utilities provides the front end
for APT? - ✔✔aptitude
✔✔Which of the following statements correctly describe the differences between the
"apt-get remove" and "apt-get purge" commands? (Select TWO). - ✔✔apt-get purge -
removes the package and the configuration files.
apt-get remove - removes a specified package, but leaves the configuration files.
✔✔Which of the following dpkg options will install a package recursively? - ✔✔-R
✔✔Which of the following functions does the dpkg --configure command perform? -
✔✔Reconfigures an unpacked package
✔✔Which of the following actions does the dpkg -l (lowercase L) command perform? -
✔✔All packages with names that match a specified pattern are displayed
✔✔What dpkg command would you enter at the command prompt to search for
packages that have been partially installed on the system? - ✔✔dpkg -C
✔✔What dpkg command would you enter at the command prompt to list information
about a currently installed Debian package? - ✔✔dpkg -p
✔✔Which dpkg option completely removes a package and its configurations files? -
✔✔-P
✔✔Which of the following commands will reconfigure an already installed package? -
✔✔dpkg-reconfigure
✔✔Which of the following situations is most likely to cause a dependency problem? -
✔✔Installing two different packages that both include /usr/lib/graphlib
✔✔Which of the following directories typically hold the dynamic libraries on your
system? (Select TWO). - ✔✔/usr/lib/
/usr/local/lib/
✔✔Match the term on the left with its characteristic on the right. (Each term can be used
more than once.)