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 07-23-2004, 11:18 PM   #1
rignes
Member
 
Registered: Mar 2003
Location: USA
Distribution: Slackware-current
Posts: 155

Rep: Reputation: 30
How to install Firefox 9.1 Globally?


I've googled around for a suggestion on how to do this but havn't found anything useful, so I figured I'd ask here.

Anyway, I downloaded firefox (the .tar.gz not the installer) and I'm having trouble getting it to work system wide. I can put it in my home directory and run it just fine. What I'd like to do is put it in /usr/local/firefox and have everyone who logs into my system be able to use it.

I am able to run it as root so it's obviously a permission problem. My question is, what permissions need to be set where such that I can have one install vs a seperate install per user.

Thanks,

Brian
 
Old 07-24-2004, 12:14 AM   #2
Cluster
LQ Newbie
 
Registered: Jul 2004
Location: Richardson, TX
Distribution: Gentoo Linux
Posts: 14

Rep: Reputation: 0
Doesn't Firefox 0.9.1 come with an installer?

In any case, to activate a non-installer version, just move it to a global directory like /usr/local/firefox and execute the following command: chmod -R 755 /usr/local/firefox. Then every user should be able to execute /usr/local/firefox/firefox & and have it run and create a profile in the user's home directory.
 
Old 07-24-2004, 01:16 AM   #3
rignes
Member
 
Registered: Mar 2003
Location: USA
Distribution: Slackware-current
Posts: 155

Original Poster
Rep: Reputation: 30
There is an installer, however, even with that, and installing it in /usr/local/firefox, I'm still only able to run it as root. I did try chmod -R 755 but it still didn't help. Apparently there is someplace within the directory structure that a non-root user needs write access too.

Brian
 
Old 07-24-2004, 01:18 AM   #4
Cluster
LQ Newbie
 
Registered: Jul 2004
Location: Richardson, TX
Distribution: Gentoo Linux
Posts: 14

Rep: Reputation: 0
When you say "didn't help", what do you mean? Exactly what happens when you execute /usr/local/firefox/firefox? What error message/behavior?
 
Old 07-24-2004, 02:14 AM   #5
Archite
Member
 
Registered: Jul 2004
Distribution: OpenBSD 3.5
Posts: 89

Rep: Reputation: 15
Run the installer as a regular user and install in your home directory. Then copy the directory to /usr/lib/ and rename it to firefox-0.9.1 or whatever version you are using. From the directory, copy the firefox script named firefox to /usr/bin. That should do it.
 
Old 07-24-2004, 03:11 PM   #6
rignes
Member
 
Registered: Mar 2003
Location: USA
Distribution: Slackware-current
Posts: 155

Original Poster
Rep: Reputation: 30
Cluster:

All it would do is display *** loading the extensions datasource over and over and over and not actually load firefox. I had to CTRL-C to stop it.

Archite:

That worked perfectly, except I had to put it in /usr/local/firefox-0.9.1 (though I could have edited the script to point somewhere else I guess). Thanks for fix! Now, what I'm curious about is, where did you dig up that fix and what exactly does putting the files in those locations do that makes it run?

Thanks,

Brian
 
Old 07-24-2004, 03:52 PM   #7
Archite
Member
 
Registered: Jul 2004
Distribution: OpenBSD 3.5
Posts: 89

Rep: Reputation: 15
Sorry I was off. I was not on linux at the time that I wrote it. Actually, I had looked at the firefox script and saw where it was pointing to. Then I moved the files there. LoL. That's what happens when you have too much time on your hands. Anyways, heres why it works. In order for the files to have the right permissions a regular user must creat all the files by running the installer script. Bye then copying them over the the /usr/local directory, you have made them accessible to everyone on the computer. The script, firefox, then points to this location and runs the appllication. Have fun

Last edited by Archite; 07-24-2004 at 03:54 PM.
 
Old 07-25-2004, 12:01 AM   #8
raZorTT
LQ Newbie
 
Registered: Jul 2004
Location: Australia
Distribution: Mandrake 10.0
Posts: 1

Rep: Reputation: 0
Are you able to change your prefs?

I´ve just tried installing firefox on Mandrake 10.0. I installed it initially to /home and then copied the directory to /usr/local so that it would be available to all users.

However my problem is that if I go edit -> preferences and try to make a change firefox won´t let me click on to OK button to update my changes??

If I just run firefox from /home then I can update without any problems. Any thoughts?

Cheers,

Simon
 
Old 07-25-2004, 12:36 AM   #9
Archite
Member
 
Registered: Jul 2004
Distribution: OpenBSD 3.5
Posts: 89

Rep: Reputation: 15
Well, usually preferences are stored in a directory labeled .mozilla within your home directory. I would check to see if that direcotry exists, and if it does, remove all the firefox related folders within and then try again.
 
  


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
Configure GRIP globally on a system? elfoozo Linux - Software 4 09-26-2004 08:32 PM
Finding Addresses Globally nodotnet Linux - Software 0 08-18-2004 03:52 PM
Globally set PATH for all users glock19 Red Hat 8 11-09-2003 02:25 PM
removing path variables globally Nevetsmik103081 Linux - General 1 07-05-2003 01:17 PM
setting env variables globally raven Linux - General 6 02-21-2003 08:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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