In order to unpack a compressed tarfile, save it into a file called, say, foo.tar.Z, and type the following Unix command.
uncompress foo.tarThis will create an ordinary tarfile for you to extract.
For more information, see the Unix man page on compress.