LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   Firefox 3 on Fedora 7 (https://www.linuxquestions.org/questions/fedora-35/firefox-3-on-fedora-7-a-650838/)

rithik_ghoshal 06-22-2008 02:01 AM

Firefox 3 on Fedora 7
 
I am using fedora 7 and trying to install firefox 3. I have downloaded 'firefox-3.0.tar.bz2' from here ,then un-tur that file.
I can't get what should I do next.. That directory contains some *.so files ,a firefox-bin file , a run-mozilla.sh file and some others. I tried to execute them which results :

Quote:

[ritwik@ritwik ~]$ cd /home/ritwik/Desktop/firefox
[ritwik@ritwik firefox]$ ./firefox-bin
./firefox-bin: error while loading shared libraries: libjemalloc.so: cannot open shared object file: No such file or directory
[ritwik@ritwik firefox]$ ./run-mozilla.sh

run-mozilla.sh: Cannot execute .
'libjemalloc.so' --- that shared object file was present in that directory , but that error was coming !!

Please help me solve this issue.

I am sorry if I am posting in a wrong forum ... 'software' section may be more suitable... in that case I will request the administrators to kindly move this post.

MensaWater 06-22-2008 02:08 AM

Haven't done 3 yet but worked this out for 2.x versions so probably same for 3:

Difference to be noted is this was based on tar.gz files and you said you have a tar.bz2 file. Instead of "z" for the tar command you'd use "j" (e.g. tar xzvf below should be changed to tar xjvf) to handle the bzip2 format.

Quote:

To install Firefox or Thunderbird on Linux:

Download the tar.gz package from www.mozilla.org

Look in /usr/lib to see if an earlier package exists - if it doesn't have version number suffix you may need to save it.

Unbundle the package to /usr/lib:
e.g.
cd /usr/lib
tar xzvf /root/thunderbird.2.0.0.0.tar.gz

This should create a directory with the install usually without the version.
e.g.
/usr/lib/thunderbird

So you'll know later you should renamed the directory with the version:
e.g.
mv /usr/lib/thunderbird /usr/lib/thunderbird.2.0.0.0

Make a link (check for existing executable first and save it if desired):
e.g.
which thunderbird
Shows: /usr/bin/thunderbird
mv /usr/bin/thunderbird /usr/bin/thunderbird.old
ln -s /usr/lib/thunderbird.2.0.0.0/thunderbird /usr/bin/thunderbird

At that point you should just be able to start the application by typing the command at the prompt:
e.g.
thunderbird

billymayday 06-22-2008 02:10 AM

Have you tried installing with yum instead?

yum install firefox

or a simple yum update may suffice. Firefox 3 has been added to the repositories for F9, but I don't know about F7

decrepit 06-22-2008 05:45 AM

firefox is probably all ready installed but version 2.
Think it's only the 9 repos that have version 3, the earlier ones will still have version 2.

Not sure if it's possible/wise to add the core9 repos so that yum can install the later version.
Don't think I'd try it with out an experts opinion.

But back to the original question, from what I've read, there should be a "read me" file in the tar file, that may shed some light on proceedings.

mickeyboa 06-22-2008 11:54 AM

Try the yum method instead or get xulrunner and firefox-3 packages from
http://rpms.famillecollet.com/fc8.i386/repoview/. I got no problem w/
that (and firefox3 stands besides to firefox2, no conflict unless you
want to return to ffx2).



And to getting FlashPlayer working follow these instructions :

Indeed there are substitutes and alternatives, but IHMO / experience,
> none of them are as good as Flash 9.
>
> The way I got this to work reliably on 64-bit F9 was to read and follow
> the instructions on Section 10.5.1 of the F9 Release Notes. You can even
> copy / paste the specific commands to complete the task if you like.
>
> For the sake of convenience, the F9 US English Release Notes are found
> at:
>
> http://docs.fedoraproject.org/release-notes/f9/en_US/

I had no problems in FC8 using the FC9 instructions.

shafty023 06-23-2008 12:02 AM

rithik_ghoshal, please do the following as root user.

1) mv firefox-3.0.tar.bz2 /opt
2) cd /opt
3) tar xjf firefox-3.0.tar.bz2
4) Check if /usr/lib/firefox already exists and if it is a symlink or directory. IE: "ls -l /usr/lib/firefox"
If it exists then do "mv /usr/lib/firefox /usr/lib/firefox.old"
Then do "ln -s /opt/firefox /usr/lib/firefox"

You should now have your default firefox binary pointing to your new installation where you can run /usr/bin/firefox and it will launch firefox.

MensaWater 06-23-2008 08:27 AM

Quote:

Originally Posted by shafty023 (Post 3192259)
rithik_ghoshal, please do the following as root user.

1) mv firefox-3.0.tar.bz2 /opt
2) cd /opt
3) tar xjf firefox-3.0.tar.bz2
4) Check if /usr/lib/firefox already exists and if it is a symlink or directory. IE: "ls -l /usr/lib/firefox"
If it exists then do "mv /usr/lib/firefox /usr/lib/firefox.old"
Then do "ln -s /opt/firefox /usr/lib/firefox"

You should now have your default firefox binary pointing to your new installation where you can run /usr/bin/firefox and it will launch firefox.

Which is essentially what I was telling him.

shafty023 06-23-2008 12:53 PM

Quote:

Originally Posted by jlightner (Post 3192598)
Which is essentially what I was telling him.

Ya but people who don't understand how to untar a file, and run the underlying binary will most likely need the instructions written with the same filename they are using. Your instructions, while correct, was written using "Thunderbird" as the application. A newb would see that and write something like "but I'm talking about firefox". Either way we'll have to wait and see if this person understands any of what we explained

jlo_sandog 06-24-2008 02:24 AM

You need the remi.repo

http://blog.famillecollet.com/pages/Config-en

rithik_ghoshal 06-25-2008 02:02 AM

Thank you all for your help and support. I am extremely sorry as I am replying really too late.

@shafty023, Thanks a lot for understanding the problem of the newbie and your solution worked fine for me to install firefox 3 in my system. I really don't know what's the difference between using the graphical window to extract a *.tar.bz2 file and using the command "tar xjf *.tar.bz2".Please let me know.

Running the underlying binary was really unwise , actually I was trying everything possible..

Thank you again !!!

shafty023 06-25-2008 09:05 AM

Quote:

Originally Posted by rithik_ghoshal (Post 3194356)
Thank you all for your help and support. I am extremely sorry as I am replying really too late.

@shafty023, Thanks a lot for understanding the problem of the newbie and your solution worked fine for me to install firefox 3 in my system. I really don't know what's the difference between using the graphical window to extract a *.tar.bz2 file and using the command "tar xjf *.tar.bz2".Please let me know.

Running the underlying binary was really unwise , actually I was trying everything possible..

Thank you again !!!

No problem glad I could help. There really is no difference between using the graphical window and using the tar command in a terminal. Except that in a terminal window you can use root to place it in a root owned directory like /opt whereas the graphical window is being run by an unprivileged user which doesn't have write access to /opt. Just means you'd need to add a couple steps to move it.

The place you were having an issue is you were trying to run the wrong binaries. You don't run ./firefox-bin or ./run-mozilla.sh . You should have run ./firefox . But since we created the symlink you can now use /usr/bin/firefox or better yet you can just type "firefox" and it will launch Firefox.

bendib 12-20-2009 04:33 PM

You execute the file firefox, not firefox-bin. This will not copy it to /usr/lib/blah, but it will run it OK. If you want it in the old folder, back up your old folder, then delete the contents of the firefox folder, not the folder, and copy the new files there. You will have to do this as root, to get into Nautilus in root mode...

su -
nautilus --browser /usr/lib

Of course, you probably knew that. Just in case you are a noob.
Keep in mind Firefox 3.5 can act weird under fedora 7, so make sure you keep your old version, or reinstall it if it acts up.

John VV 12-20-2009 07:01 PM

bendib ??? did you realize that THE LAST POST BEFORE YOURS is 1.5 years OLD !06-25-08, 10:05 AM
and fedora 7 is WAY past it's "end of life" and unsupported !


All times are GMT -5. The time now is 06:25 PM.