LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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
 
LinkBack Search this Thread
Old 06-18-2004, 10:18 PM   #1
Paul Fox
Member
 
Registered: May 2004
Location: Edmond WV
Distribution: SuSE 9.2 Professional, Fedora Core 1, Knoppix 3.4
Posts: 49

Rep: Reputation: 15
Correct Procedure and Location for Installs


Ladies and Gentlemen,

It's your friendly neighborhood Newbie-Man with yet another in his never-ending series of questions.

In this episode, Newbie-Man is looking for information on Installing Programs in his newly working SuSE 9.1 system. This is the file he's working with:

firefox-0.9-i686-linux-gtk2+xft-installer.tar.gz

Now...I figured out that this was a compress/zipped/stuffed file and was able to extract it but I'm not sure of the destination I should extract it to...I made an "Intalls" folder in my /home/pap directory but is that where I extract as well or do I need to move it somewhere else when I'm actually trying to "Install" the app?

Thanks guys and gals for the patience and understanding so far

Regards,
Paul
 
Old 06-18-2004, 10:34 PM   #2
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 47
IT doesnt matter where you unpack it, when you run the installer by typing

./firefox-installer

It will install itself where it needs to be. ( usually that is. )
 
Old 06-18-2004, 10:41 PM   #3
Paul Fox
Member
 
Registered: May 2004
Location: Edmond WV
Distribution: SuSE 9.2 Professional, Fedora Core 1, Knoppix 3.4
Posts: 49

Original Poster
Rep: Reputation: 15
Quote:
./firefox-installer
...And this should be run in a Terminal Window?
 
Old 06-18-2004, 10:44 PM   #4
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 47
Yep, usually as root. ( su and type your root password then do ./firefox-installer ).
 
Old 06-18-2004, 11:18 PM   #5
Paul Fox
Member
 
Registered: May 2004
Location: Edmond WV
Distribution: SuSE 9.2 Professional, Fedora Core 1, Knoppix 3.4
Posts: 49

Original Poster
Rep: Reputation: 15
This is where the unpacked files are actually located:

/home/pap/firefox-installer

...And this is what I got when I tried ./firefox-installer

Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

(firefox-installer-bin:8707): Gtk-WARNING **: cannot open display:
linux:/home/pap/firefox-installer #

...what did I do wrong?

Regards,
Paul
 
Old 06-18-2004, 11:41 PM   #6
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 47
Sorry forgot to mention, x security, so too disbale it while you install firefox

xhost +

While your not root ( exit returns you to a normal user. ) Then su to root and install firefox Then

xhost -

Returns you to normal.
 
Old 06-18-2004, 11:44 PM   #7
detpenguin
Senior Member
 
Registered: Oct 2003
Location: lost in the midwest...
Distribution: Slackware
Posts: 1,091

Rep: Reputation: 45
is there a reason you downloaded the 'installer' version? my advice, for what it's worth is to download the 'firefox-0.9-i686-linux-gtk2+xft.tar.gz' file from:

http://www.mozilla.org/products/firefox/

and untar it in your home directory, as user. it works great for me. i've noticed people having a few problems because they untarred it as root. i do it as user, and it works great.
 
Old 06-18-2004, 11:54 PM   #8
Paul Fox
Member
 
Registered: May 2004
Location: Edmond WV
Distribution: SuSE 9.2 Professional, Fedora Core 1, Knoppix 3.4
Posts: 49

Original Poster
Rep: Reputation: 15
Quote:
is there a reason you downloaded the 'installer' version? my advice, for what it's worth is to download the 'firefox-0.9-i686-linux-gtk2+xft.tar.gz' file from:
No...not really. I downloaded the files at work since I'm on a dial-up here. I guess I could do it the other way if I can't figure out how to do this properly.

I'm going to give leonscape's suggestion a try and see what I get.

Regards,
Paul
 
Old 06-18-2004, 11:59 PM   #9
Paul Fox
Member
 
Registered: May 2004
Location: Edmond WV
Distribution: SuSE 9.2 Professional, Fedora Core 1, Knoppix 3.4
Posts: 49

Original Poster
Rep: Reputation: 15
Alright...that worked to a degree. It will run the installer but it's still asking for a destination directory and I'm not sure where that should be...
/usr/bin?
/home/pap?
/usr?

I've read a few things on a few sites and /usr/bin "seems" to be the place but it wants to create a sub directory in there and from what I've read, that's a no-no.

I think I'm on the right track but I'm just not sure which way to turn at the crossroads.

Regards,
Paul
 
Old 06-19-2004, 12:45 AM   #10
detpenguin
Senior Member
 
Registered: Oct 2003
Location: lost in the midwest...
Distribution: Slackware
Posts: 1,091

Rep: Reputation: 45
these are the instructions from:
http://www.mozilla.org/products/firefox/releases/

Extract the tarball and run the installer like so:

tar -xzvf firefox-0.9-i686-linux-gtk2+xft.tar.gz

cd firefox-0.9-i686-linux-gtk2+xft/

./firefox-installer

sooo... none of it needs to be done as root. i would delete all the directories it's created so far and start clean, as user, following those directions, and let it install where it wants to.
 
Old 06-19-2004, 10:07 AM   #11
Paul Fox
Member
 
Registered: May 2004
Location: Edmond WV
Distribution: SuSE 9.2 Professional, Fedora Core 1, Knoppix 3.4
Posts: 49

Original Poster
Rep: Reputation: 15
detpenguin

Thanks for the tips. When I downloaded Firefox the other day...I didn't scroll down fare enough to see that...my bad.

I'll give that a shot and report back.

Regards,
Paul
 
Old 06-19-2004, 11:18 PM   #12
Paul Fox
Member
 
Registered: May 2004
Location: Edmond WV
Distribution: SuSE 9.2 Professional, Fedora Core 1, Knoppix 3.4
Posts: 49

Original Poster
Rep: Reputation: 15
Ok...I followed the directions to the letter and some of it worked...some of it didn't.

First off, it STILL created a directory named "Firefox" in /home/pap ... I did it three times, typing EXACTLY what the instructions told me to...same result.

Then I did this:

Quote:
cd firefox-0.9-i686-linux-gtk2+xft/
and got an error which if I understand it...was right since this directory was never created (again, as I understand the process). I believe it simply created the Firefox directory I mentioned above and that was it.

It's working now...I'm using 0.9 right now but I'm still confused as to why these things occurred.

Regards,
Paul
 
Old 06-20-2004, 12:23 AM   #13
detpenguin
Senior Member
 
Registered: Oct 2003
Location: lost in the midwest...
Distribution: Slackware
Posts: 1,091

Rep: Reputation: 45
firefox doesn't install, exactly. once you untar the package, it creates the directory 'firefox' in your /home directory, and it actually runs from there. that is why the way to 'uninstall' it is to simply delete the 'firefox' directory. it seems to me mozilla, in an effort to make things easier, seemed to actually make them a little more confusing by adding the 'installer' part, which i had never seen until your post, which caused MY confusion... i've been using firefox since it was called firebird, and all you had to do was untar it and run it from the directory it creates in your home directory, which, i see, is exactly what it still does...sorry if i caused you any confusion...and enjoy firefox!!! i know i do...
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
apache: location in location eantoranz Linux - Networking 2 08-08-2005 09:37 PM
correct location of files kevin_hill54 Linux - Newbie 1 03-10-2005 06:22 AM
Correct installing procedure, but no 3d Accel with ATI 9600XT Darthdan Fedora 2 02-01-2005 01:44 PM
apt-get mplayer installs binary at what location? glock19 Linux - Software 4 08-23-2003 01:25 PM
Tar procedure jamaso Linux - General 2 02-12-2002 07:21 AM


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

Main Menu
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