LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   firefox/flash player (https://www.linuxquestions.org/questions/linux-newbie-8/firefox-flash-player-333674/)

edong23 06-17-2005 07:31 PM

that is a good point. isnt ubuntu debian based. cant you do like apt-get install firefox/flash or some crap like that. what version of firefox is it? what version of the os is it? and what happens when you let firefox install it. like go to a page like www.weather.com and find the flash animation that yo ucant see casue there is a puzzle piece and click it. if that doesnt work you probably need a newer version of firefox.

craigevil 06-17-2005 07:40 PM

I am running a Debian Sid install using Kanotix on a desktop and laptop, Firefox is my main browser. I updated it and installed all of the plugins using apt-get and /or Synaptic. My system is NOT 64bit however.

Plugins (8)

* Helix DNA Plugin: RealPlayer G2 Plug-In Compatible
* DjVuLibre-3.5.14
* QuickTime Plug-in 6.0, Windows Media Player Plugin are supported by mplayerplug-in
* Shockwave Flash
* MozPlugger 1.7.1
* VLC multimedia plugin
* Adobe Reader 7.0
* Java(TM) Plug-in 1.4.2_06-b03

HellSpawn 06-27-2005 05:58 PM

Quote:

Originally posted by javb
[B]the thing is that i hav 64 bits platform, and the installer is not supported,....]
There you go!!
There is no 64 bit version of Flashplayer for either Linux nor Windows system... Weĺl have to wait... yo can find more info on www.macromedia.com, it would be great if they shared their code ;)

edong23 06-27-2005 06:22 PM

thats what im sayin!! stinjy bastards... ha couldnt spell stinjy stingy stinggy hm that sucks i cant spell!!

HellSpawn 12-11-2005 09:02 AM

--reinstall
 
Quote:

Originally Posted by javb
edong23


it didnt work.. how come, isnt anybody out there with KANOTIX or UBUNTU that is trying to install firefox?

:p

thanks people who have tried to help.

There seems to be some kind of conflict with other libs... I'm not sure of this though... I had this problem and I got it working after this:

Quote:

sudo apt-get install --reinstall ia32-libs ia32-libs-gtk linux32
Still my firefox 32bits crashes sometimes... but I'm not getting any libs problems...

Orange13 05-27-2007 03:15 AM

libgtk-x11-2.0.so not found
 
The people who are giving instructions to just download the libgtk-x11 package are overlooking the fact that the libraries are already installed.
With the AMD 64-bit distribution, the situation is:
In /usr/lib, we find:

ls -l /usr/lib/libgtk-x11*

lrwxrwxrwx 1 root root 26 2007-05-21 18:31 /usr/lib/libgtk-x11-2.0.so.0 -> libgtk-x11-2.0.so.0.800.20

-rw-r--r-- 1 root root 3296832 2007-03-04 14:12 /usr/lib/libgtk-x11-2.0.so.0.800.20

But firefox still crashes on startup, claiming that it cannot find or load the shared library.

I think that is what you call a bug.

Orange13 06-08-2007 01:35 PM

Firefox and AMD64 blues
 
In message #20, javb recommended this fix:

sudo apt-get install --reinstall ia32-libs ia32-libs-gtk linux32

Alas, it does not work with Debian linux, 4.0r0 AMD64 distribution. I get this:

ROOT: sudo apt-get install --reinstall ia32-libs ia32-libs-gtk linux32
Reading package lists... Done
Building dependency tree... Done
Package ia32-libs-gtk is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package ia32-libs-gtk has no installation candidate

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

Also, I have been reading posts where some guys were saying that I should
just run the 32-bit version of Firefox so that the Macromedia Flash plugin
will work. But when I check the downloads, there is only one "i686" version
of Firefox available from Adobe's web site. I get the same thing no matter whether
I download it with my AMD64 system or an Intel Pentium. But it runs on the Pentium
with Debian 4.0r0 i386, and doesn't on the AMD 64.

I also read where somebody else said that both 32- and 64-bit versions ship in
the same package. If so, how do you determine which one gets installed and run?

Any ideas?
TIA.

Orange13 06-18-2007 03:12 PM

64-Bit flash and 64-bit Firefox
 
Okay, I'm learning more. The Debian 64-bit distribution for AMD64 systems
has both 32-bit and 64-bit libraries.
They are in /usr/lib32 and /usr/lib64.
Then there is a symbolic link from /usr/lib to /usr/lib64.

When trying to run the 32-bit version of Firefox, there is still the
problem that it crashes on startup, complaining that it cannot load
the libraries that it needs. It's looking into the /usr/lib32 directory
and not finding what it needs. Nor does it find them in the firefox
subdirectory.

Because I have another computer that is a P4 32-bit system
with current release 4.0r0 Debian, I can copy missing libraries
over to /usr/lib32.
Unfortunately, the list of missing libraries is huge.
First there are 6 libraries that need to go into the Firefox subdirectory:
libmozjs.so
libxpcom.so
libxpcom_core.so
libplds4.so
libplc4.so
libnspr4.so
then I had to creat symbolic links in /usr/lib32 to point to those libraries
in /opt/firefox... (where I put my copy of firefox).
Each time I fix one, Firefox stops complaining about that one being missing
and complains about the next one when I try to run Firefox again.
I've done 13 more that go into /usr/lib32: libgtk-x11... libgdk-x11... libatk...
and so on. I don't know how much of the 32-bit X11 system I'll have to import
to get Firefox to run in 32-bit mode.

There must be another way, or an easier way...

By the way, the wrapper didn't help any. That is, nspluginwrapper-0.9.91.4
It allows the 32-bit plugins like Flash to load into 64-bit Firefox, but they
still don't work, and don't show any movies.

jeffguy 10-15-2007 09:59 AM

AMD64 Linux HOWTO:Firefox+Java+Flash
 
I had trouble getting my AMD64 box to run firefox with the java and flash plugins. I found SwiftWeasel buggy. It would crash sometimes at gokgs.com.

When I eventually succeeded, the final process was too easy. I couldn't believe I'd spent so much time searching for it. May you find it easy, too. (I'm not at home, so please read and understand the instructions before running them, in case I left out something small, like unzipping a file)

Section 0: Setup
Step 1: Find your lib directory(s)
Figure out where your lib directories are. On my machine I have /usr/lib, /usr/lib32, and /usr/lib64. By running 'ls -l /usr' I find that /usr/lib is a link pointing to /usr/lib64, meaning the two are really the same directory. So I have two lib directories: /usr/lib and /usr/lib32. Just to be sure, I'm going to install my library files in both. In the install-java-plugin section, when you see me do something with /usr/lib and /usr/lib32, substitute your one-or-more lib directories.

Step 2: Make an installation directory
mkdir a directory where you will put firefox and the plugins
e.g. mkdir ~/Documents/firefox
I'll call this directory $FIREFOX_HOME.


Section 1: Download
Step 1: Firefox
http://www.mozilla.com/en-US/firefox/
Click Download Now.
Find the file. mv it to $FIREFOX_HOME.

Step 2: Flash
http://www.adobe.com/products/flashplayer/
Click Download Now.
Click Download .tar.gz file.

Step 3: Java Plugin
https://addons.mozilla.org/en-US/firefox/browse/
Click Plugins.
Under Java, click Install now.
Click Free Java Download.
Click Linux (self-extracting file)
Find the file. mv it to $FIREFOX_HOME

Section 2: Extract
Step 1: Firefox
cd $FIREFOX_HOME
tar zxf downloadFileName.tar.gz
rm downloadFileName.tar.gz

Step 2: Flash
cd $FIREFOX_HOME
tar zxf install_flash_player_9_linux.tar.gz
rm install_flash_player_9_linux.tar.gz

Step 3: Java Plugin
cd $FIREFOX_HOME
sh jre-6u3-linux-i586.bin
[read and accept user agreement]

Section 3: Install
Step 0 (optional?): I didn't want anything to interfere with proper installation, so before installing, I used 'apt-get remove' to remove anything I could find related to mozilla, firefox, or plugins for either. I then used 'sudo updatedb' and 'locate' to remove all remaining files related to either (of course, I did not remove any files from $FIREFOX_HOME)

Step 1: Firefox
cd $FIREFOX_HOME/firefox
mv firefox firefox.bak #This is to get rid of the 64-bit version of Fx.
sudo ln -s `pwd`/firefox-bin /usr/bin/firefox #This links the 32-bit version into your path
(Optional): Add icon into your "start menu" or "quicklaunch bar". Alternatively, you can run firefox from a terminal with the simple command: firefox

Step 2: Flash
cd $FIREFOX_HOME/install_flash_player_9_linux
ln -s `pwd`/libflashplayer.so ~/.mozilla/plugins
ln -s `pwd`/flashplayer.xpt ~/.mozilla/plugins

Step 3: Java
cd $FIREFOX_HOME/jre1.6.0_03
ln -s `pwd`/plugin/i386/ns7/libjavaplugin_oji.so ~/.mozilla/plugins
cd lib/i386
for x in *.so; do ln -s `pwd`/$x /usr/lib; ln -s `pwd`/$x /usr/lib2;done #This links the relevant libraries into your library path so they can be found.

Section 4: Test
At a command line, run
firefox
Navigate to
about:plugins
The two plugins should appear in the resultant page. :-)

HellSpawn 10-15-2007 10:59 AM

Quote:

Originally Posted by jeffguy (Post 2924850)


Section 1: Download
Step 1: Firefox
http://www.mozilla.com/en-US/firefox/
Click Download Now.
Find the file. mv it to $FIREFOX_HOME.

Correct me if I'm wrong... but That will be for running firefox 32 bits.

The original problem/idea was to run Firefox 64bit with 32bit version pluggin of Flash.

jeffguy 10-15-2007 11:09 PM

Firefox 32bit + flash + java
 
Hellspawn,
Correct -- That'll get you 32-bit Firefox with the two plugins. I'm pretty new to Linux, so getting something that simple was *very* complex for me. And I could not find a HOWTO anywhere that dealt with getting 32-bit Firefox on AMD64 linux, or with installing the plugins on that.

Please feel free to direct me to a thread more appropriate for my post.

Thanks!
Jeff

HellSpawn 10-16-2007 07:12 AM

I'm quoteing from another forum (I don't remember if the rules let me link to other forum sites)

The trick is to use a wrapper that let you run 32bit pluggins with 64bit Firfox:

Quote:

Originally Posted by nlogax (Post 2072904)
I have just installed this and it works very well (although it does cause Epiphany to freeze, necessitating 'sudo pkill npviewer.bin' to restore it).

I have amended the instructions slightly, as follows:

1. Linked to newer versions of nspluginwrapper
2. Removed creation of the symbolic link to /usr/bin/nspluginwrapper as it already existed after I installed the .debs
3. added instructions to make it work on Epiphany.


Fetching the prerequisites

1. Get the Mandrake nspluginwrapper packages (both are required)

nspluginwrapper plugin
nspluginwrapper viewer


2. Get Flash 9 from Adobe

Download Flashplayer installer


3. Unpack the installer, and locate the libflashplayer.so file


Quote:
e.g. tar xvfz install_flash_player_9_linux.tar.gz



4. Install the 32 bit wrapper (linux32), IA32 libraries and the package conversion tool (alien)

Quote:
sudo apt-get install linux32 alien ia32-libs lib32asound2 lib32ncurses5 ia32-libs-sdl ia32-libs-gtk gsfonts gsfonts-x11


5. Proceed with installation for Mozilla-based browsers

Quote:
sudo alien -d nspluginwrapper*.rpm
sudo dpkg -i nspluginwrapper*.deb
sudo mkdir /usr/lib/mozilla/plugins32
sudo cp {path to}/libflashplayer.so /usr/lib/mozilla/plugins32
sudo nspluginwrapper -i /usr/lib/mozilla/plugins32/libflashplayer.so


6. Making the plugin available for Firefox

Quote:
sudo ln -s /usr/lib/mozilla/plugins/npwrapper.so /usr/lib/mozilla-firefox/plugins/
sudo ln -s /usr/lib/mozilla/plugins/npwrapper.libflashplayer. so /usr/lib/mozilla-firefox/plugins/


7. ...and for Epiphany

Quote:
sudo ln -s /usr/lib/mozilla/plugins/npwrapper.so /usr/lib/epiphany/2.16/plugins/
sudo ln -s /usr/lib/mozilla/plugins/npwrapper.libflashplayer. so /usr/lib/epiphany/2.16/plugins/


Orange13 10-16-2007 11:56 PM

Flash doesn't work
 
message deleted, pending further testing.


All times are GMT -5. The time now is 03:29 AM.