- 论坛徽章:
- 0
|
1. pkgutil tools for Solaris and Open Solaris
installation pkgutil application, you can refer to the file attached too.
for X86 platform:
pkgadd -d http://blastwave.network.com/csw/pkgutil_i386.pkg
for Sparc platform:
pkgadd -d http://blastwave.network.com/csw/pkgutil_sparc.pkg
bash-3.00# pkgadd -d http://blastwave.network.com/csw/pkgutil_sparc.pkg
## Downloading...
..............25%..............50%..............75%..............100%
## Download Complete
The following packages are available:
1 CSWpkgutil pkgutil - installs Solaris packages easily
(sparc) 1.4,REV=2009.01.20
Select package(s) you wish to process (or 'all' to process
all packages). (default: all) [?,??,q]:
Processing package instance from
pkgutil - installs Solaris packages easily(sparc) 1.4,REV=2009.01.20
Please see /opt/csw/share/doc/pkgutil/LICENSE for license information.
## Processing package information.
## Processing system information.
## Verifying disk space requirements.
## Checking for conflicts with packages already installed.
## Checking for setuid/setgid programs.
This package contains scripts which will be executed with super-user
permission during the process of installing this package.
Do you want to continue with the installation of [y,n,?] y
Installing pkgutil - installs Solaris packages easily as
## Installing part 1 of 1.
/opt/csw/bin/bldcat
/opt/csw/bin/chkcat
/opt/csw/bin/pkgutil
/opt/csw/etc/pkgutil.conf.CSW
/opt/csw/libexec/pkgutil/wget
/opt/csw/share/doc/pkgutil/LICENSE
/opt/csw/share/doc/pkgutil/readme
/opt/csw/share/man/man1/pkgutil.1
/var/opt/csw/pkgutil/admin.CSW
[ verifying class ]
## Executing postinstall script.
Installation of was successful.
![]()
文件:pkgutility.tar.gz
大小:218KB
下载:
下载
bash-3.00# /opt/csw/bin/pkgutil
Pkgutil 1.4, install Solaris packages the easy way.
Usage: pkgutil [option]... [package]...
-i, --install Install package
-u, --upgrade Upgrade package
-r, --remove Remove package
-d, --download Download only
-a, --available Show available packages
-c, --compare Compare installed packages to current
-U, --catalog Update catalog
-e, --email=address Send e-mail with available updates
-t, --temp=site Temporarily use this site as primary for download
-s, --stream Build a package stream
-T, --target=arch:rel Specify architecture and OS release for stream
-o, --output=file File name for package stream (used with -s)
-x, --exclude=package Package to exclude
-W, --workdir=path Path to use for downloads
-y, --yes Answer yes on all prompts
-n, --nomod No modifications are made to the system
-D, --debug Debug mode
-h, --help Show this help
-v, --version Show version
-V, --syscheck System check
Example: pkgutil -i CSWwget (install wget and its dependencies)
Written and maintained by Peter Bonivart.
本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/1604/showart_1866268.html |
|