CSW - pkg-get quick install page

Short-cut for Solaris 10+ users:
# pkgadd -d http://www.opencsw.org/pkg_get.pkg

For users of earlier systems, please follow the instructions below


First, download the pkg-get package file.
md5sum is 0e86304716691a6f6aa8b866d226c52c for file pkg_get-4.0.1,REV=2008.12.15-SunOS5.8-all-CSW.pkg
Don't forget to use "save as..." or shift-click, if you need to.
Install it with

 pkgadd -d pkg_get-4.0.1,REV=2008.12.15-SunOS5.8-all-CSW.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/bin to root's PATH

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

Patches needed

If you run into pkgadd problems, you will need to add sun's pkgadd patches:
Sparc: 110934
X86 : 110935

Solaris 9:
Sparc: 113713
X86 : 114568

Short summary of pkg-get usage

 pkg-get -a           (shows "available" packages)
 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)

If/when you get messages about packages not found, or unavailable, you probably want to just update your local copy of the catalog, with

 pkg-get -U

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

gpg --import [filename]
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.2.1 (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
rb1FsiIKLIdMb8PFYJ9gem5EULAhShsJBJd5mJWK6NlHNuPc3LQnRGlzdHJpYnV0
aW9uIE1hbmFnZXIgPGRtQGJsYXN0d2F2ZS5vcmc+iFkEExECABkFAj3qohgECwcD
AgMVAgMDFgIBAh4BAheAAAoJEAah7RvhLp0vnkMAoITzYpchxXMyT8umhZEWreh1
OxfeAJ9Mqv3D+AeeTcYQvo3XpBIDLnA9WIhGBBARAgAGBQI96t6AAAoJEApOj0IT
OtZqk44AnR1f3ylrkqc4ksqxSrYUzFKg4T/aAKC03HXXxcU5VjO1PAEijPUdeV6U
2Q==
=RSdH
-----END PGP PUBLIC KEY BLOCK-----