Tips #2 – Howto install all Solaris packages from a directory
cd /your/directory
# Create a admin file
cat » adminfile « “EOF” basedir=default conflict=nocheck setuid=nocheck action=nocheck partial=nocheck instance=overwrite idepend=quit rdepend=quit space=quit EOF # Extract packages for p in *.gz;do gunzip $p;done # Generate a install file for p in *-sol9-sparc-local;do pkginfo -d $p|awk ‘{print “pkgadd -a adminfile -n -d ‘$p’” “ “ $2}’;done > install_packages.sh
# Launch install file
sh install_packages.sh