Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have downloaded some .zip files. I wish to decompress them (I have unzip), modify them, and compress them again (into separate compressed files, one decompressed file per compressed file). I have no plan to use the files on another machine. I'm trying to figure out whether to apt-get install zip or to gzip them. (I have gzip.) What are the advantages of each — in general and specifically in my case?

share|improve this question
up vote 4 down vote accepted

In general the main advantage of zip over gzip is that it's more widespread in the Windows community.

In your case it might be more or less equivalent.


share|improve this answer
+1, many thanks. – msh210 Feb 22 '13 at 16:49

Sticking with .zip can be a good idea for the sake of consistency. If you end up creating scripts that operate on these files, using a consistent format will keep things simpler for you. Of course, this doesn't exclude the possibility of converting the original files to gzip format and sticking with gzip.

share|improve this answer
+1, many thanks. – msh210 Feb 22 '13 at 16:49

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.