LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Packaging tools (https://www.linuxquestions.org/questions/linux-newbie-8/packaging-tools-702251/)

chili811 02-04-2009 10:01 AM

Packaging tools
 
Hi

Can anyone tell me what the main difference is between the tools tar, gzip, gunzip, zip, unzip, bzip2 and bunzip2?

Thanks

Agrouf 02-04-2009 10:06 AM

lets make groups:
tar
gzip, gunzip
zip, unzip
bzip2, bunzip2

tar is for grouping several files into one and doing the reverse
gzip, zip and bzip2 are for compressing a file and gunzip, unzip and bunzip are for decompressing the file
each one of gzip, zip and bzip2 use different compression algorithms more or less efficient depending on the task and what you consider being efficiency (basically compressing speed, decompressing speed or size ratio)

Drakeo 02-04-2009 10:06 AM

read this then try.

Didier Spaier 02-04-2009 10:10 AM

To know more:
Code:

man <command>

chili811 02-04-2009 10:13 AM

Thank u everyone.....:)


All times are GMT -5. The time now is 04:43 AM.