LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-20-2002, 03:10 PM   #1
ljc
LQ Newbie
 
Registered: Jan 2002
Distribution: Red Hat Linux 7.2
Posts: 2

Rep: Reputation: 0
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??
 
Old 01-20-2002, 03:30 PM   #2
TacKat
Member
 
Registered: Jan 2002
Distribution: LFS
Posts: 90

Rep: Reputation: 15
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!
 
Old 01-20-2002, 03:31 PM   #3
isajera
Senior Member
 
Registered: Jun 2001
Posts: 1,635

Rep: Reputation: 45
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.
 
Old 01-20-2002, 10:44 PM   #4
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
tar and gzip - how do i point to a output directory RedHat123 Linux - Newbie 4 04-20-2011 11:48 AM
How to untar and unzip .tar.gzip.part file? linuxharsha Linux - Software 2 02-14-2004 11:37 AM
tar and gzip c0c0deuz Linux - General 2 10-31-2002 04:04 PM
dd, tar and gzip nabil Linux - General 3 01-18-2002 05:51 PM
Need Serious Help With Tar And Gzip!! Please! rootlinux Linux - General 2 12-16-2001 02:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration