CompTIA Linux+ (XK0-004) — Question 55
A junior systems administrator is upgrading a package that was installed on a Red Hat-based system. The administrator is tasked with the following:
✑ Update and install the new package.
✑ Verify the new package version is installed.
Which of the following should be done to BEST accomplish these task? (Choose two.)
Answer options
- A. yum install <package name>
- B. yum upgrade
- C. rpm ג€"e <package name>
- D. rpm ג€"qa
- E. apt-get <package name>
- F. apt-get upgrade
Correct answer: A, D
Explanation
Using 'yum install <package name>' (option A) will ensure that the latest version of the specified package is installed. 'rpm ג€