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?
A.
pkg search gzip
B.
pkg info gzip
C.
pkg contents gzip
D.
pkginfo gzip
E.
yum list gzip
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.
Reference: Oracle Solaris 11 Information Library, Searching for Packages
A
A
A