[csw-users] Pkgutil 1.1 (alternative to pkg-get) released

Peter Bonivart bonivart at opencsw.org
Mon Oct 27 10:52:33 CET 2008


There's now an alternative to pkg-get available. It's written in Perl,
licensed under GPL and tested to work with Perl 5.5.3 that Sun
provides with Solaris 8.

Some of the differences are that pkgutil shows all needed dependencies
before any downloads take place by using the catalog instead of the
downloaded packages. It also shows the download size. It accepts both
common name and package name as argument (e.g. pkgutil -i CSWbind
dhcp). The compare doesn't show packages you don't have installed.

Example installing CSWbash:

-->
# pkgutil -i CSWbash
Recursively checking catalog, may take a while...
New packages to install: CSWggettext CSWbash
Current packages: CSWcommon CSWexpat CSWiconv
Download size:   2.4 MB
2 packages to download. Do you want to continue? [Y,n]
<--

Scripts are included to build your own catalogs and check that a
catalog is correct. Can be useful if you have local repositories that
you want to use with pkgutil.

The wiki site has more info and examples: http://wiki.opencsw.org/pkgutil.

And yes, it can be installed like this: "pkg-get -i pkgutil".  :-)

-- 
/peter



More information about the users mailing list