nerdexam
CompTIA

XK0-005 · Question #344

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?

The correct answer is D. apt. This question asks for a common command-line package manager used on Linux servers.

System Management

Question

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?

Options

  • Awinget
  • Bsoftwareupdate
  • Cyum-config
  • Dapt

How the community answered

(39 responses)
  • A
    8% (3)
  • B
    3% (1)
  • C
    3% (1)
  • D
    87% (34)

Why each option

This question asks for a common command-line package manager used on Linux servers.

Awinget

winget is the Windows Package Manager, used on Windows operating systems, not Linux.

Bsoftwareupdate

softwareupdate is a command-line tool used on macOS for managing system updates, not for package installation on Linux.

Cyum-config

yum-config is not a standard package installation command; yum or dnf are used for package management on Red Hat-based systems, and yum-config relates to managing yum repositories.

DaptCorrect

apt (Advanced Package Tool) is a widely used command-line package management system for Debian-based Linux distributions, including Ubuntu, to install, update, and remove software packages. It is a fundamental tool for system administrators on such systems.

Concept tested: Linux package management commands

Source: https://manpages.ubuntu.com/manpages/jammy/man8/apt.8.html

Topics

#Linux package management#apt command#Software installation#System administration

Community Discussion

No community discussion yet for this question.

Full XK0-005 Practice