LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   installing firefox 2 (https://www.linuxquestions.org/questions/mandriva-30/installing-firefox-2-a-544393/)

tm2383 04-08-2007 07:08 PM

installing firefox 2
 
Hi,
I've followed Mozilla zine instructions for installing Firefox 2 on Mandriva 2007.

bash$ tar zxvf firefox-<version>.tar.gz

Now you must select the installation directory. If you are the only user, the extracted files could stay where they are, but If this is a multi-user system, the firefox directory must be moved to a publicly accessible location such as /usr/local or /opt.

bash$ su
<password>
bash# mv firefox /usr/local
bash# chown -R root:root /usr/local/firefox

The installation is more or less complete, but it's recommended that the firefox script be available somewhere in your path to avoid the inconvenience of having to enter the full path. This can be accomplished by creating a symbolic link in the relative 'bin' directory.


bash# cd /usr/local/bin
bash# ln -s ../firefox/firefox .

When I use nautilus to move to the /usr/local/firefox folder and click on 'firefox'nothing happens. When I change the command line of the firefox desktop icon to /usr/local/firefox/firefox nothing happens. When I type firefox at command prompt , the old firefox loads!

Can anyone tell me what's wrong?

Thanks again,
Tim

iHaterRegistering 04-08-2007 08:02 PM

Prolly if you cd to the firefox executable and type "./firefox" it will work. Typing firefox in the terminal runs the old firefox because its in your path but the new firefox is not.
This webpage explains the "./" thing.
http://www.itworld.com/AppDev/1455/swol-0915-unix101/
P.S. Remember if you update extensions and themes etc, you might want to back up your whole . mozilla directory and contents.

Junior Hacker 04-09-2007 12:50 AM

Mandriva 2007 has firefox 2, maybe you have the x86_64 Mandriva and want the 32bit version?

tm2383 04-09-2007 05:55 AM

Hi,
I have Mandriva Free 2007. The help menu on Firefox says it is Firefox 1 5 0 7. Maybe they have changed it recently. I am using 32 bit architecture and I have the correct Firefox downloaded. Any ideas?

Thanks,
Tim

Junior Hacker 04-09-2007 06:25 AM

Obviously you don't have your repositories set up with "easyurpmi", and/or did not apply updates. The original firefox released on the CD/DVD, is version 1.5, but if you enabled Mandriva repositories and updated your installation, you would be running firefox-2.0.0.1. Go to http://easyurpmi.zarb.org/ and set up Mandriva repositories by following instructions, do one at a time, of the selections, ex. contrib, contrib updates, main, main updates, etc. After selecting a mirror from the drop down list of one of these, hit step three, this will show you a command to enter in a terminal as root, you can copy and paste it into a terminal and hit "enter", and it will download repository data, 29MB for contrib (I think), 26MB for main etc..After one is complete hit "back" in your browser to select a mirror for the next one to have easyurpmi produce the command to put in a terminal. Once you added all repos including "backports", go to main menu/system/packaging/install, upgrade, remove packages and click on "check for updates", it will want to check the mirrors to see if you have the latest lists (that you downloaded at easyurpmi) and produce a 900MB+ list of updates since Mandriva 2007 was released. Apply all updates and you will have firefox 2.0.0.1.
You can also upgrade the kernel after by checking the list of packages.

Junior Hacker 04-09-2007 06:33 AM

At easyurpmi, leave the three drop down menus in step one the way they are and proceed to step 2. I don't know why Mandriva doesn't flash this repository information during the installation process. It was like this for me the first time I installed Mandrake/Mandriva, I didn't find out about this update process for quite some time after joining linuxquestions.org, Mandrake never dropped an email in my box telling me about this.

tm2383 04-09-2007 01:36 PM

Thanks for the reply. I will do this. I couldnt get the online updates during the installation process, as I had the ethernet connection switched off in Bios unknowingly during setup so I couldn't connect to their server for updates.

Thanks again,
tim

ernie 04-09-2007 02:47 PM

Actually, you have to set up the main_backports media source to get Mozilla Firefox 2.0.0.1. You can get help doing so at Easy URPMI

Quote:

Originally Posted by Junior Hacker
I don't know why Mandriva doesn't flash this repository information during the installation process. It was like this for me the first time I installed Mandrake/Mandriva, I didn't find out about this update process for quite some time after joining linuxquestions.org, Mandrake never dropped an email in my box telling me about this.

In answer to Junior Hacker:

Mandriva provides no support for its free version, and they have no obligation to do so. AFAICT, Easy URPMI is an independent project. I can find no indication that it is either owned or funded my Mandriva. The site maintainer has gone so far as to request that users inform him if we know of a mirror that is not listed. If this were a Mandriva project, the maintainer would not need our input. If I were Mandriva, I would not refer my users to Easy URPMI because I do not own it or have any control over the site. I would not want to create the appearance of a link with it, and I would not want my users to think I am responsible for it in any way.

My :twocents:,

Junior Hacker 04-09-2007 04:14 PM

All I'm getting at, is that Mandriva should inform us of a list of mirrors to set up as repositories for updates and extra packages that are not on the discs. Easy urpmi is just what it's name suggest, it makes it easy for us to set up our mirrors. Why does Mandriva not present a list of mirrors? During the install process for many users, we have no internet connection, maybe if we did, the install process would present a list to choose from in the step that asks if you want to include updates, but because I'm on dial-up, I have to say no to this step and usually the "no" selection is pre-selected by default for me. Why do I not get any information what so ever from Mandriva about setting up update mirrors after the installation is done? There is absolutely nothing, no information at all telling me where to go to get updates. I am left to trip on this information on my own if I don't spend a day cruising all the Mandriva links in my browser, which probably still does not give you a link to this information till you donate. I didn't install the operating system because I want know all about Mandriva and the Mandriva club and how I can give them money, I installed it to do what I normally do with a computer.

tm2383 04-09-2007 06:58 PM

Thanks for the help. I did what you suggested Junior, and everything installed fine.

Thanks,
Tim

I suppose you could'nt tell me how to install a .bin file for RealPlayer10
I made it executable using chmod a+x RealPlayer10Gold.bin , but when i ran ./RealPlayer10GOLD.bin, I was given a 'no such file or directory error' even though chmod command recognised it. There are ni upper/lower case typos and I was logged on as root and with cd to the correct Desktop (at least the same one i used to execute chmod)

Thanks,
tim

Junior Hacker 04-09-2007 07:13 PM

It appears you did everything right if you were in the same directory. Something in the back of my mind tells me I ran into the same scenario once, where moving the file into my home directory to execute it was successful, not off the desktop. Just a hunch type thing.

tm2383 04-09-2007 07:37 PM

This is the exact error:

./RealPlayer10GOLD.bin: error while loading shared libraries: libstdc++.so.5: ca nnot open shared object file: No such file or directory

I wonder if I have libraries missing and how to find it and fix it?

tim

Junior Hacker 04-09-2007 07:53 PM

Mandriva comes with gcc-4, the application you are trying to execute was built with gcc-3, you need to install compatible libstdc++ libraries (gcc-3), they will be in repositories, open the GUI software installer and type: libstdc++ in the search field at the top. It should say something like "libstdc++3-4" or similar.

Junior Hacker 04-09-2007 07:55 PM

Or you can issue command from terminal as root:

Code:

urpmi libstdc++.so.5
Just make sure the package has 3.4 in the name. These libraries are also required for java from Sun java to work in the browser. There is also an older set (2.96) or similar, if it still complains.

tm2383 04-09-2007 08:26 PM

Brilliant :-)
Realplayer is installed and working!

Thanks for the help.

Tim


All times are GMT -5. The time now is 01:07 PM.