LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   New Kubuntu Dapper install - Firefox 1.5 to Firefox 2.0 (https://www.linuxquestions.org/questions/ubuntu-63/new-kubuntu-dapper-install-firefox-1-5-to-firefox-2-0-a-521314/)

Optiker 01-20-2007 10:18 PM

New Kubuntu Dapper install - Firefox 1.5 to Firefox 2.0
 
I just installed Kubuntu Dapper. Using Adept, I added Firefox, but was disappointed that it installed ver. 1.5 I updated my Adept listing, before instsalling, so apparently the default repos don't include ver. 2.0.

I DLed the TAR from the Firefox site, but don't know what to do with it. Do I need to uninstall 1.5 first, and then, how do I install 2.0?

Is there a repository where I can just ask for an update to 2.0?

I searched the LQ forums for posts on this, and while I know it's been addressed, haven't found them, so would really appreciate the help.

Thanks!
Optiker

IBall 01-20-2007 11:02 PM

Don't worry about version 1.5 - just leave it where it is.

To install Firefox 2, simply untar the tarball in /usr/local/firefox:
Code:

sudo mkdir /usr/local/firefox
sudo tar -xzvf -C /usr/local/firefox firefox-2.tar.gz

Note that the -C is a capital C, and firefox-2.tar.gz is the name of the file you downloaded.

Then change the symbolic link in /usr/bin to point to the newly installed firefox 2.
Code:

sudo mv /usr/bin/firefox /usr/bin/firefox1.5
sudo ln -s /usr/local/firefox/firefox /usr/bin/firefox

I hope this helps
--Ian

Optiker 01-20-2007 11:16 PM

Ian...

That's exactly what I was hoping for! :)

Bedtime, so probably won't get back to it unitl tomorrow, so will try it then anad report back.

Thanks very much!
Optiker

aysiu 01-21-2007 02:15 AM

This script automates the process for you:
http://www.psychocats.net/ubuntu/firefox

binary_y2k2 01-21-2007 07:54 AM

Or you can enable the backports repository which will upgrade 1.5 to 2.0, it should already be in your sources, just disabled.
It should look something like
Code:

deb http://archive.ubuntu.com/ubuntu/ dapper-backports main restricted universe multiverse

Optiker 01-21-2007 09:57 AM

Quote:

Originally Posted by aysiu
This script automates the process for you:
http://www.psychocats.net/ubuntu/firefox

aysiu - even better...will look it up. However, in a previous install, tried EasyUbuntu and had problems, and a different install, tried Automatix and it broke the system - never again Automatix!

However, I will try your script is binary_y2k2's backports suggestion doesn't work out. I thought I had enabled it, but maybe not.

Thanks!
Optiker

Optiker 01-21-2007 09:58 AM

Quote:

Originally Posted by binary_y2k2
Or you can enable the backports repository which will upgrade 1.5 to 2.0, it should already be in your sources, just disabled.
It should look something like
Code:

deb http://archive.ubuntu.com/ubuntu/ dapper-backports main restricted universe multiverse

binary...thought I had enabled it, but will double check and try it.

Double checked, and yes, it is enabled, but after updataing all and installing, got only 1.5. Anything special I need to do?

Thanks!
Optiker

binary_y2k2 01-21-2007 10:08 AM

Let me 1st say it's not the 1st time I have heard horror stories about EasyUbuntu/Atomatix and I never recommend any one use them.
Ok, now back to FireFox
You shouldn't have to do anything special to get version 2, just update. If it's not working something isn't right.
Can you post your /etc/apt/sources.list so I can see if there is anything wrong in there?

Optiker 01-21-2007 10:13 AM

Quote:

Originally Posted by binary_y2k2
Can you post your /etc/apt/sources.list so I can see if there is anything wrong in there?

Here ya go...straight standardas installed except for enabling all the disabled ones. Thanks
Optiker
--------------------

deb http://mx.archive.ubuntu.com/ubuntu/ dapper main restricted
deb-src http://mx.archive.ubuntu.com/ubuntu/ dapper main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://mx.archive.ubuntu.com/ubuntu/ dapper-updates main restricted
deb-src http://mx.archive.ubuntu.com/ubuntu/ dapper-updates main restricted

## Uncomment the following two lines to add software from the 'universe'
## repository.
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://mx.archive.ubuntu.com/ubuntu/ dapper universe
deb-src http://mx.archive.ubuntu.com/ubuntu/ dapper universe

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://mx.archive.ubuntu.com/ubuntu/ dapper-backports main restricted universe multiverse
deb-src http://mx.archive.ubuntu.com/ubuntu/ dapper-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu dapper-security main restricted
deb-src http://security.ubuntu.com/ubuntu dapper-security main restricted
deb http://security.ubuntu.com/ubuntu dapper-security universe
deb-src http://security.ubuntu.com/ubuntu dapper-security universe

-------------------------------------

Optiker 01-21-2007 05:15 PM

I went the route suggested by aysiu and DLed the script and ran the commands. Looks like it installed fine. I just redirected the link per Ian's post. after I send this, I'll shut down Firefox and see if I did it right! :)

Back in a few minutes with results.

Thanks!
Optiker

Optiker 01-21-2007 05:21 PM

Quote:

Originally Posted by Optiker
I went the route suggested by aysiu and DLed the script and ran the commands. Looks like it installed fine. I just redirected the link per Ian's post. after I send this, I'll shut down Firefox and see if I did it right! :)

Looks like I did something wrong. I went to the entry in the KMenu for Internet/Firefox and when I clicked onit, nothing happened. So, Apparently that link is no longer valid.

aysiu (or others)...suggestions?

Thanks!
Optiker

Optiker 01-22-2007 02:25 PM

Quote:

Originally Posted by IBall
Don't worry about version 1.5 - just leave it where it is.

To install Firefox 2, simply untar the tarball in /usr/local/firefox:
Code:

sudo mkdir /usr/local/firefox
sudo tar -xzvf -C /usr/local/firefox firefox-2.tar.gz

Note that the -C is a capital C, and firefox-2.tar.gz is the name of the file you downloaded.

Then change the symbolic link in /usr/bin to point to the newly installed firefox 2.
Code:

sudo mv /usr/bin/firefox /usr/bin/firefox1.5
sudo ln -s /usr/local/firefox/firefox /usr/bin/firefox

I hope this helps
--Ian

Ian...see my post just prior to this one...forgot it was you that suggested this.

I used aysiu's script to install, then tried to reset the link per your second code lines, but as noted, now the KMenu launch link does nothing. Suggestions?

Thanks!
Optiker

IBall 01-22-2007 07:02 PM

Try running firefox from the command line - and post any errors here.

Open the KMenu Editor (right click on the K, and select "Menu Editor") and find the entry for Firefox. Check what the executable for Firefox is.

--Ian

Optiker 01-22-2007 10:22 PM

Ian...
Run from command line - don't know how

I had changed the link in the KMenu editor, and then I think back since it didn't work. At this point, the only thing I can find that works is back in the KMenu. From KMenu editor, executable is /bin/firefox.ubuntu' but there's also a firefox1.5 in the same folder. These are both script files.

There's also a folder /home/optiker/.mozilla/firefox that contains a profile with time stamps consistent with when I ran aysiu's script to install 2.0.

Perhaps it would be best to go back to ground zero - uninstall 2.0 using aysiu's uninstall script, and uninstall 1.5 using Adept, DL the tarball and follow your process. Comments?

Thanks!
Optiker

IBall 01-23-2007 01:08 AM

You shouldn't need to uninstall firefox 1.5.

To run firefox from the command line, simply enter the command "firefox" (without the quotes). See what version starts up, and post any error messages.

--Ian


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