Actually, that may not work. In Leopard, some ".pkg" files aren't "packages" at all, but are rather "xar archives ("xar" apparently stands for "eXtensible ARchiver"). Ctrl-clicking these won't offer the option of showing the package contents, since they are plain files. However, there is indeed a command line tool included with "Leopard" to expand such files, at '
/usr/bin/xar'.
Check the '
man' page for details, but the basic syntax to list the contents of an archive seems to be along the lines of:<pre>
xar -tf /path/to/archive.pkg
</pre>
To expand an archive, '
cd' into somewhere suitable with enough space to accomodate the contents, and try eg:<pre>
xar -xf /path/to/archive.pkg
</pre>
With both examples, substitute the actual path to the archive where it says "/path/to/archive.pkg".
This may not apply to all "xar" archives - I'm still in the process of familiarizing myself with this tool.