LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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-19-2004, 09:57 PM   #1
bigfatdud
LQ Newbie
 
Registered: Oct 2004
Posts: 5

Rep: Reputation: 0
How to make a firefox executable available to all users


Hello there:

I downloaded the gtk version of firefox, and then ran the installer. I can work with firefox, good.
The problem is that I want all users on my machine to be able to use firefox. I guess what I did was just compiling firefox and created a executable for myself, which can only be run at the installed directory (which is /home/username/firefox-installer/). I tried copying only the firefox executable to /usr/local/bin but system complains and won't work.

I have mandrake 10 official.

How do I solve this problem?
Thank you for reading.
 
Old 10-19-2004, 11:31 PM   #2
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 62
Re install firefox to /usr/local/firefox. The add a symbolic link to firefox in /usr/bin
Code:
ln -s /usr/local/firefox /usr/bin
This should now make firefox executable by all users

--Ian
 
Old 10-20-2004, 09:25 AM   #3
number
LQ Newbie
 
Registered: Oct 2004
Posts: 3

Rep: Reputation: 0
Firefox1.0pr - SuSE 9.0 - does not run as user

I just tried to install firefox1.0pr but can only run it as root or with sudo from the user.
If I start it as user, it terminates without showing an error message nor showing a window.

I did the following already:
chgrp -R user /usr/local/firefox1.0pr
chmod -R 777 /usr/local/firefox1.0pr
(as root)

Any help is highly appreciated, thanks!
 
Old 10-20-2004, 11:31 AM   #4
Haiyadragon
Member
 
Registered: Sep 2003
Location: Gorredijk, Netherlands
Distribution: Arch Linux
Posts: 400

Rep: Reputation: 30
No, change it back to:
"chown root:root /usr/local/firefox1.0pr -R"
"chmod 744 /usr/local/firefox1.0pr -R"

Some files don't even need 744, maybe it's easier to reinstall.
Anyway, maybe your user's firefox profile has the wrong owner.
Try "chown username:usersgroup /home/username/.mozilla -R" where you replace username with your user's login name and usergroup with his primary group. If that doesn't work try deleteing the entire profile (if you have important stuff like bookmarks or emails in there please make a backup).

And to run it by just typing firefox, please do what IBall suggested. "ln -s /usr/local/firefox /usr/bin"
 
Old 10-21-2004, 03:11 AM   #5
number
LQ Newbie
 
Registered: Oct 2004
Posts: 3

Rep: Reputation: 0
Smile Summary

Hi Haiyadragon, brilliant, it works, thank you very much!

Here's a short installation manual for other dummies like me:

HOW TO install Mozilla Firefox 1.0 on a SuSE 9.0 system
**************************************************************

1) Download firefox from here: http://www.mozilla.org/products/firefox/
Current direkt link: http://ftp.mozilla.org/pub/mozilla.o...staller.tar.gz
Save it to e.g. /tmp

2) Decompress it:
Code:
cd /tmp
tar zxf firefox-1.0PR-i686-linux-gtk2+xft-installer.tar.gz
3) Login as root (if you try with sudo or su or the like, permissions will be wrong) and start the installer:
Code:
cd /tmp/firefox-installer
./firefox-installer
4) Follow the graphical wizard which guides you through the installation:
Choose to install firefox to: /usr/local/firefox1.0pr
When finished, firefox will launch and automatically create the profile (directory: ~/.mozilla)

5) Install all needed plugins: Type the following address in the address bar (without space!):
about:plugins
Click on the link here to get great manuals for the installation of plugins http://plugindoc.mozdev.org/

6) Create link to firefox for easy launch from every directory:
Code:
ln -s /usr/local/firefox1.0pr/firefox /usr/bin
7) Log off as root and login as the user of you choice and launch firefox:
Code:
firefox
# Or try this if you do not succeed:
/usr/local/firefox1.0pr/firefox
# If it still does not work, rename your profile and try again:
mv ~/.mozilla ~/.mozilla.backup
 /usr/local/firefox1.0pr/firefox
8) Create icon on your desktop (KDE):
- Right click on your desktop an choose new, shortcut to program
- Type the "Firefox" as the application name
- Click on the icon and select "other icons" and navigate to /usr/local/firefox1.0pr/icons/mozicon50.xpm
- Jump to the "Execute" tab and type "/usr/local/firefox1.0pr/firefox"
--> Hit ok to complete
 
Old 12-28-2004, 06:08 PM   #6
kfbazil
LQ Newbie
 
Registered: Nov 2004
Location: UK
Distribution: SUSE 9.1
Posts: 2

Rep: Reputation: 0


Thank you 'number'!

After many attempts and failures at installing firefox 1.0, I followed your advice and 'Hey Presto!'.

Everything works fine.

Cheers!
 
  


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
Just installed FireFox...wheres the executable? Tuxman8898 Linux - Software 5 06-04-2005 03:57 PM
how do you make 'icons' on executable files? servnov General 7 01-01-2005 08:11 PM
Firefox executable babyphil Linux - Software 1 10-21-2004 03:32 AM
Make a shell script executable but not readable davholla Linux - Security 5 03-24-2004 03:44 AM
how do I make a program executable through the command prompt? iammeuno Linux - Software 1 12-18-2003 03:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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