LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-10-2003, 03:43 PM   #1
lel800
Member
 
Registered: Aug 2003
Distribution: Red Hat RHEL WS 3, RHEL WS 4
Posts: 228

Rep: Reputation: 30
How to install a .gz file after using gunzip


According to the man pages...

"gunzip takes a list of file on its command line and replaces each file whose name ends with .gz ..... with an uncompressed file without the original extension."

So I used gunzip on my mozilla firebird download.

gunzip -v mozillafirebird-061-i686-pc.gz

And now I have simply mozillafirebird-061-i686-pc as the file.

But now how do I install this as a browser?

I tried "bash mozillafirebird-061-i686-pc"

But the response was "cannot execute binary file".

How do I run it? How does it work?

I appreciate any feedback. Thanks in advance for your time.
 
Old 10-10-2003, 03:55 PM   #2
deoren
Member
 
Registered: Oct 2003
Location: USA
Distribution: Ubuntu
Posts: 216

Rep: Reputation: 30
Hi,

More than likely what is left after running gunzip is a .tar file, without the proper extension.

Try

Code:
mv mozillafirebird-061-i686-pc mozillafirebird-061-i686-pc.tar

# Then
tar xf mozillafirebird-061-i686-pc.tar
This should give you the directory and the files contained therein.
 
Old 10-10-2003, 03:56 PM   #3
bahadir
LQ Newbie
 
Registered: Sep 2003
Location: Turkey
Distribution: LFS
Posts: 2

Rep: Reputation: 0
try:

tar -zxvf mozillafirebird-061-i686-pc.tar.gz

z = First gunzip file
x = Extract
v = List files while extracting
f = File [filename]

You can unzip tar.bz2 files with:

tar -jxvf mozillafirebird-061-i686-pc.tar.gz
j = Un bzip file
 
Old 10-10-2003, 04:40 PM   #4
lel800
Member
 
Registered: Aug 2003
Distribution: Red Hat RHEL WS 3, RHEL WS 4
Posts: 228

Original Poster
Rep: Reputation: 30
Thanks to both of you for your posts..

deoren - I did what you suggested and it worked! Thanks!

bahadir - Yes I've seen that before, that you can do a gunzip with a tar command. But I never saw the "tar" word in the original or subsequent filename. So I didn't go that way. But thanks for the feedback..
 
Old 10-10-2003, 05:09 PM   #5
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
I post this a lot - whenever you have a file do something funky like that, do 'file filename'. It's great. You get stuff like:

openssl-0.9.7c-i486-2.tgz: gzip compressed data, was "openssl-0.9.7c-i486-2.tar", from Unix, max compression
openssl-0.9.7c-i486-2.tgz.asc: PGP armored text
openssl-0.9.7c-i486-2.txt: ASCII English text


Tells you exactly what it is in many cases which lets you know exactly what to do with it.
 
Old 10-10-2003, 05:15 PM   #6
deoren
Member
 
Registered: Oct 2003
Location: USA
Distribution: Ubuntu
Posts: 216

Rep: Reputation: 30
Awesome tip! I'll remember that one (hopefully).
 
Old 10-10-2003, 08:16 PM   #7
lel800
Member
 
Registered: Aug 2003
Distribution: Red Hat RHEL WS 3, RHEL WS 4
Posts: 228

Original Poster
Rep: Reputation: 30
Hey digiot that's pretty neat.

I used another copy of the original mozillafirebird.....gz file. And I reran the gunzip command and again got the resultant file with no extension.

Then I used

"file mozillafirebird-061-i686-pc"

And the result was:

"mozillafirebird-061-i686-pc: GNU tar archive"

So that would have told me what it was. Thanks for the advice!
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Gunzip Problem anandham Linux - Newbie 1 08-09-2005 07:07 AM
Help using gunzip. troycus Linux - Newbie 2 09-22-2003 08:32 PM
gunzip-how to use. OldSarge Linux - Software 11 08-28-2003 04:10 PM
gunzip sentme_mail Solaris / OpenSolaris 23 01-20-2003 10:09 AM
gunzip command ronss Linux - Newbie 3 03-21-2002 12:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:12 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