LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   gzip-1.2.4.tar Install (https://www.linuxquestions.org/questions/linux-general-1/gzip-1-2-4-tar-install-12198/)

ljc 01-20-2002 02:10 PM

gzip-1.2.4.tar Install
 
I downloaded gzip-1.2.4.tar
I have tried to install it but get message:
gzip: stdin: not in gzip format
tar: child returned status 1

Can anyone help, please??:(

TacKat 01-20-2002 02:30 PM

If it's just a *.tar file (not *.tgz or *.tar.gz) you don't have to decompress it first. Just run a 'tar -xvf gzip-1.2.4.tar'

They didn't compress the file with gzip because that would be quite the mess if you needed gzip to install gzip!

isajera 01-20-2002 02:31 PM

gzip is a compression utility that is often used with tar to save transfer and download time. usually, you see packages as *.tar.gz - the gz being for the gzip compression. when you get the package, you run

tar -xzvf package.tar.gz

to decompress and untar it - it installs to a directory, usually. the 'z' option is for tar to run the tarball through the gzip filter first, which you don't have, and don't yet need. so, run

tar -xvf gzip-x.x.tar

to get it untarred, and then just follow the install instructions.

DavidPhillips 01-20-2002 09:44 PM

you may also see an error like that for a .gz file.

If you download a .gz file with netscape it will decompress it and keep the .gz in the name. If you run into this problem just rename the file

mv filename.tar.gz filename.tar


All times are GMT -5. The time now is 02:01 AM.