How it works
Publishers
Publisher configuration determines available packages and update sources.
Incorporations
Package constraints can limit versions and must be understood before updates.
Safe updates
Prefer creating or validating a boot environment before large package operations.
Worked examples
Each example explains the question it answers, a reproducible starting point, what to look for, and operational precautions.
1. List publishers
Use this as a starting point for list publishers.
pkg publisherInterpretation: Check command output against the expected host configuration; record the before/after state.
Operational note: Run commands in a test environment first; confirm device names, privileges and release-specific options.
2. Search package
Use this as a starting point for search package.
pkg search dtraceInterpretation: Check command output against the expected host configuration; record the before/after state.
Operational note: Run commands in a test environment first; confirm device names, privileges and release-specific options.
3. Show installed packages
Use this as a starting point for show installed packages.
pkg listInterpretation: Check command output against the expected host configuration; record the before/after state.
Operational note: Run commands in a test environment first; confirm device names, privileges and release-specific options.
4. Dry-run update
Use this as a starting point for dry-run update.
pkg update -nvInterpretation: Check command output against the expected host configuration; record the before/after state.
Operational note: Run commands in a test environment first; confirm device names, privileges and release-specific options.
5. Verify installed packages
Use this as a starting point for verify installed packages.
pkg verifyInterpretation: Check command output against the expected host configuration; record the before/after state.
Operational note: Run commands in a test environment first; confirm device names, privileges and release-specific options.
Primary documentation
Read the relevant Oracle documentation for exact version-specific flags, supported platforms and limitations: Oracle primary reference ↗.
This field manual is independent, not affiliated with or endorsed by Oracle. Command examples should be adapted to your environment.