Q: What's in this Solaris 10 package:
A: You cheated. You googled it and found the link to the Oracle Solaris 10 documentation.
You're in luck, because each release of the Solaris 10 documentation contains a Package List for that release. For example:
Now try this:
Q: What's in this Solaris 11 package:
The Solaris 11 documentation does not include a package list. You can find mentions of some packages through google, but it's hit and miss. And you still don't get the rest of the info about the package that the Solaris 10 documentation included. So how do you find out what Solaris 11 packages you just installed? Here are two methods.
pkg list Command
pkg list command lists all the packages currently installed on your system. If you use it, redirect the output to a file so your screen doesn't wind up looking like a scene out of The Matrix. Since package naming is hierarchical, you are likely to find similar packages grouped together in the list. For example:
$ pkg list
You can just list a subset of the packages you are interested in:
$ pkg list driver/network/ethernet/*
By the way, to list all packages that are available for you to install, add -a to the
pkg-list command. This example asks for the name of all the packages you can install in the
$ pkg list -a editor/*
One you have a list of the packages, you can use one of the commands below to get additional info about each package.
pkg info and
command provides detailed information about a particular IPS package. For example:
$ pkg info 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).
Build Release: 5.11
Packaging Date: Wed Oct 19 09:13:22 2011
Size: 6.73 MB
Here's another example:
$ pkg info -r solaris-large-server
Summary: Oracle Solaris Large Server
Description: Provides an Oracle Solaris large server environment
Category: Meta Packages/Group Packages
State: Not installed
Build Release: 5.11
Packaging Date: Mon Feb 06 22:33:56 2012
Size: 5.45 kB
pkginfo command does the same for any SVR4 packages you may have installed on the same system.
For More Information
- Rick Ramsey with Alta Elstad