Web Hosting Talk







View Full Version : Gunzip, for the life of me!


Dylan
03-26-2002, 11:23 AM
I uploaded a bunch of .zip files from my windows PC to one of my servers a few days ago, now I am trying to gunzip them.

HooHooHoo! For the life of me I can't unzip them :confused:

Can someone through some commands this way :D

Smirks
03-26-2002, 11:51 AM
gunzip won't unzip .zip files. You need unzip. What type of linux are you running?

Dylan
03-26-2002, 12:02 PM
redhat

i'm not logged into the server at the moment, but i'm pretty sure unzip isn't installed

what about gzip? i'm pretty sure that's there...

Smirks
03-26-2002, 12:13 PM
no, gunzip and gzip are used to unzip or zip .gz files, not .zip files.

If unzip isn't installed you need to install unzip. In most redhat installations it is installed by default.

Dylan
03-26-2002, 10:04 PM
thanks, looks like I'll need to install unzip ;)

bitserve
03-27-2002, 12:16 AM
From the man pages:

Files created by zip can be uncompressed by gzip only if they have a single member compressed with the 'deflation' method. This feature is only intended to help conversion of tar.zip files to the tar.gz format. To extract zip files with several members, use unzip instead of gunzip.