LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   firefox 3.5.6 in /usr/bin/ (http://www.linuxquestions.org/questions/linux-software-2/firefox-3-5-6-in-usr-bin-776591/)

TheIndependentAquarius 12-17-2009 11:55 PM

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 !

bathory 12-18-2009 12:17 AM

Hi,

Are you sure you symlinked the correct executable:
Code:

ln -s /path/to/firefox-3.5.6/firefox /usr/bin/

ashok.g 12-18-2009 12:27 AM

Also do all the history, add ons etc..., are saved when we do this?

TheIndependentAquarius 12-18-2009 12:28 AM

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 !!

TheIndependentAquarius 12-18-2009 12:35 AM

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 !

bathory 12-18-2009 12:36 AM

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.

TheIndependentAquarius 12-18-2009 12:41 AM

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 !!

ashok.g 12-18-2009 12:46 AM

bathory,

can you please answer to my above post?

bathory 12-18-2009 12:48 AM

@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

ashok.g 12-18-2009 12:56 AM

Quote:

Originally Posted by bathory (Post 3796311)
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...,?

bathory 12-18-2009 01:11 AM

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

ashok.g 12-18-2009 01:25 AM

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??

bathory 12-18-2009 01:41 AM

And?
What's is it doing if you accept to reconfigure firefox?

ashok.g 12-18-2009 01:46 AM

Quote:

Originally Posted by bathory (Post 3796347)
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.

bathory 12-18-2009 01:55 AM

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.


All times are GMT -5. The time now is 06:08 PM.