Useful commands to extract packages
May 18th, 2012 by elizar
Useful commands to extract packages:
| To extract a *.tar file: | tar xvf package.tar |
| To extract a *.cpio.Z file: | zcat package.cpio.Z | cpio -idmV |
| To extract a *.gz file: | gunzip package.gz |
| To extract *.tar.gz file: | guznip package.tar.gz; tar xvf package.tar |
| To extract *.dstream.Z file: | uncompress package.dstream.Z; pkgtrans package.dstream . all |
| To extract *.zip file: | unzip package.zip |
yeah sure, citi’g gonna give me a memo for this
Filed under Uncategorized having 4 Comments »

May 18th, 2012 at 3:39 pm
For *.tar.gz, why not just use:
tar xvfz package.tar.gz
May 18th, 2012 at 5:01 pm
How about tar zxvf package.tar.gz for .tar.gz files?
June 16th, 2012 at 10:04 pm
yes, that is also true.. we can add that
April 13th, 2013 at 9:34 pm
This is how we do it Emma.. Name, URL and Comment.