LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 06-23-2006, 12:57 PM   #1
thort
Member
 
Registered: Nov 2003
Location: Sweden
Distribution: Linux Mint Cinnamon 17.3
Posts: 192

Rep: Reputation: 31
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.
 
Old 06-23-2006, 01:12 PM   #2
m_yates
Senior Member
 
Registered: Aug 2003
Location: Upstate
Distribution: Debian, Mint, Mythbuntu
Posts: 1,207

Rep: Reputation: 63
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.
 
Old 06-23-2006, 01:21 PM   #3
robbbert
Member
 
Registered: Oct 2005
Location: Hannover, Germany
Distribution: Let there be Ubuntu... :o)
Posts: 573

Rep: Reputation: 32
Which version of Firefox starts when executing
Quote:
/usr/lib/firefox/firefox-bin
?
 
Old 06-23-2006, 01:33 PM   #4
thort
Member
 
Registered: Nov 2003
Location: Sweden
Distribution: Linux Mint Cinnamon 17.3
Posts: 192

Original Poster
Rep: Reputation: 31
Hi robbert!

Quote:
Originally Posted by robbbert
Which version of Firefox starts when executing /usr/lib/firefox/firefox-bin?
Firefox 1.0.7
 
Old 06-23-2006, 01:33 PM   #5
Gethyn
Member
 
Registered: Aug 2003
Location: UK
Distribution: (X)Ubuntu 10.04/10.10, Debian 5, CentOS 5
Posts: 900

Rep: Reputation: 32
If you upgrade to Ubuntu 6.06, you can install a more recent version of Firefox via apt.
 
Old 06-23-2006, 01:44 PM   #6
thort
Member
 
Registered: Nov 2003
Location: Sweden
Distribution: Linux Mint Cinnamon 17.3
Posts: 192

Original Poster
Rep: Reputation: 31
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?
 
Old 06-23-2006, 03:30 PM   #7
m_yates
Senior Member
 
Registered: Aug 2003
Location: Upstate
Distribution: Debian, Mint, Mythbuntu
Posts: 1,207

Rep: Reputation: 63
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.
 
Old 06-23-2006, 04:19 PM   #8
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,477

Rep: Reputation: 51
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
 
Old 06-23-2006, 08:03 PM   #9
thort
Member
 
Registered: Nov 2003
Location: Sweden
Distribution: Linux Mint Cinnamon 17.3
Posts: 192

Original Poster
Rep: Reputation: 31
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.

 
Old 06-23-2006, 08:59 PM   #10
m_yates
Senior Member
 
Registered: Aug 2003
Location: Upstate
Distribution: Debian, Mint, Mythbuntu
Posts: 1,207

Rep: Reputation: 63
You're welcome. 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.
 
  


Reply


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
updating firefox to 1.5.0.4 Philip Poole Linux - Software 2 06-14-2006 05:15 PM
updating firefox dark_negotiator Fedora 2 06-05-2006 02:45 AM
help updating firefox paddy Linux - Software 3 02-14-2006 11:10 AM
Updating Firefox nygeek05 Slackware 5 11-14-2005 08:34 PM
updating Firefox jaakkop Linux - Software 1 11-15-2004 11:22 AM


All times are GMT -5. The time now is 01:56 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration