Pkgutil
Encyclopedia
Pkgutil, written in Perl
Perl
Perl is a high-level, general-purpose, interpreted, dynamic programming language. Perl was originally developed by Larry Wall in 1987 as a general-purpose Unix scripting language to make report processing easier. Since then, it has undergone many changes and revisions and become widely popular...

 and licensed under the GPL
GNU General Public License
The GNU General Public License is the most widely used free software license, originally written by Richard Stallman for the GNU Project....

, is a tool to make installation of packages in Solaris easier. It handles package dependencies so all required packages are installed before the desired package automatically. This is based on functionality present in apt-get (Debian Linux).

It's used by both OpenCSW
OpenCSW
The Open Community Software Project is an open-source project providing Solaris binary packages of freely available or open-source software....

 and Blastwave
Blastwave
Blastwave.org is a privately-held corporation specialized in building and supporting open source software packages for Oracle Solaris, as well as various operating system distributions based on OpenSolaris...

, two packaging projects for open source software for Solaris.

Overview

# pkgutil
pkgutil 1.10, install Solaris packages the easy way.

Usage: pkgutil [option]... [package](-[version])...

-i, --install Install package
-u, --upgrade Upgrade package
-r, --remove Remove package (experimental)
-d, --download Download only
-U, --catalog Update catalog
-a, --available Show available packages
--describe Describe available packages
-c, --compare Compare installed packages to current
-C Same as -c but only show different versions
-e, --email=address Send e-mail with available updates
-t, --temp=site Temporarily use this site as primary for download
-x, --exclude=package Package to exclude
-W, --workdir=path Path to use for downloads
--config=file Use this configuration file
-y, --yes Answer yes on all prompts
-f, --force Force updates (sync with mirror)
-n, --nomod No modifications are made to the system
-N, --nodeps No dependencies
-D, --debug Debug mode
--trace Set trace mode (-v) for pkgadd/pkgrm
-h, --help Show this help
-v, --version Show version
-V, --syscheck System check
-L, --listfile List files in package
-F, --findfile Find files in package
--extract Extract package content (use with -d)
-s, --stream Build a package stream (use with -d)
-o, --output=file File name for package stream (use with -s)
-T, --target=arch:rel Specify architecture and OS release for download
--single Single package check (use with -c)
-p, --param=opt:val Override configuration option

Example: pkgutil -i CSWwget (install wget and its dependencies)

Written and maintained by Peter Bonivart.
#
The source of this article is wikipedia, the free encyclopedia.  The text of this article is licensed under the GFDL.
 
x
OK