LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How can I upgrade the Mozilla browser? (https://www.linuxquestions.org/questions/linux-newbie-8/how-can-i-upgrade-the-mozilla-browser-140982/)

minotaur_6 02-01-2004 09:05 AM

How can I upgrade the Mozilla browser?
 
I would only like to upgrade the existing Mozilla version 1.4.1 on my Fedora kernel, to version 1.6, rather that installing the newer version in another directory...

is there a way of doing so?

Thank you for your help

M.

david_ross 02-01-2004 10:45 AM

Not really, just put it in a new directory then symlink the executeables to your path somewhere.

quartertone 02-01-2004 10:47 AM

I'd also like to know this as well. I'm on RH9.0, and recently downloaded and installed Mozilla 1.6 without really thinking of the consequences (I've been doing that a lot recently...). The result of this was that my old version (1.2.1) of mozilla got replaced (as far as I can tell) and now /usr/bin/mozilla will run the new version, located in /usr/loca/mozilla-bin. The problem is that (in GNOME) if I launch mozilla, either by clicking its icon or clicking a link in an email, for example, when there is already a mozilla session running, I get asked to choose a profile. Before my installation of 1.6, it just defaulted to the most recently used browser window or opened a new window under the same profile.

I thought of trying rpm -e mozilla (which would uninstall 1.2.1, but i noticed a whole bunch of dependencies of "mozilla = 1.2.1-26 is needed by ...". What to do? Anyone else ever encounter this?

q

PipeCrawler 02-01-2004 11:09 AM

rpm -Uvh
 
Download rpm files for all the mozilla 1.6.x and type rpm -Uvh mozilla*.rpm. and then just lay back and enjoy :-)

:) :) :) :) :) :) :)

minotaur_6 02-01-2004 12:34 PM

it's be more usefull to tell us what this command does than tell us to sit back and enjoy..lol

ths for the tips anyways...the reason why i don't want to simply "addA another mozilla installation is that i want to avoid having so much software on my hard drive taking up space...i could also download and install mozilla firebird, netscape and every other browser i can find...i ONLY need one, not an old 1.4.1 mozilla AND a new one installed someplace else,,,

my disk space is valuable :P

M.

Atmchicago 02-01-2004 12:36 PM

-Uvh upgrades the existing version to the rpm's version.

I believe man rpm will tell you all you need to know about rpm and its usage.

nightjar 02-01-2004 12:42 PM

Quote:

Originally posted by minotaur_6
it's be more usefull to tell us what this command does than tell us to sit back and enjoy..lol
M.

If you run
rpm --help you cn see all the options

U=update
v=verbose
h= print hash marks (####)

:D

eeried 02-01-2004 01:05 PM

Hello,

I thought if you want to install the latest version of Mozilla (or Mozilla Firebird or thunderbird) you ought to remove the former version first. Same thing with OpenOffice.org.

Instructions for Mozilla installation from the tar.gz files (one has an installer , the other hasn't) can be found in the release notes. They don't explain every command but the instructions look right.

I haven't installed it because I'm not sure I've got the right libraries, and I hate the thought of removing my old version of Mozilla and find I can't run the new one.

I don't know about rpm but i suppose the package installs the right libraries.

PipeCrawler 02-01-2004 01:24 PM

OK.
sorry for my first short answer :-)
rpm = redhatpacketmanager it's a tool to install rpm packages in redhat and fedora and even in slackware if you like. the command rpm -Uvh tells rpm to Upgrade, and rpm -ivh tells rpm to install an rpm pakage, if you would like to try a different kernel ex. kernel 2.6.1 then you give command rpm -ivh kernel 2.6.1.rpm, and it vill install alonge side of your'e other kernel,while rpm -Uvh kernel..... will upgrade you're kernel to the new one, for you and your'e Redhat or fedoras sake dont install apps that come in tar.gz because the rpm is using a database and if you dont install with rpm then the database will not be updated. instead you can use yum or synaptic,
this will ease things when you later maybe will uninstall apps.
about firebird : i downloaded it and unpakt it and that was it, it lives in its own mapping so you dont need to install anything, try it you like it :-)

vectordrake 02-01-2004 10:17 PM

If it sucks too much, you can replace Fedora with Debian and point your sources.list to the 'unstable' tree (which aint that unstable) and apt-get install mozilla

Its a thought. After playing with deb, rpm, and tgz, I think I prefer deb. The upkeep is easier. Up to you. Good luck.

redratio1 04-03-2004 03:52 PM

Forgive my Linux n00biness

Ok, so there is no easy way to uninstall mozilla 1.4.1 so I can install mozilla 1.7b?
It says I should not install over it.

Using the gnome add/remove applications doesn't really help because there are dependnecies, and for some reason Fedora required some lib to be installed for me to uninstall mozilla.

Yes, I'm confused.
I guess I should say "the heck with it," and install 1.7b along side 1.4.1, however, I really would like to learn Linux, and that means I want to learn how to do things properly.

Can some one help?

BTW I know how to gunzip, rpm, and tar and all that. I just don't know the consequence of doing so in this particular instance.

vectordrake 04-03-2004 04:28 PM

if you can get the newer version as an rpm, you should just be able to install it. The upgrade will happen automatically. I've used Mandrake for some time. Its rpm-based and I haven't had a problem with installs or upgrades. And, yes, some packages depend on Mozilla (like Epiphany) but if you don't use these things, you won't miss them. More likely than not, you'll be required to upgrade these things with your Mozilla install. Then it won't matter, will it.

Atmchicago 04-03-2004 04:52 PM

When I used rehdhat i kind of learned to screw dependencies. I believe there are two flags that are useful: something like "force" and "nodep"... haven't used rpm in a while, but basically they install/uninstall rpms rergardless of the dependencies. So remove 1.4, then add 1.7b.

redratio1 04-03-2004 04:57 PM

Great replies, thanks guys!

Ok sum it up here:
1. Screw the dependencies for mozilla.
2. Download an rpm version of mozilla 1.7 NOT an installer app.
3. Use rpm -e mozilla.rpm to remove 1.4.1
3. Use rpm -ivh moz*.rpm on the new mozilla package to install it

Is that about right?

vectordrake 04-03-2004 05:03 PM

should work. if not, it'll tell you what's needed and you can google it. You might want to install apt-rpm or yum so you can have a decent chance opf getting all the right stuff. I haven't found a good reason to ever try Redhat again. It was the first distro I tried and it was frought with problems for me and I was clueless. I went with Debian (which they said was hard) and it installed without a hitch and upgraded easily as well. Mandrake's urpmi is a close second and I like what's offered, so I choose both. Since Fedora doesn't seem to have a manual, i tried to find a good explanation in the Redhat 9 docs.

All I can say is no wonder people are here asking questions (and why Redhat referrs you here as well...). Wow.

redratio1 04-03-2004 05:07 PM

lol, thanks.

Atmchicago 04-03-2004 05:39 PM

As a tip, always use rpm -Uvh -- u is for upgrade, but will install if it isn't there to upgrade.

If moz 1.7 doesn't run because of dependenices then try to find whatever dependencies it needs and install those. They should also be rpms for those.

For me, slackware packages work great. I heartily recommend you try out slack as your next distro... (/rant) Redhat was also my first distro, and I found rpm dependencies to be so freaking annoying. (/rant off)

Anyway, good luck.

phlyersphan 07-09-2004 12:58 AM

Quote:

Originally posted by quartertone
I'd also like to know this as well. I'm on RH9.0, and recently downloaded and installed Mozilla 1.6 without really thinking of the consequences (I've been doing that a lot recently...). The result of this was that my old version (1.2.1) of mozilla got replaced (as far as I can tell) and now /usr/bin/mozilla will run the new version, located in /usr/loca/mozilla-bin. The problem is that (in GNOME) if I launch mozilla, either by clicking its icon or clicking a link in an email, for example, when there is already a mozilla session running, I get asked to choose a profile. Before my installation of 1.6, it just defaulted to the most recently used browser window or opened a new window under the same profile.

I thought of trying rpm -e mozilla (which would uninstall 1.2.1, but i noticed a whole bunch of dependencies of "mozilla = 1.2.1-26 is needed by ...". What to do? Anyone else ever encounter this?

q

Some good advice in this thread, but i've already done what quartertone did (above) with the same results in KDE.

The mozilla.org site says for uninstallation to simply remove the original mozilla folder (i installed 1.7 into a new folder, mozilla1.7). I'm afraid to just willy-nilly delete it, as all of KDE and my apps seem to think the old install is the default....

How can I point my apps (evolution for example) to use the new mozilla to open links instead of the old one? And then, how do I remove the old one?

Thanks!!

Atmchicago 07-09-2004 04:29 PM

Make a symbolic link in /usr/bin to the mozilla executable. Then just tell evolution to run "mozilla" - it will automatically look in /usr/bin, and be redirected to wherever the link goes. Remove the link and you can make a new one to somewhere else.

Like so:

(assuming /usr/bin/mozilla isnt taken or is not a symbolic link)

% ln -s /path/to/mozilla/mozilla /usr/bin/mozilla

just run 'mozilla' - test it in the command line.

If you want to change where it points to,

% rm /usr/bin/mozilla

% ln -s /new/path/mozilla/mozilla /usr/bin/mozilla

phlyersphan 07-09-2004 05:33 PM

Thanks atmchicago -that did the trick! My apps are now calling up mozilla 1.7 properly.

My quirk now is in the profiles... I (probably incorrectly) setup a new profile folder in my home directory called .mozilla1.7 when I installed the new version, because it said not to install the new version over the old one, and I figured I'd keep it separate until I knew the new one worked (at which time I'd remove the old installation).

So I have 2 folders that store profiles - .mozilla, and .mozilla1.7. The oddity is that even though I had specified the 1.7 folder when I installed version 1.7, it seems to have gone back to using the .mozilla folder for its profiles. That's if I invoke mozilla from the GUI (either from the application button on my taskbar, or from an email message, etc). But if I invoke mozilla from the command line, I get the proper version - 1.7 - but the old profile (which I've determined is being read from the new 1.7 profile folder). It's odd.

I rarely invoke mozilla from the command line anyway, so this is no big deal. Just a curiousity! :)

Thanks for the help!!

phlyersphan 07-09-2004 06:27 PM

Hmm the quirk is bigger than I thought -

When I click an email link to open mozilla, it only works if I don't already have mozilla opened up. Otherwise (if I already have a browser window open), it tells me the profile is already in use and I must make another.

Hmmm... any ideas? Mind boggling, I tell you! :)

Atmchicago 07-10-2004 01:11 AM

I also ge the profile stuff (with firefox)... not much you can do about that, I think... or can you?

vectordrake 07-10-2004 12:05 PM

Used to be a bug for all versions. Now it seems to be a bug for Linux only. Perhaps they will address it some day (I addressed it by using Opera. LOL).

phlyersphan 07-10-2004 04:43 PM

Yep, I found it as a listed bug on bugzilla.mozilla.org, #246077.

Ugh!

phlyersphan 07-27-2004 05:13 PM

Regarding the bug of only being able to open one user session at a time in mozilla - I found some wrapper scripts that work well as a workaround (until the bug is fixed).

http://www.linuxquestions.org/questi...a&pagenumber=3

See my post in that thread - I used smither's script and it worked. Now I can open URL's from other programs (such as email) without the profile box coming up. The links open in a new window under the existing mozilla session.


All times are GMT -5. The time now is 11:24 PM.