You are a newly appointed network technician at Net Perfect Inc. The company has a Linux-based
network. You want to install a package named firefox on your Linux system. Which of the following
commands will you use to accomplish the task?
A.
yum update firefox
B.
yum i firefox
C.
yum install firefox
D.
yum -ivh firefox
Explanation:
You will use the yum install firefox command to install the package named firefox in the Linux
system. This command will search the configured repositories for the package named firefox, and
if found, will install the latest version, pulling in dependencies if needed.
Answer options B and D are incorrect. The -ivh and i options are not used with the yum command.
Answer option A is incorrect. The yum update firefox command is used to update a package in the
Linux system. It is not used to install a package in Linux. If run without any specified package, the
update option will update every currently installed package. If one or more packages are specified,
yum will only update the listed packages. While updating packages, yum will ensure that all
dependencies are satisfied.