Skip to main content
Linux AdministrationMediumSingle Choice

Linux Administration Question

Statement

Which option to the yum command will update the entire system?

#yum#yum-update#yum-upgrade#package-update#rpm
A

upgrade

B

update

Correct
C

install

D

refresh

Resolution & Explanations

The yum update command is used to update the entire system to the latest available versions of all installed packages. It checks all configured repositories and upgrades packages as needed, including handling dependencies. The yum upgrade command is an alias for yum update and performs the same function. The yum install command is used to install new packages, not update existing ones. The yum refresh command is not a valid yum command; the correct command to refresh repository metadata is yum makecache.