Neha Patil (Editor)

Pkgutil

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit

Pkgutil, written in Perl and licensed under the GPL, 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 is used by OpenCSW (and previously Blastwave), two packaging projects for open source software for Solaris.

In OS X, pkgutil is a different utility used to query and manipulate OS X Installer packages and receipts.

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. #

References

Pkgutil Wikipedia


Similar Topics