LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 06-16-2004, 03:19 AM   #1
subaruwrx
Member
 
Registered: Mar 2004
Distribution: Ubuntu Feisty
Posts: 641

Rep: Reputation: 30
Firefox


Hi,

1) I installed firefox in root, does it means all my users will be able to use firefox?

2) By default, the directory firefox prompt me to install to is /root/firefox-installer, is it correct? ( I downloaded, extract and install from the directory /root/firefox-installer )
So now its like the setup files and installation files are in the same directory. By right, where should firefox be installed to?

3) After installing firefox, it did not appear in the menu, is there any other way to access it?

4) How do I uninstall some of the unnecessary programs thats installed during the installing of Linux? (e.g. those under development tools)

Thanks
 
Old 06-16-2004, 03:51 AM   #2
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 62
1) I don't think so, as only root should be able to access /root. I suggest installing Firefox to /usr/local/firefox or /opt/firefox.

2) See above. I think you possibly downloaded the installer file to /root, so it unzipped it to /root/firefox-installed.

3) Create a symbolic link in /usr/bin.
Code:
ln -s /usr/local/firefox/firefox /usr/bin
You can also create a launcher in the menu or on the deskotp. The command to execute is simply "firefox" if you created a symbolic link.

4) What distro are you using? If it is redhat, use the Add/Remove Programs in the menu. You could also list the programs using the RPM utility. I think the commands are:
Code:
rpm -qa   (to list installed programs) and
rpm -e progName (to remove the programs)
See "man rpm" for more information.
Other distros have different methods.

A note of caution about the development tools - these include gcc and make. If you remove them, you won't be able to install any programs from source.

I hope this helps
--Ian
 
Old 06-16-2004, 04:28 AM   #3
subaruwrx
Member
 
Registered: Mar 2004
Distribution: Ubuntu Feisty
Posts: 641

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by IBall
1) I don't think so, as only root should be able to access /root. I suggest installing Firefox to /usr/local/firefox or /opt/firefox.

2) See above. I think you possibly downloaded the installer file to /root, so it unzipped it to /root/firefox-installed.

3) Create a symbolic link in /usr/bin.
Code:
ln -s /usr/local/firefox/firefox /usr/bin
You can also create a launcher in the menu or on the deskotp. The command to execute is simply "firefox" if you created a symbolic link.

4) What distro are you using? If it is redhat, use the Add/Remove Programs in the menu. You could also list the programs using the RPM utility. I think the commands are:
Code:
rpm -qa   (to list installed programs) and
rpm -e progName (to remove the programs)
See "man rpm" for more information.
Other distros have different methods.

A note of caution about the development tools - these include gcc and make. If you remove them, you won't be able to install any programs from source.

I hope this helps
--Ian
1) So how do I uninstall the firefox that was installed to my root directory?

2) What difference is there if I were to install to /usr/local ? Available to all users?

3) Oh, those files inside /bin directory is actually commands which are executable by just typing the file name?

4) err... I'm using Slackware 9.1 currently.

5) Regarding the symbolic link, I've done that. But after typing firefox in console, how do I return to the prompt? Currently, after I've typed the command, firefox browser will come out but the command is still there. I need to ctrl+c to return to prompt, but my browser will close at the same time.

Thanks

Last edited by subaruwrx; 06-16-2004 at 05:54 AM.
 
Old 06-16-2004, 10:09 AM   #4
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 62
1) So how do I uninstall the firefox that was installed to my root directory?
Just delete the directory, using "rm -fr directoryName". This won't hurt anything, as it is all installed in one place and not scattered around like Windows

2) What difference is there if I were to install to /usr/local ? Available to all users?
Yes. You will however, still need to create a symbolic link, as /usr/local/firefox is not in users path.

3) Oh, those files inside /bin directory is actually commands which are executable by just typing the file name?
yep. /bin is for system commands like ls, rm .. /usr/bin is for user added commands, such as firefox.

5) Regarding the symbolic link, I've done that. But after typing firefox in console, how do I return to the prompt? Currently, after I've typed the command, firefox browser will come out but the command is still there. I need to ctrl+c to return to prompt, but my browser will close at the same time.
When you run a command type & at the end of the line. This send the job to the background and you will get a prompt back.
Code:
firefox &
.
If you didn't do this, press Ctrl-Z to send a job to the backround. This will make the window stop responding. Then type "jobs" to findout the job number, and "bg jobNumber" to send the job into the background.

I hope this helps
--Ian
 
Old 06-16-2004, 01:10 PM   #5
subaruwrx
Member
 
Registered: Mar 2004
Distribution: Ubuntu Feisty
Posts: 641

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by IBall

3) Oh, those files inside /bin directory is actually commands which are executable by just typing the file name?
yep. /bin is for system commands like ls, rm .. /usr/bin is for user added commands, such as firefox.
How about /sbin and /usr/sbin? When do we use that?
 
Old 06-16-2004, 01:20 PM   #6
LoungeLizard
Member
 
Registered: Apr 2003
Location: Tampa, Florida
Distribution: Mint 17.2 ,OpenSuse, Kali and Pepermint OS 6
Posts: 276

Rep: Reputation: 30
I never had to install FireFox I just downloaded it extracted it to the /opt and then for every user I right clicked on the desktop -> create launcher (in slack) or creat launcher (suse)

where it says what command to run click browse goto /opt/firefox -> then just select the file called firefox then click apply and ok

Now there should be an Icon on your desktop and if you click on it firefox should start right up
 
Old 06-16-2004, 01:30 PM   #7
subaruwrx
Member
 
Registered: Mar 2004
Distribution: Ubuntu Feisty
Posts: 641

Original Poster
Rep: Reputation: 30
What is the directory /opt for?
 
Old 06-16-2004, 01:37 PM   #8
LoungeLizard
Member
 
Registered: Apr 2003
Location: Tampa, Florida
Distribution: Mint 17.2 ,OpenSuse, Kali and Pepermint OS 6
Posts: 276

Rep: Reputation: 30
I used opt like program files in windows...it just for optional programs that you install...mine has firefox, thunderbird, openoffice, Mplayer and a few others.

Last edited by LoungeLizard; 06-16-2004 at 01:39 PM.
 
Old 06-16-2004, 09:31 PM   #9
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 62
/sbin and /usr/sbin are executables for root.

They include shutdown, fsck, etc.
You shouldn't really touch these, as they are not in a normal users path.

opt == optional

--Ian
 
Old 06-17-2004, 10:40 PM   #10
nebs
LQ Newbie
 
Registered: Jun 2004
Location: Kingston, ON, Canada
Distribution: Mandrake
Posts: 12

Rep: Reputation: 0
Does anybody know what the Firefox installer actually does though? To remove Firefox that was installed with the firefox installer, is it still just a matter of deleting the firefox directory?
 
Old 06-17-2004, 11:51 PM   #11
detpenguin
Senior Member
 
Registered: Oct 2003
Location: lost in the midwest...
Distribution: Slackware
Posts: 1,098

Rep: Reputation: 54
just delete the directory, and firefox is gone....
 
Old 06-18-2004, 02:37 AM   #12
subaruwrx
Member
 
Registered: Mar 2004
Distribution: Ubuntu Feisty
Posts: 641

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by IBall
/sbin and /usr/sbin are executables for root.

They include shutdown, fsck, etc.
You shouldn't really touch these, as they are not in a normal users path.

opt == optional

--Ian
I found out that adsl-setup, adsl-start etc are in /usr/sbin. If its in the /sbin, how would my users able to connect to the internet?
 
Old 06-18-2004, 02:45 AM   #13
subaruwrx
Member
 
Registered: Mar 2004
Distribution: Ubuntu Feisty
Posts: 641

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by IBall

3) Create a symbolic link in /usr/bin.
Code:
ln -s /usr/local/firefox/firefox /usr/bin
You can also create a launcher in the menu or on the deskotp. The command to execute is simply "firefox" if you created a symbolic link.
Any idea if firefox has its own icon? Just created a symbolic link, but wanna change to firefox icon (if there is any).

btw, I just installed OpenOffice to /opt. How do I let my users access the program? Doing the symbolic link?

Last edited by subaruwrx; 06-18-2004 at 02:51 AM.
 
Old 06-18-2004, 03:21 AM   #14
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 62
Firefox icon is <firefoxInstallationDirectory>/icons/mozicon50.xpm
where <firefocInstallationDirectory> is wherever you installed it...

You should be able to make symbolic links to swriter, scalc,... just make sure that you also make a link to soffice as well in the same directory.

I hope this helps
--Ian
 
Old 06-18-2004, 03:26 AM   #15
subaruwrx
Member
 
Registered: Mar 2004
Distribution: Ubuntu Feisty
Posts: 641

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by IBall

You should be able to make symbolic links to swriter, scalc,... just make sure that you also make a link to soffice as well in the same directory.

I hope this helps
--Ian
hmm... I have already symbolic link my firefox executable to /usr/bin. But when I try to access it with my user account, it could not load.
 
  


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
Linux Firefox Slower than Windows Firefox on same machine gherikill Linux - Software 17 02-21-2008 12:06 AM
firefox on windows and firefox on linux boxerboy Fedora 7 08-13-2005 06:49 PM
[Linux; Firefox 1.02] Firefox gone blank?! Jeff_Eklund Linux - Software 5 05-13-2005 01:11 PM
Symlinking Firefox Extensions from Windows to Firefox? apachedude Linux - Software 11 11-26-2004 05:00 AM
Firefox died (Fedora Core 1, firefox latest) Brakki Fedora 1 03-05-2004 11:25 AM

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

All times are GMT -5. The time now is 01:42 PM.

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