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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
06-18-2004, 11:18 PM
|
#1
|
Member
Registered: May 2004
Location: Edmond WV
Distribution: SuSE 9.2 Professional, Fedora Core 1, Knoppix 3.4
Posts: 49
Rep:
|
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
|
|
|
06-18-2004, 11:34 PM
|
#2
|
Senior Member
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313
Rep:
|
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. )
|
|
|
06-18-2004, 11:41 PM
|
#3
|
Member
Registered: May 2004
Location: Edmond WV
Distribution: SuSE 9.2 Professional, Fedora Core 1, Knoppix 3.4
Posts: 49
Original Poster
Rep:
|
...And this should be run in a Terminal Window?
|
|
|
06-18-2004, 11:44 PM
|
#4
|
Senior Member
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313
Rep:
|
Yep, usually as root. ( su and type your root password then do ./firefox-installer ).
|
|
|
06-19-2004, 12:18 AM
|
#5
|
Member
Registered: May 2004
Location: Edmond WV
Distribution: SuSE 9.2 Professional, Fedora Core 1, Knoppix 3.4
Posts: 49
Original Poster
Rep:
|
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
|
|
|
06-19-2004, 12:41 AM
|
#6
|
Senior Member
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313
Rep:
|
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.
|
|
|
06-19-2004, 12:44 AM
|
#7
|
Senior Member
Registered: Oct 2003
Location: lost in the midwest...
Distribution: Slackware
Posts: 1,098
Rep:
|
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.
|
|
|
06-19-2004, 12:54 AM
|
#8
|
Member
Registered: May 2004
Location: Edmond WV
Distribution: SuSE 9.2 Professional, Fedora Core 1, Knoppix 3.4
Posts: 49
Original Poster
Rep:
|
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
|
|
|
06-19-2004, 12:59 AM
|
#9
|
Member
Registered: May 2004
Location: Edmond WV
Distribution: SuSE 9.2 Professional, Fedora Core 1, Knoppix 3.4
Posts: 49
Original Poster
Rep:
|
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
|
|
|
06-19-2004, 01:45 AM
|
#10
|
Senior Member
Registered: Oct 2003
Location: lost in the midwest...
Distribution: Slackware
Posts: 1,098
Rep:
|
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.
|
|
|
06-19-2004, 11:07 AM
|
#11
|
Member
Registered: May 2004
Location: Edmond WV
Distribution: SuSE 9.2 Professional, Fedora Core 1, Knoppix 3.4
Posts: 49
Original Poster
Rep:
|
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
|
|
|
06-20-2004, 12:18 AM
|
#12
|
Member
Registered: May 2004
Location: Edmond WV
Distribution: SuSE 9.2 Professional, Fedora Core 1, Knoppix 3.4
Posts: 49
Original Poster
Rep:
|
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
|
|
|
06-20-2004, 01:23 AM
|
#13
|
Senior Member
Registered: Oct 2003
Location: lost in the midwest...
Distribution: Slackware
Posts: 1,098
Rep:
|
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...
|
|
|
All times are GMT -5. The time now is 10:46 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|