LinuxQuestions.org
Visit Jeremy's Blog.
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, 04: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, 04:55 PM   #2
deoren
Member
 
Registered: Oct 2003
Location: USA
Distribution: Ubuntu
Posts: 214

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, 04: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, 05: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, 06: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, 06:15 PM   #6
deoren
Member
 
Registered: Oct 2003
Location: USA
Distribution: Ubuntu
Posts: 214

Rep: Reputation: 30
Awesome tip! I'll remember that one (hopefully).
 
Old 10-10-2003, 09: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


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


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


All times are GMT -5. The time now is 08:09 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration