Vous êtes sur la page 1sur 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

Vous aimerez peut-être aussi