LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Help updating Firefox (https://www.linuxquestions.org/questions/linux-newbie-8/help-updating-firefox-457610/)

thort 06-23-2006 11:57 AM

Help updating Firefox
 
Hi !

I run Ubuntu 5.10.

I want to update to Firefox 1.5.0.4. I have Firefox 1.0.7 now.

sudo apt-get install firefox doesn't help. The Terminal says firefox is already the newest version.

So, I downloaded the Firefox 1.5.0.5 tar.gz file. I unpacked it and found a file named firefox. I clicked on it and a window opened up asking me if I want to run the file. I choosed yes, and Firefox started. That's good.

My question is: How can I create an icon to click on to start Firefox?

I have the Smeg Menu Editor installed. I tried to create a menu item for Firefox, but failed. I pointed the new menu item to the file firefox but got the message: Failed to execute child process "/home/thort/Firefox" (No such file or directory).

And also. Where is the proper place to place the Firefox? Now, I have copied it in my home directory. There must be a better place.

I would appreciate some assistance.

m_yates 06-23-2006 12:12 PM

You can move firefox to /opt That is the place usually used for installed extra software.

You can create a symbolic link to the executable like:
Code:

ln -s /opt/firefox /usr/bin/firefox15
Then you can start it with the command "firefox15".

In gnome, you can create a menu entry for it by right clicking on "applications" and selecting "edit menus", and select File>New Entry and use the command "firefox15" (or whatever else you choose to use), give it a name as well. If you click the "No Icon" button, you can select an application icon.

robbbert 06-23-2006 12:21 PM

Which version of Firefox starts when executing
Quote:

/usr/lib/firefox/firefox-bin
?

thort 06-23-2006 12:33 PM

Hi robbert!

Quote:

Originally Posted by robbbert
Which version of Firefox starts when executing /usr/lib/firefox/firefox-bin?

Firefox 1.0.7

Gethyn 06-23-2006 12:33 PM

If you upgrade to Ubuntu 6.06, you can install a more recent version of Firefox via apt.

thort 06-23-2006 12:44 PM

Thanks m_yates !

Quote:

Originally Posted by m_yates
You can move firefox to /opt That is the place usually used for installed extra software.

You can create a symbolic link to the executable like:
Code:

ln -s /opt/firefox /usr/bin/firefox15
Then you can start it with the command "firefox15".

I get this output in the Terminal:

thort@thortsystem:~$ sudo ln -s /opt/firefox /usr/bin/firefox15
Password:
thort@thortsystem:~$ firefox15
bash: firefox15: command not found


How do I make Firefox executable?

m_yates 06-23-2006 02:30 PM

Here is exactly what to do:

First, download lastest firefox and move it to /opt , Then:
Code:

cd /opt
sudo su
tar zxvf firefox-1.5.0.4.tar.gz
cd firefox
ln -s /opt/firefox/firefox-bin /opt/firefox/firefox15-bin
ln -s /opt/firefox/firefox /usr/bin/firefox15

Now, (in Gnome) right click on "Applications" select "Edit Menus", go to File>New Entry. Give a name like "Firefox15" and the command "firefox15". It will work. I just tried it myself. You may want to remove the old firefox and delete your .mozilla directory to avoid confusion between the two versions.

BobNutfield 06-23-2006 03:19 PM

To my knowledge, firefox can be updated through the apt-get update command, which automatically uninstalls the old version and installs the new. As a matter of fact, I just did it about 10 minutes ago:

Quote:

apt-get update firefox
Half an hour ago I was using 1.5.2. This is being written in 1.5.4-2.

Bob

thort 06-23-2006 07:03 PM

Thanks to all of you for your willingness to help me!

I appreciate it.

What have I done? I followed Gethyn's advice and upgraded to Ubuntu 6.06.
Quote:

Originally Posted by Gethyn
If you upgrade to Ubuntu 6.06, you can install a more recent version of Firefox via apt.

So this I have done. And it seems I succeded. Ubuntu started up whith just one failure message.

The upgrade took several hours using apt-get dist-upgrade. Before upgrading I updated my repositories and disabled the screensaver.

So, now I run Firefox 1.5.0.4 as I wanted. And I can start it from the menu.

I would like to say some words to you m_yates. Eventhough I didn't follow your suggestions all the way, you have learned me to install all extra software in the opt directory. And you have learned me about how to create a command for starting applications from the Terminal. Thanks.

:)

m_yates 06-23-2006 07:59 PM

You're welcome. :cool: Even though it takes a long time, it is worth the upgrade to Dapper. You'll have access to more recent versions of just about all applications.


All times are GMT -5. The time now is 07:05 AM.