which package group is installed on your system?

Which command would you use to determine which package group is installed on your system?

Which command would you use to determine which package group is installed on your system?

A.
pkg list group/system/\*

B.
pkg info

C.
uname �a

D.
cat /var/sadm/system/admin/CLUSTEP

Explanation:
The pkg info command provides detailed information about a particular IPS
package.
Note: The pkginfo command does the same for any SVR4 packages you may have installed on
the same system.
pkg info example:
$ pkg info p7zip
Name: compress/p7zip
Summary: The p7zip compression and archiving utility
Description: P7zip is a unix port of the 7-Zip utility. It has support for
numerous compression algorithms, including LZMA and LZMA2, as
well as for various archive and compression file formats,
including 7z, xz, bzip2, gzip, tar, zip (read-write) and cab,
cpio, deb, lzh, rar, and rpm (read-only).

Category: System/Core
State: Installed
Publisher: solaris
Version: 9.20.1
Build Release: 5.11
Branch: 0.175.0.0.0.2.537
Packaging Date: Wed Oct 19 09:13:22 2011
Size: 6.73 MB
FMRI: pkg://solaris/compress/[email protected],5.11-0.175.0.0.0.2.537:20111019T091322Z



Leave a Reply 7

Your email address will not be published. Required fields are marked *


Murali

Murali

A is correct

naagesh

naagesh

naagesh is confused!

Shubham Gupta

Shubham Gupta

Hi Murali,
How can you proove that option “a” is correct?

john

john

pkg list group/system/\*
NAME (PUBLISHER) VERSION IFO
group/system/solaris-desktop 0.5.11-0.175.1.0.0.24.3 i–
group/system/solaris-large-server 0.5.11-0.175.1.0.0.24.3 i–

Armen

Armen

A is correct. Just practice…

kamunias

kamunias

A

The pkg info command provides detailed information about a particular IPS
package.
Note: The pkginfo command does the same for any SVR4 packages you may have installed on the same system.

pkg info example:
$ pkg info p7zip
Name: compress/p7zip
Summary: The p7zip compression and archiving utility
Description: P7zip is a unix port of the 7-Zip utility. It has support for numerous compression
algorithms, including LZMA and LZMA2, as well as for various archive and compression file
formats, including 7z, xz, bzip2, gzip, tar, zip (read-write) and cab, cpio, deb, lzh, rar, and rpm
(read-only).
Category: System/Core
State: Installed
Publisher: solaris
Version: 9.20.1
Build Release: 5.11
Branch: 0.175.0.0.0.2.537
Packaging Date: Wed Oct 19 09:13:22 2011
Size: 6.73 MB
FMRI: pkg://solaris/compress/[email protected], 5.11-0.175.0.0.0.2.537:20111019T091322Z