Installing packages on Solaris 11
Use the Install packages by using pkg task to install and update packages on Solaris 11 and later endpoints that are using local repositories or repositories that are provided by Oracle or other publishers.
Before you begin
- Subscribe to the Patches for Solaris 11 site to access the installation task.
- If you are using the repositories that are provided by Oracle or other publishers, your endpoints must be connected to the internet.
- If you are using a pre-configured local repository, you must assign it to the endpoints. For more information, see Local repositories or Solaris Image Packaging System Repository Management dashboard overview.
About this task
The Install packages by using pkg task uses Image Packaging System (IPS) retrieval client commands to distribute and install software products and patches by using the packages that are in the configured repository.
You can use the package name to specify which packages to install on the endpoints. Package names are hierarchical with an arbitrary number of components that are separated by forward slash (/) characters. For more information about package names, see the Oracle documentation at http://docs.oracle.com/cd/E26502_01/html/E28984/ghyer.html#fmri.
You can also update all the installed packages on the endpoint with newer available versions that are in the configured repository.
- pkg install <package_name1> <package_name2>
- Updates or installs a package with a specific name. Multiple package update or installation is acceptable. Use a space to separate the package names.
- pkg update
- Updates all the installed packages on the endpoint.
pkg install
and pkg update
commands.
For example: --accept
. For more information about
the commands, see the Oracle documentation at http://docs.oracle.com/cd/E23824_01/html/E21796/pkg-1.html.The Install packages by using pkg task also provides actions to test the packages for installation, without installing the packages on the endpoints.
Procedure
- From the Patch Management domain, click .
- Select the Install packages by using pkg task.
- In the Task pane, review the description and follow the instructions in the Actions box to start the task.
- Depending on the action that you selected, provide the
necessary information and click OK.Note: To update all installed packages on the endpoint, select the action to install packages, but do not specify any package name.
- In the Take Action pane, select the endpoints to which the packages are to be installed or updated.
- Click OK.
What to do next
You can use the Image Packaging System Results analysis to verify whether the IPS packages that you installed by running the Install packages by using pkg task were successfully installed on endpoints. For more information, see Retrieving installed package information.