pkg-get is the original (and still going strong!) method of easily installing CSW pacakges. Once you install it, you will then be able to install the rest of our packages, as easily as doingpkg-get install firefoxAlso, see lower down for a summary of pkg-get commands
# pkgadd -d http://www.opencsw.org/pkg_get.pkgYou can then optionally edit /opt/csw/etc/pkg-get.conf to choose a mirror site that is better for you than the default. (you may also choose to instead create an override file, /etc/opt/csw/pkg-get.conf)
For users of earlier systems, please follow the instructions below
First, download the pkg-get package file.
md5sum is c7c34f5f92495c13ba5c72ae2291ac6e (version 4.2.1)
Don't forget to use "save as..." or shift-click, if you need to.
Install it withpkgadd -d pkg_get.pkg(older version 3.8.4 is still available: pkg_get-3.8.4-SunOS5.8-all-CSW.pkg: md5sum 4121665c56b38967124d618a379c45a2)
Next, if you dont have wget installed, grab either wget-i386.bin or wget-sparc.bin, save as "wget" somewhere in your $PATH, and dont forget to "chmod 0755 wget".
(If you have Solaris 9 or Solaris 10 then you probably already have it in /usr/sfw/bin)You also need gzip "somewhere" in your PATH. Most people do these days, unless you did a minimalist "Core install" of Solaris.
Add
/opt/csw/binto root's PATHYou should now be able to run pkg-get as root, and install packages. But you might want to compare the configured url in /opt/csw/etc/pkg-get.conf, with what your nearest mirror site would be.
See the official package mirrors page for the list of mirrors, and instructions on how to use different mirror sites.
If you run into pkgadd problems, you will need to add sun's pkgadd patches:Sparc: 110934
X86 : 110935
Short summary of pkg-get usage
If/when you get messages about packages not found, or unavailable, you
probably want to just update your local copy of the catalog, with
For best download speed, see our
mirrors page to try a site other than
the default one.
For more details details on what pkg-get can do, see the original pkg-get home
page, at
www.bolthole.com,
and/or, "man pkg-get"
Here is the current GPG public key, which is used to sign
the catalog files. To use it, save this page, then use
pkg-get -a (shows "available" packages)
pkg-get -c ("compares" what you have installed, to mirror site)
pkg-get -i openldap (installs openldap, and all libraries it depends on)
pkg-get -D open (searches for software with 'open' in the description)
pkg-get -U -u (upgrades all installed CSW packages to the latest)
pkg-get -U
gpg --import [savedfilename]
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.4.5 (SunOS)
mQGiBD3qohgRBAC4L+hRl6MmKwCFDyzKOXoEedB5DWieIb+Pov1XZXnflSKJquZW
SKn8WLzmaVMx7ap65lxatwQ/WzoHy0lRBL5UbZwlufX8Zp0MbDMQ9LV8cpJOpSay
JQxzs/KeYI3CVgvKHNexOGmj25L5uXM4iSD5DELaQC/vHctsL5An+neq6wCglzkS
WbllT3w81iRl4tBUl32NMh8D/287jIPFYvTsRY/srHcbI5NGYPf067IYgB3yvf4d
qaQKUDq8N5+OTm/dTi11dW1XC1Cwj1HMBcMXjA5hvUOdoNWb7mgs2lNpmPcwnyT5
cOlXUzmz8MoAyZiwyqvXwkR1SeX46ExGQ30Qk7BB9czTvBgdhGOQT6QGO9GD5L1B
8K94A/4nKyDLGNEqoFdKGe4sq+GEm5sSjdd8gy0+ZVj/d3IO/bZhactjYYBVddDQ
7xv0yre/slPZ/U0sntGPd3iAw6kFEi0GPe7eIDDqAZrtyZGKUh9ecquGdAZ4psHN
rb1FsiIKLIdMb8PFYJ9gem5EULAhShsJBJd5mJWK6NlHNuPc3LQpQ1NXIERpc3Ry
aWJ1dGlvbiBNYW5hZ2VyIDxkbUBvcGVuY3N3Lm9yZz6IYAQTEQIAIAUCSNv6LQIb
IwYLCQgHAwIEFQIIAwQWAgMBAh4BAheAAAoJEAah7RvhLp0vx8YAn1izp3vMZhuQ
aNjPv9kj++jAH3PpAJ97Cw4pvqqUn2wGLz8z5FFpW6SlFg==
=a30k
-----END PGP PUBLIC KEY BLOCK-----