View Single Post
Benson's Avatar
Posts: 4,930 | Thanked: 2,272 times | Joined on Oct 2007
#6
Pasting the exact error message really helps.

The short way (1 command) is
Code:
tar xvzf filename.tgz
The -z flag for tar makes it decompress a gzipped tar first.
(Note that the z flag is a GNU extension.)

Of course, you must be in the same location as the .tgz, or specify the path as well.
It will extract the files in the current directory.

Last edited by Benson; 2008-05-10 at 22:06. Reason: sjgadsby reminded me it's a GNU extension...
 

The Following 3 Users Say Thank You to Benson For This Useful Post: