JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Transitioning From Oracle Solaris 10 to Oracle Solaris 11     Oracle Solaris 11 Information Library
search filter icon
search icon

Document Information


1.  Transitioning From Oracle Solaris 10 to Oracle Solaris 11 (Overview)

2.  Transitioning to an Oracle Solaris 11 Installation Method

3.  Managing Devices

4.  Managing Storage Features

5.  Managing File Systems

6.  Managing Software

Oracle Solaris 11 Package Changes

Oracle Solaris 10 SVR4 and IPS Package Comparison

IPS Installation Package Groups

Displaying Information About Software Packages

Updating the Software on Your Oracle Solaris 11 System

Installing Maintenance Updates on an Oracle Solaris 11 System

How to Configure the Oracle Solaris support Repository

Managing Boot Environments

Tools for Managing Boot Environments

Reviewing the Initial ZFS BE After an Installation

How to Update Your ZFS Boot Environment

7.  Managing Network Configuration

8.  Managing System Configuration

9.  Managing Security

10.  Managing Oracle Solaris Releases in a Virtual Environment

11.  User Account Management and User Environment Changes

12.  Using Oracle Solaris Desktop Features

A.  Transitioning From Previous Oracle Solaris 11 Releases to Oracle Solaris 11

Displaying Information About Software Packages

To display information about software packages, refer to the following examples. No special privileges are required to display information about packages.

Determine whether a package is installed in the current image and whether an update is available.

$ pkg list amp
pkg list: no packages matching 'amp' installed

List packages that are not installed, but are available to be installed.

$ pkg list -a amp
NAME (PUBLISHER)                                  VERSION                    IFO
amp                                               0.5.11-0.133               --r
group/feature/amp                                 0.5.11-  ---
web/amp                                           0.5.11-     --r

Display more information about a package. If you already know the package is not installed in the image, use the -r option to query the package repository, as follows:

$ pkg info -r amp
          Name: amp
         State: Not installed (Renamed)
    Renamed to: web/amp@0.5.11-0.133
     Publisher: solaris
       Version: 0.5.11
 Build Release: 5.11
        Branch: 0.133
Packaging Date: Wed Oct 27 18:31:05 2010
          Size: 0.00 B
          FMRI: pkg://solaris/amp@0.5.11,5.11-0.133:20101027T183105Z

          Name: group/feature/amp
       Summary: AMP (Apache, MySQL, PHP) Deployment Kit for Oracle Solaris
   Description: Provides a set of components for deployment of an AMP (Apache,
                MySQL, PHP) stack on Oracle Solaris
      Category: Meta Packages/Group Packages ...)
                Web Services/Application and Web Servers (...)
         State: Not installed
     Publisher: solaris
       Version: 0.5.11
 Build Release: 5.11
Packaging Date: Tue Sep 27 13:06:15 2011
          Size: 5.45 kB
          FMRI: pkg://solaris/group/feature/amp@0.5.11,5.11-0.175.

          Name: web/amp
         State: Not installed (Renamed)
    Renamed to: group/feature/amp@0.5.11-
     Publisher: solaris
       Version: 0.5.11
 Build Release: 5.11
Packaging Date: Wed Sep 21 19:15:02 2011
          Size: 5.45 kB
          FMRI: pkg://solaris/web/amp@0.5.11,5.11-0.174.

List all of the package groups that are installed or that are available for installation:

% pkg list -a 'group/*'
NAME (PUBLISHER)                                  VERSION                    IFO
group/feature/amp (solaris)                       0.5.11-  ---
group/feature/developer-gnu (solaris)             0.5.11-  i--
group/feature/multi-user-desktop (solaris)        0.5.11-  ---
group/feature/storage-avs (solaris)               0.5.11-     i--
group/feature/storage-nas (solaris)               0.5.11-     i--
group/feature/storage-server (solaris)            0.5.11-     i--
group/feature/trusted-desktop (solaris)           0.5.11-  i--
group/system/solaris-auto-install (solaris)       0.5.11-  ---
group/system/solaris-desktop (solaris)            0.5.11-  ---
group/system/solaris-large-server (solaris)       0.5.11-  ---
group/system/solaris-small-server (solaris)       0.5.11-  i--

If you know the name of the tool that you want to install, but not the name of the package, use the search subcommand in one of the following ways:

$ pkg search /usr/bin/emacs
path       file   usr/bin/emacs pkg:/editor/gnu-emacs@23.1-
$ pkg search file::emacs
INDEX      ACTION VALUE                PACKAGE
basename   file   usr/bin/emacs        pkg:/editor/gnu-emacs@23.1-
basename   file   usr/share/info/emacs pkg:/editor/gnu-emacs@23.1-