You are not logged in.

#1 2008-04-25 08:48:05

Barghest
Member
From: Hanau/Germany
Registered: 2008-01-03
Posts: 563

How to replace firefox2 with firefox3

Hi,

when firefox2 was released I ran into trouble with my unbuntu-machine after upgrading from 1.5 (didn't exactly know what I did ^^)

Now I feel it's time to upgrade my ff2 to ff3, even it is still beta.

How do I go about this without wrecking up my system?

Thanks

Offline

#2 2008-04-25 09:27:57

KimTjik
Member
From: Sweden
Registered: 2007-08-22
Posts: 715

Re: How to replace firefox2 with firefox3

You could temporarily in "pacman.conf" remove the "#" from the "unstable" repository. Run "pacman -Sy firefox3" and it will install Firefox3. It won't remove version 2 and they can both be used without any issues (some add-ons though aren't ready for Firefox3). To make it your default browser you have to adjust the command used, for Firfox3 it will logically be firefox3 smile.

WARNING! If you temporarily activate "unstable" don't forget to unactive after Firfox3 or some other wanted applications is installed.

Last edited by KimTjik (2008-04-25 09:29:10)

Offline

#3 2008-04-25 10:17:35

[DoodoM]
Member
From: Bilbao/Spain
Registered: 2008-04-25
Posts: 13

Re: How to replace firefox2 with firefox3

This is how I did it (manually, not through repositories):

Login as root with sudo -s or su root and type this:

# wget http://laotzu.acc.umu.se/pub/mozilla.org/firefox/releases/3.0b5/linux-i686/en-US/firefox-3.0b5.tar.bz2
(Choose the mirror of your preference if you want and remember to change en-US with the locale from your language)
# tar -xf firefox-3.0b5.tar.bz2
# mv /usr/bin/firefox /usr/bin/firefox-2.0.0.14
# mv firefox /usr/lib/firefox-3.0b5
# rm /usr/lib/firefox
# ln -s /usr/lib/firefox-3.0b5 /usr/lib/firefox
# ln -s /usr/lib/firefox-3.0b5/firefox /usr/bin/firefox

Done! lol

Now launch Firefox as usually and you will use the Firefox 3.0b5.

Remember to symlink your plugins. For example for flash plugin:

# ln -s /usr/lib/mozilla/plugins/libflashplayer.so /usr/lib/firefox/plugins/libflashplayer.so

Last edited by [DoodoM] (2008-04-25 10:18:43)

Offline

#4 2008-04-25 11:01:42

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: How to replace firefox2 with firefox3

erm, or easier, uncomment testing, leave it at the end of your pacman.conf and pacman -Sy firefox3

No need to re-comment it again, stuff will only install from unstable if you request it -- nothing there shares names with anything else so they won't be pulled in on update.

Offline

#5 2008-04-25 11:09:30

SpookyET
Member
Registered: 2008-01-27
Posts: 410

Re: How to replace firefox2 with firefox3

http://aur.archlinux.org/packages.php?ID=15184  will replace your ff2 with ff3. There is no need to do work. Binary available in comments.

Offline

#6 2008-04-25 11:50:40

KimTjik
Member
From: Sweden
Registered: 2007-08-22
Posts: 715

Re: How to replace firefox2 with firefox3

iphitus wrote:

erm, or easier, uncomment testing, leave it at the end of your pacman.conf and pacman -Sy firefox3

No need to re-comment it again, stuff will only install from unstable if you request it -- nothing there shares names with anything else so they won't be pulled in on update.

But Firefox3 isn't in testing yet as far as I can see, or if doing a "pacman -Ss". Thanks for the tip about unstable not sharing any package-names. I missed that piece of information so I've always been careful... but I suppose it's better to be too careful than the opposite.

Offline

#7 2008-04-25 15:19:16

slackhack
Member
Registered: 2004-06-30
Posts: 738

Re: How to replace firefox2 with firefox3

it would be cool if you could override the pacman repositories on the command line and install from wherever you specify without having to change the conf file. like in debian you can do apt-get install -t sid <package>, and it will install that package from sid even if your apt.conf is set for unstable.

# pacman -Sx testing firefox3 ??? big_smile

Offline

#8 2008-04-25 15:24:16

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: How to replace firefox2 with firefox3

slackhack.. you can do that. Just uncomment them all, and place testing at the bottom. If core/extra are above testing in pacman.conf, pacman will prioritise them first.

Then pacman -S testing/sometestingpackage - though beware that running a partial testing system can cause problems, particularly if there's a large rebuild in progress.

And uh yeah, firefox3 isnt in testing, that's a typo smile I meant unstable.

Offline

#9 2008-04-25 15:50:49

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,094

Re: How to replace firefox2 with firefox3

KimTjik wrote:

WARNING! If you temporarily activate "unstable" don't forget to unactive after Firfox3 or some other wanted applications is installed.

^ Wrong ^

Unlike testing, unstable won't mess up your system if you -Syu, cause the pkg's got different names than the ones in core/extra.

Also, if you have it at the bottom, it won't matter anyway, cause pacman installs the first pkg it sees.

Edit: btw, here is a little something to remember:

Unstable isn't,
Testing is

Last edited by Mr.Elendig (2008-04-25 15:51:59)


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#10 2008-04-25 20:19:23

shining
Pacman Developer
Registered: 2006-05-10
Posts: 2,043

Re: How to replace firefox2 with firefox3

Mr.Elendig wrote:
KimTjik wrote:

WARNING! If you temporarily activate "unstable" don't forget to unactive after Firfox3 or some other wanted applications is installed.

^ Wrong ^

Unlike testing, unstable won't mess up your system if you -Syu, cause the pkg's got different names than the ones in core/extra.

Also, if you have it at the bottom, it won't matter anyway, cause pacman installs the first pkg it sees.

Edit: btw, here is a little something to remember:

Unstable isn't,
Testing is

By the way : http://www.archlinux.org/pipermail/arch … 05870.html


pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))

Offline

#11 2008-04-25 20:21:36

Misfit138
Misfit Emeritus
From: USA
Registered: 2006-11-27
Posts: 4,189

Re: How to replace firefox2 with firefox3

Yes, yes. All correct. Unstable is perfectly safe, but disappearing it seems. (Packages to be broken up amongst extra and aur apparently.)
Some interesting changes coming soon I think..

Offline

#12 2008-04-25 20:23:41

Misfit138
Misfit Emeritus
From: USA
Registered: 2006-11-27
Posts: 4,189

Re: How to replace firefox2 with firefox3

slackhack wrote:

it would be cool if you could override the pacman repositories on the command line and install from wherever you specify without having to change the conf file.

Just do

pacman -S repo/ package

Works perfectly. smile

Offline

#13 2008-05-11 12:07:46

safran
Member
From: Vienna, Austria
Registered: 2008-01-12
Posts: 17
Website

Re: How to replace firefox2 with firefox3

probably related question: i got myself ff3-branded from aur. it took over all my local prefs and it has proved to be stable and fast so i use it for default now. can i now safely remove firefox2 with -Rs?

Offline

#14 2008-05-11 12:45:36

finferflu
Forum Fellow
From: Manchester, UK
Registered: 2007-06-21
Posts: 1,899
Website

Re: How to replace firefox2 with firefox3

I use Firefox3 only (from [unstable]), and Firefox2 is not even installed. Everything works perfectly, I don't really know about the ff3-branded package, but I guess if it's just a minor tweak (i.e. getting the trademarked version) it doesn't make much of a difference from the one in the repos.


Have you Syued today?
Free music for free people! | Earthlings

"Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away." -- A. de Saint-Exupery

Offline

#15 2008-05-11 14:22:44

safran
Member
From: Vienna, Austria
Registered: 2008-01-12
Posts: 17
Website

Re: How to replace firefox2 with firefox3

yeh, branded is just the branded version smile so i have dumped ff2 now, but the systemwide configuration stayed in place (if there was any). all i had to do was to redirect the symbolic link in the binaries folder. cheers!

Offline

Board footer

Powered by FluxBB