LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-26-2003, 04:56 PM   #1
OldSarge
Member
 
Registered: Jul 2003
Posts: 56

Rep: Reputation: 15
Unhappy gunzip-how to use.


I have a file I downloaded from Mozilla, to upgrade my 1.2 to 1.4. It was saved as a gunzip file, somewhere. I need to know how to find and then the step by step instructions on how to install it to SuSe 8.2. I am definitely a novice when it comes to Linux!
 
Old 08-26-2003, 05:00 PM   #2
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 48
You probbably alrady have it.

was the file a tar.gz?

try

tar -xvzf thefile.tar.gz

if its just gzip then

gzip -d thefile.gz

The follow the instructions on how to install in your new directory.
 
Old 08-26-2003, 05:02 PM   #3
contrasutra
LQ Guru
 
Registered: Mar 2003
Location: New Jersey
Distribution: Arch Linux
Posts: 1,445

Rep: Reputation: 47
whats the extension of the file?

.gz = gunzip.

But most people make their files into a tarball (.tar) before compressing it with gzip.

A tarball takes a bunch of files and makes it one big file, that keeps directory structure.

If its a tar.gz (which is most likely is), you use this command:

tar -xvzf foo.tar.gz

this will untar and uncompress the file in one go.

For installation, I believe Mozilla comes already compiled, so you just run the "mozilla" binary inside the folder that should have been created when you untarred that tar.gz. The folder is probobly called "mozilla" too.


A tip:

Be sure to be in the directory of the tarball when untarring it.

If you had a tarball called mozilla.tar.gz in /home/user, you would do:

cd /home/user
tar -xvzf mozilla.tar.gz
cd mozilla
./mozilla

and that would "install" and run Mozilla.
 
Old 08-26-2003, 05:04 PM   #4
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
well i would say you saved it in your home folder...and its kinda hard to find it without a filename or whatever....why don't you just watch where you save it to, and then you'll know where to go
now being that plain and simple *.gz files are uncommon i will give you a few examples cause i don't think thats what you got..
but if it is a
*.gz type:
gunzip filename.gz
if it is a
*.tar.gz type:
tar -zxvf filename.tar.gz
if it is a
*.tgz type:
tar -zxvf filename.tgz
if it is a
*.tar.bz2 type:
tar -jxvf filename.tar.bz2

you can maybe type in the terminal :
updatedb
and then type:
locate mozilla
and you may come across it, but i'll restate like i did above, if this doesn't work, just watch where you are downloading your files to...re-download again just to see where it points to, and maybe the default folder that opens up you'll possibly see the existing one you already downloaded...
 
Old 08-27-2003, 12:32 PM   #5
OldSarge
Member
 
Registered: Jul 2003
Posts: 56

Original Poster
Rep: Reputation: 15
Unhappy gunzip problem

I have tried all the methods mentioned in this string, to no avail. I keep getting "no such command exists" or "no such file or directory exists". I had downloaded the file into the download manager and can go there and find it, but cannot get it to transfer and install. The file as it reads in the download manager is: File:///tmp/mozilla-i686-pc-linux-gnu-1.4-sea.tar.gz. How do I get it from the download manager to install, in plain and simple english, if possible.
 
Old 08-27-2003, 01:28 PM   #6
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
You need to open a console window (terminal window)... I can't remember what it is called in SuSE

At the command line, type the following commands:
Code:
cd /tmp
tar -zxvf mozilla-i686-pc-linux-gnu-1.4-sea.tar.gz
cd mozilla-installer
./mozilla-installer
 
Old 08-27-2003, 01:29 PM   #7
contrasutra
LQ Guru
 
Registered: Mar 2003
Location: New Jersey
Distribution: Arch Linux
Posts: 1,445

Rep: Reputation: 47
just do (as root):

cd /tmp
tar -xvzf mozilla-i686-pc-linux-gnu-1.4-sea.tar.gz

I wouldnt keep it in /tmp though. You want to keep personal files in your home directory, so the permissions dont get screwed up.
 
Old 08-27-2003, 04:13 PM   #8
OldSarge
Member
 
Registered: Jul 2003
Posts: 56

Original Poster
Rep: Reputation: 15
Unhappy gunzip install problem

I have tried Mr. Mathieu's method and all I get is "No such file or directory"! As for doing it as root, I am embarrassed to say I cannot seem to be able to get the root desktop up, although I can go into Yast2 as root.
 
Old 08-27-2003, 04:45 PM   #9
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
No such file or directory
Which command gave you that error message ?

If it is the tar ..., then the file may not be in the /tmp directory.
We can look for it, at the command line, type:
Code:
cd /tmp
ls -lsa
Is the file (mozilla-i686-pc-linux-gnu-1.4-sea.tar.gz) present in the directory listing ?

Last edited by Mathieu; 08-27-2003 at 04:47 PM.
 
Old 08-27-2003, 09:02 PM   #10
OldSarge
Member
 
Registered: Jul 2003
Posts: 56

Original Poster
Rep: Reputation: 15
To All: tried to locate the file using ls-lsa, to no avail. In fact, the only way I can find the file is to go to the download manager, and there it is! So, I say it again, somehow I have to be able to transfer it and install it. I have tried all the above methods and the only results I get are: NO SUCH FILE OR DIRECTORY!!!
 
Old 08-27-2003, 09:14 PM   #11
contrasutra
LQ Guru
 
Registered: Mar 2003
Location: New Jersey
Distribution: Arch Linux
Posts: 1,445

Rep: Reputation: 47
You dont need to do a GUI login to get to root. In fact, almost NEVER log into a GUI as root, its very dangerous to be able to point and click your system into destruction.

To become root, open up a terminal (Konsole, Gnome-Terminal, xterm), and type:

su
[enter root password]

If you didnt make a root password, just press enter. But then be sure to make one. To do that, type the "passwd" command.


try doing (as root):

"updatedb"
[database updates]
"locate mozilla-i686-pc-linux-gnu-1.4-sea.tar.gz"

It will tell you where is is.

If its not, try downloading it from another program, I like WGET.
 
Old 08-28-2003, 04:10 PM   #12
OldSarge
Member
 
Registered: Jul 2003
Posts: 56

Original Poster
Rep: Reputation: 15
Unhappy using terminal and "SU"

Tried to locate the file through updating the database, all I got was "Command not found" Have decided that upgrading is for the birds and will stick with what I have. I have had the double negative of trying to install NS7 for Linux, to no avail. So, until Suse sends out a integrated upgrade with Mozilla 1.4, I will stay with what I have.
 
  


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 Red Hat 2 08-11-2005 05:13 AM
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 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 - Software

All times are GMT -5. The time now is 10:58 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
Open Source Consulting | Domain Registration