OpenCSW lives in /opt/csw. Installation is fairly simple:
pkgadd -d http://get.opencsw.org/now
Or, for Solaris 8 and 9:
wget https://mirror.opencsw.org/opencsw/pkgutil.pkg pkgadd -d pkgutil.pkg
There's a configuration file in /opt/csw/etc/pkgutil.conf. If you have a pkgutil.conf file in /etc/opt/csw it will override the one in /opt/csw/etc on a setting-by-setting basis. If no pkgutil.conf is found in either of those two locations defaults are used.
I'd like to move everything to /opt/csw/etc, if possible:
cd /etc/opt/csw ls | while read f; do if [ -f /opt/csw/etc/"$f" -a ! -L /opt/csw/etc/"$f" ]; then diff "$f" /opt/csw/etc/"$f" > /dev/null && mv -i "$f" /opt/csw/etc/ else echo "$f not in /opt/csw/etc" mv -i "$f" /opt/csw/etc/ fi done
This leaves a few things still in /etc/opt/csw, but these can be dealt with manually. YMMV.
Solaris Freeware Project
The Solaris Freeware Project lives in /usr/local and holds packages for Solaris 2.5 up to Solaris 10, both for x86 and sparc. The packages are installed via pkgadd:
wget ftp://ftp.sunfreeware.com/pub/freeware/sparc/10/grep-2.10-sol10-sparc-local.gz gunzip grep-2.10-sol10-sparc-local.gz pkgadd -d grep-2.10-sol10-sparc-local
Dependencies need to be resolved manually.
wget http://download.blastwave.org/csw/pkgutil_`uname -p`.pkg pkgadd -d pkgutil_`uname -p`.pkg
Packages were installed with pkgutil.
- Blastwave™ in 5 steps (Archive)
- Oracle Services Tools Bundle (STB) - Explorer, SNEEP, LWACT, RDA (ID 1153444.1)
- Memory DIMM Replacement Management Tool (cediag)
- Oracle Solaris Cluster
- Sun Management Center Introduction
- Oracle Database - free for developing, testing, prototyping and demonstrating