Extracting files from Solaris packages

In this example, I extract libcrypto.a from Sunfreeware's OpenSSL 0.9.8d package. I don't want to install the package on the system.

The package is in datastream format, and will be converted to file system format with pkgtrans.

$ gzip -d openssl-0.9.8d-sol8-sparc-local.gz
$ pkgtrans openssl-0.9.8d-sol8-sparc-local .
$ mv `find SMCosl98d -name libcrypto.a` . && rm -rf SMCosl98d openssl-0.9.8d-sol8-sparc-local

Back to brandonhutchinson.com.
Last modified: 2007/03/02