LinuxQuestions.org
Visit Jeremy's Blog.
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
 
LinkBack Search this Thread
Old 12-17-2009, 11:55 PM   #1
TheIndependentAquarius
Senior Member
 
Registered: Dec 2008
Posts: 4,598
Blog Entries: 29

Rep: Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880
firefox 3.5.6 in /usr/bin/


hi,

I have downloaded and extracted firefox 3.5.6 tar ball in a particular folder.

Now I want to place the firefox executable in the /usr/bin/ folder so that it gets started on its own from wherever i click the icon.

Do i have to create a soft-link for that in /usr/bin/...I did that, but couldnt execute firefox from there !

kindly help !
 
Old 12-18-2009, 12:17 AM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,772

Rep: Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294
Hi,

Are you sure you symlinked the correct executable:
Code:
ln -s /path/to/firefox-3.5.6/firefox /usr/bin/
 
1 members found this post helpful.
Old 12-18-2009, 12:27 AM   #3
ashok.g
Member
 
Registered: Dec 2009
Location: Hyderabad,India
Distribution: RHEl AS 4
Posts: 215

Rep: Reputation: 32
Also do all the history, add ons etc..., are saved when we do this?
 
Old 12-18-2009, 12:28 AM   #4
TheIndependentAquarius
Senior Member
 
Registered: Dec 2008
Posts: 4,598
Blog Entries: 29

Original Poster
Rep: Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880
Quote:
Originally Posted by bathory
Hi,

Are you sure you symlinked the correct executable:
Code:

ln -s /path/to/firefox-3.5.6/firefox /usr/bin/
No I had created the symbolic link the wrong way !

Now I ran the following command in directory /usr/bin/ and it executed successfully !

ln -s /home/anisha/linuxSoftwares/firefox/firefox-3.5.6/firefox /usr/bin/

but still when i run firefox from /usr/bin/ it says :
bash: /usr/bin/firefox: No such file or directory

help !!

Last edited by TheIndependentAquarius; 12-18-2009 at 12:29 AM.
 
Old 12-18-2009, 12:35 AM   #5
TheIndependentAquarius
Senior Member
 
Registered: Dec 2008
Posts: 4,598
Blog Entries: 29

Original Poster
Rep: Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880
Also I forgot to mention ,

I erased each and every kind of firefox 3.0.1 installation through yast before installing firefox 3.5.6 !
 
Old 12-18-2009, 12:36 AM   #6
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,772

Rep: Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294
Quote:
ln -s /home/anisha/linuxSoftwares/firefox/firefox-3.5.6/firefox /usr/bin/
Are you sure about it? When you extract the firefox binary distribution from mozilla.com, it creates a directory named firefox, not firefox-3.5.6.
So the actual path to the executable should be /home/anisha/linuxSoftwares/firefox/firefox.
 
1 members found this post helpful.
Old 12-18-2009, 12:41 AM   #7
TheIndependentAquarius
Senior Member
 
Registered: Dec 2008
Posts: 4,598
Blog Entries: 29

Original Poster
Rep: Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880
Quote:
Originally Posted by bathory
Are you sure about it? When you extract the firefox binary distribution from mozilla.com, it creates a directory named firefox, not firefox-3.5.6.
So the actual path to the executable should be /home/anisha/linuxSoftwares/firefox/firefox.
Thats so dumb of me !

You are right ! I've been specifying the wrong path since yesterday !!

Many thanks to you !!
 
Old 12-18-2009, 12:46 AM   #8
ashok.g
Member
 
Registered: Dec 2009
Location: Hyderabad,India
Distribution: RHEl AS 4
Posts: 215

Rep: Reputation: 32
bathory,

can you please answer to my above post?
 
Old 12-18-2009, 12:48 AM   #9
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,772

Rep: Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294
@OP
This happens to me all the time..

Cheers

@ashok.g
Quote:
Also do all the history, add ons etc..., are saved when we do this?
All these things are saved in your profile under ~/.mozilla/firefox/..., so it's independent of the way you install/run firefox
 
1 members found this post helpful.
Old 12-18-2009, 12:56 AM   #10
ashok.g
Member
 
Registered: Dec 2009
Location: Hyderabad,India
Distribution: RHEl AS 4
Posts: 215

Rep: Reputation: 32
Quote:
Originally Posted by bathory View Post
All these things are saved in your profile under ~/.mozilla/firefox/..., so it's independent of the way you install/run firefox
I have my firefox version 1 installed on my linux system version 4. Also,I have newly downloaded firefox version say version 3 on my home folder. When I try to link these two file as:
Code:
[Ashok@station130 ~]$ ln -s /home/Ashok/firefox /usr/bin/
ln: `/usr/bin//firefox': File exists
it's showing the error. Now how can I make my recent firefox to run without loosing my history, cookies, add ons etc...,?
 
Old 12-18-2009, 01:11 AM   #11
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,772

Rep: Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294
You are not going to loose anything, because as I've already told you, all these things (history, bookmarks, cookies, customizations etc) are saved in your homedir under the ./mozilla/firefox/<blah>.default directory.
Move /usr/bin/firefox to /usr/bin/firefox.old, create the symlink and you'll be ok.
If you have such an old firefox version (version 1?) then it's good to make a backup of the ./mozilla/firefox/<blah>.default directory just in case you want to revert back to the old version. The new version uses sqlite and will convert all your settings to this, so going back probably will not work.

Regards
 
Old 12-18-2009, 01:25 AM   #12
ashok.g
Member
 
Registered: Dec 2009
Location: Hyderabad,India
Distribution: RHEl AS 4
Posts: 215

Rep: Reputation: 32
Ya I did all what you said except taking backup of my "./mozilla/firefox/<blah>.default. Now, when I click on my browser its giving an error message to reconfigure firefox.
I pressed ok then I got some window in which I had chosen mozilla instead of firefox.
Now my requirements are...
1. To reconfigure my firefox and make it work as usual.
2. To chose firefox as my default browser.

Can anyone help me??

Last edited by ashok.g; 12-18-2009 at 01:40 AM.
 
Old 12-18-2009, 01:41 AM   #13
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,772

Rep: Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294
And?
What's is it doing if you accept to reconfigure firefox?
 
Old 12-18-2009, 01:46 AM   #14
ashok.g
Member
 
Registered: Dec 2009
Location: Hyderabad,India
Distribution: RHEl AS 4
Posts: 215

Rep: Reputation: 32
Quote:
Originally Posted by bathory View Post
And?
What's is it doing if you accept to reconfigure firefox?
Actually, I kept the /usr/bin/firefox as it is. What I have to do for reconfiguration to get out of thus problem.

You didn't answer to my 2nd question.
 
Old 12-18-2009, 01:55 AM   #15
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,772

Rep: Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294
If you keep /usr/bin/firefox, then you'll be using your old firefox.

To make firefox check if it's the default browser, go to:
Preferences->Advanced, tick the checkbox there. You can also click the "Check now" button, so you'll be prompted to make it your default browser.
 
  


Reply

Tags
firefox, update


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
echo $PATH = /home/g3rc4n/bin:/usr/local/bin:/usr/bin:/bin:/usr/games ? i_heart_pandas Linux - Software 7 09-18-2009 08:33 AM
Failed to chck remot comnd executin using shells /usr/bin/ssh and /usr/bin/rsh farnaw4u Linux - Software 2 04-06-2009 12:08 AM
Ubuntu 5.10 -> 6.06: diversion of /usr/bin/ldd to /usr/bin/ldd.amd64 by ia32-libs HellSpawn Linux - Software 2 06-04-2006 09:18 PM
/usr/bin/firefox? xbill311x Linux - Software 2 05-06-2006 02:20 AM
path in services wrong for clamav updated frm 0.75 to 0.80 usr/bin vs usr/local/bin Emmanuel_uk Linux - Newbie 3 04-22-2005 01:02 AM


All times are GMT -5. The time now is 05:21 PM.

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