nerdexam
Oracle

1Z0-821 · Question #126

You need to install the gzip software package on your system. Which command would you use to find the software package in the configured repository?

The correct answer is A. pkg search gzip. Use the pkg search command to search for packages whose data matches the specified pattern. Like the pkg contents command, the pkg search command examines the contents of packages. While the pkg contents command returns the contents, the pkg search command returns the names of…

Managing Software Packages

Question

You need to install the gzip software package on your system. Which command would you use to find the software package in the configured repository?

Options

  • Apkg search gzip
  • Bpkg info gzip
  • Cpkg contents gzip
  • Dpkginfo gzip
  • Eyum list gzip

How the community answered

(39 responses)
  • A
    79% (31)
  • B
    5% (2)
  • C
    3% (1)
  • D
    10% (4)
  • E
    3% (1)

Explanation

Use the pkg search command to search for packages whose data matches the specified pattern. Like the pkg contents command, the pkg search command examines the contents of packages. While the pkg contents command returns the contents, the pkg search command returns the names of packages that match the query.

Topics

#pkg search#IPS repository#package discovery#software installation

Community Discussion

No community discussion yet for this question.

Full 1Z0-821 Practice