0% found this document useful (0 votes)
54 views2 pages

Managing Packages

The document discusses how to use the Image Packaging System (IPS) to manage packages and software on Oracle Solaris systems. It describes how IPS maintains packages in a central repository, creates new boot environments when packages are updated, and how to use various pkg commands to search for, install, uninstall, and verify packages. It also explains some package status indicators and how to get package information.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
54 views2 pages

Managing Packages

The document discusses how to use the Image Packaging System (IPS) to manage packages and software on Oracle Solaris systems. It describes how IPS maintains packages in a central repository, creates new boot environments when packages are updated, and how to use various pkg commands to search for, install, uninstall, and verify packages. It also explains some package status indicators and how to get package information.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

The repository a collection of IPS packages is maintained at

http://pkg.oracle.com/solaris/release.
This is also called the origin.
Boot environment (BE)
A boot environment is an instance of the OS. Every time, the pkg update command
is run a new BE is created and listed in GRUB while the last BE becomes an
alternate boot option.
Update Solaris
A publisher is a group of users or a company who has created software for Solaris.
The only default publisher in Solaris is Solaris though other publishers can be
added.
# pkg publisher List the publishers
# pkg update update all packages creates a new BE
Command to set publisher
#pkg set-publisher g http://pkg.oracle.com/solaris/release solaris
Package dry run:
IPS can be used to check how many packages will be installed (dependency), how
many services would be affected, whether a backup BE is going to be created and
what files will be changed (this is given by the v switch) with:
#pkg install -nv glade | less -- here glade is the package name.

#pkg search -r glade to search what is available in the repo


#pkg search -l glade to search what is already installed
#pkg rebuild-index rebuild the index to speed up search
#pkg list glade search for glade package (only among installed packages)
#pkg list -a editor/*

Drivel is not installed a dash in the I column. The editor named bvi is obsolete an
o in the O column. An r in the O column means that the package has been
renamed. An f in the F column means the package has been frozen.
#pkg info -r apptrace provides information for the apptrace package that is not
installed in the system.
#pkg info gzip for installed programs
#pkg contents -r apptrace files in the package apptrace
#pkg install -v apptrace to install package with a verbose o/p
#pkg uninstall -q apptrace provide an output only if there are errors.
#pkg verify gzip verifying a package

You might also like