CompTIA Linux+ (XK0-005) — Question 177
A systems administrator is installing various software packages using a package manager. Which of the following commands would the administrator use on the Linux server to install the package?
Answer options
- A. winget
- B. softwareupdate
- C. yum-config
- D. apt
Correct answer: D
Explanation
The correct command for installing packages on a Debian-based Linux distribution is 'apt'. The other options are either specific to different operating systems (like winget for Windows and softwareupdate for macOS) or are not used for package installation (yum-config is used for managing yum configurations).