Ramblings about Debian GNU/Linux
Howto get Adobe Flash working in Debian amd64
Posted 06-22-2010 at 01:52 PM by craigevil
Updated 02-16-2021 at 12:53 PM by craigevil (Flash is OEL)
Updated 02-16-2021 at 12:53 PM by craigevil (Flash is OEL)
Tags 64bit flash, amd64, flash debian
Flash player's support has ended of December 31 2020, and the plugin will not work anymore on January 12 2021
See the Debian wiki pagehttps://wiki.debian.org/FlashPlayer
As most people are aware Adobe has stopped support for Flash on 64bit, no one knows for how long. Do not use the 64bit flash beta, it has major security problems.
Adobe Labs - Downloads: Flash Player 10 for 64-bit Linux
http://wiki.debian.org/FlashPlayer#A64bitor32bitonamd64
At this point flashpugin-nonfree is useless on amd64. Adobe no longer supports the 64 bit player. See this bug report http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=586273
So for now we are back to either using nspluginwrapper or using 32bit flash in chroot. For the 32bit chroot follow the steps in the AMD64 HOWTO from the wiki above.
Howto get flash working in 64bit using nspluginwrapper:
First add the debian-multimedia.org repo to your sources.list, as root do
Note: Use the proper repo for the debian release you are running.
deb http://www.debian-multimedia.org lenny main non-free
deb http://www.debian-multimedia.org squeeze main non-free
deb http://www.debian-multimedia.org sid main non-free
You can also use one of the mirrors: http://debian-multimedia.org/debian-m.php
You need to have contrib in your Debian sources line in order to be able to install nspluginwrapper so make sure you have something like:
deb http://http.us.debian.org/debian/ lenny main contrib non-free
Download the gpg key for apt
Install the keyring
Update aptitude or apt-get if you prefer
Install the 32bit libs
Install flashplayer-mozilla
Restart any browsers you had open and you are good to go.
If you are using Pulse Audio take a look at:
http://forums.debian.net/viewtopic.php?f=16&t=53036
The Browser Crashes/Freezes with 32-bit flash plugin and nspluginwrapper are solved under the latest Firefox builds.
As Suggested in Launchpad nspluginwrapper page, You've to enable:
in about:config
Plugin-container and out-of-process plugins http://kb.mozillazine.org/Plugin-con...rocess_plugins
In Firefox 3.6.4 and above, a plugin hang detector determines when an out-of-process plugin or plugin script has stopped responding, so that Firefox can terminate the plugin. The time period that must pass before the plugin is assumed to be locked up is set in the preference dom.ipc.plugins.timeoutSecs (the default is 45 seconds in Firefox 3.6.6). [12] When Firefox terminates a plugin that is no longer responding, you will see the "plugin has crashed" error dialog shown above. To prevent Firefox from terminating plugins it considers non-responsive, set
If you continue to have problems with Firefox crashing or flash videos running slow try this:
Edit /usr/lib/nspluginwrapper/i386/linux/npviewer
and change:
export GDK_NATIVE_WINDOWS=1
to
export GDK_NATIVE_WINDOWS=true firefox
Another method to get Flash working from the Debian Wiki.
FlashPlayer - Debian Wiki
FlashPlayer - Debian Wiki
Ubuntu and friends:
AMD64/FirefoxAndPlugins - Community Ubuntu Documentation
https://help.ubuntu.com/community/AM...efoxAndPlugins
See the Debian wiki pagehttps://wiki.debian.org/FlashPlayer
As most people are aware Adobe has stopped support for Flash on 64bit, no one knows for how long. Do not use the 64bit flash beta, it has major security problems.
Adobe Labs - Downloads: Flash Player 10 for 64-bit Linux
Quote:
We have temporarily closed the Labs program of Flash Player 10 for 64-bit Linux, as we are making significant architectural changes to the 64-bit Linux Flash Player and additional security enhancements. We are fully committed to bringing native 64-bit Flash Player for the desktop by providing native support for Windows, Macintosh, and Linux 64-bit platforms in an upcoming major release of Flash Player. We intend to provide more regular update information on our progress as we continue our work on 64-bit versions of Flash Player. Thank you for your continued help and support.
Quote:
64 bit or 32 bit on amd64
Lenny (stable), Squeeze (testing), Sid (unstable): The 32 bit version of Adobe Flash Player 10 is installed on i386. The 64 bit version of Adobe Flash Player 10 (still in Adobe labs) is installed on amd64. Users of amd64 who prefer to use the 32 bit version of Adobe Flash Player 10 can install a browser and the 32 bit plugin in an i386 chroot as well described in the AMD64 HOWTO
Security considerations
Users of Adobe Flash Player should follow security bulletins and advisories published at http://www.adobe.com/support/security/ .
Are OK now:
* 32 bit player of flash player 10 on i386 systems : 10.1.53.64
* 32 bit player of flash player 10 on amd64 systems via chroot : 10.1.53.64
* 32 bit player of flash player 9 on i386 systems : 9.0.277.0
* 32 bit player of flash player 9 on amd64 systems via nspluginwrapper : 9.0.277.0
Are not yet OK:
* 64 bit player on amd64 systems : 10.0.45.2
Users of the 64 bit player on amd64 systems are advised to switch to the 32 bit player, at least until Adobe has released a fixed 64 bit player.
Lenny (stable), Squeeze (testing), Sid (unstable): The 32 bit version of Adobe Flash Player 10 is installed on i386. The 64 bit version of Adobe Flash Player 10 (still in Adobe labs) is installed on amd64. Users of amd64 who prefer to use the 32 bit version of Adobe Flash Player 10 can install a browser and the 32 bit plugin in an i386 chroot as well described in the AMD64 HOWTO
Security considerations
Users of Adobe Flash Player should follow security bulletins and advisories published at http://www.adobe.com/support/security/ .
Are OK now:
* 32 bit player of flash player 10 on i386 systems : 10.1.53.64
* 32 bit player of flash player 10 on amd64 systems via chroot : 10.1.53.64
* 32 bit player of flash player 9 on i386 systems : 9.0.277.0
* 32 bit player of flash player 9 on amd64 systems via nspluginwrapper : 9.0.277.0
Are not yet OK:
* 64 bit player on amd64 systems : 10.0.45.2
Users of the 64 bit player on amd64 systems are advised to switch to the 32 bit player, at least until Adobe has released a fixed 64 bit player.
So for now we are back to either using nspluginwrapper or using 32bit flash in chroot. For the 32bit chroot follow the steps in the AMD64 HOWTO from the wiki above.
Howto get flash working in 64bit using nspluginwrapper:
First add the debian-multimedia.org repo to your sources.list, as root do
Code:
echo "deb http://www.debian-multimedia.org squeeze main non-free" >> /etc/apt/sources.list
deb http://www.debian-multimedia.org lenny main non-free
deb http://www.debian-multimedia.org squeeze main non-free
deb http://www.debian-multimedia.org sid main non-free
You can also use one of the mirrors: http://debian-multimedia.org/debian-m.php
You need to have contrib in your Debian sources line in order to be able to install nspluginwrapper so make sure you have something like:
deb http://http.us.debian.org/debian/ lenny main contrib non-free
Download the gpg key for apt
Code:
wget http://www.debian-multimedia.org/pool/main/d/debian-multimedia-keyring/debian-multimedia-keyring_2008.10.16_all.deb
Code:
dpkg -i debian-multimedia-keyring_2008.10.16_all.deb
Code:
aptitude update
Code:
aptitude install ia32-libs ia32-libs-libnss3 ia32-libs-libcurl3 libcurl3 nspluginwrapper
Code:
aptitude install flashplayer-mozilla
Restart any browsers you had open and you are good to go.
If you are using Pulse Audio take a look at:
http://forums.debian.net/viewtopic.php?f=16&t=53036
The Browser Crashes/Freezes with 32-bit flash plugin and nspluginwrapper are solved under the latest Firefox builds.
As Suggested in Launchpad nspluginwrapper page, You've to enable:
Code:
dom.ipc.plugins.enabled true
Plugin-container and out-of-process plugins http://kb.mozillazine.org/Plugin-con...rocess_plugins
In Firefox 3.6.4 and above, a plugin hang detector determines when an out-of-process plugin or plugin script has stopped responding, so that Firefox can terminate the plugin. The time period that must pass before the plugin is assumed to be locked up is set in the preference dom.ipc.plugins.timeoutSecs (the default is 45 seconds in Firefox 3.6.6). [12] When Firefox terminates a plugin that is no longer responding, you will see the "plugin has crashed" error dialog shown above. To prevent Firefox from terminating plugins it considers non-responsive, set
If you continue to have problems with Firefox crashing or flash videos running slow try this:
Edit /usr/lib/nspluginwrapper/i386/linux/npviewer
and change:
export GDK_NATIVE_WINDOWS=1
to
export GDK_NATIVE_WINDOWS=true firefox
Another method to get Flash working from the Debian Wiki.
FlashPlayer - Debian Wiki
Quote:
Debian 5.0 'Lenny' amd64
Currently not supported by Adobe. See the announcement by Adobe and bug #586273.
However, there is a workaround:
1. apt-get install fakeroot binutils nspluginwrapper ia32-libs
2. Download and run this script: http://people.debian.org/~bartm/flas...99043-lenny.sh
3. dpkg -i ia32-libs-workaround-499043_0.0.1+lenny1_amd64.deb
4. Install this package: http://people.debian.org/~bartm/flas...64.1_amd64.deb
Currently not supported by Adobe. See the announcement by Adobe and bug #586273.
However, there is a workaround:
1. apt-get install fakeroot binutils nspluginwrapper ia32-libs
2. Download and run this script: http://people.debian.org/~bartm/flas...99043-lenny.sh
3. dpkg -i ia32-libs-workaround-499043_0.0.1+lenny1_amd64.deb
4. Install this package: http://people.debian.org/~bartm/flas...64.1_amd64.deb
Quote:
Debian Testing 'Squeeze' amd64
Currently not supported by Adobe. See the announcement by Adobe and bug #586273.
However, there is a workaround:
1. apt-get install fakeroot binutils nspluginwrapper ia32-libs
2. Download and run this script: http://people.debian.org/~bartm/flas...043-squeeze.sh
3. dpkg -i ia32-libs-workaround-499043_0.0.1+squeeze1_amd64.deb
4. Install this package: http://people.debian.org/~bartm/flas...64.1_amd64.deb
Currently not supported by Adobe. See the announcement by Adobe and bug #586273.
However, there is a workaround:
1. apt-get install fakeroot binutils nspluginwrapper ia32-libs
2. Download and run this script: http://people.debian.org/~bartm/flas...043-squeeze.sh
3. dpkg -i ia32-libs-workaround-499043_0.0.1+squeeze1_amd64.deb
4. Install this package: http://people.debian.org/~bartm/flas...64.1_amd64.deb
AMD64/FirefoxAndPlugins - Community Ubuntu Documentation
https://help.ubuntu.com/community/AM...efoxAndPlugins
Total Comments 2
Comments
-
Looks like Adobe has come out with 64 bit Flash yet again.
Adobe Finally Releases A New Adobe Flash Player 64bit - Yes, For Linux Too! ~ Web Upd8 : http://www.webupd8.org/2010/09/adobe...obe-flash.html
Adobe Labs - Downloads: Flash Player "Square" Preview Release : http://labs.adobe.com/downloads/flashplayer10.html
Quote:Adobe® Flash® Player "Square" is a preview release that enables native 64-bit support on Linux, Mac OS, and Windows operating systems, as well as enhanced support for Microsoft Internet Explorer 9 beta.
We have made this preview available so that users can test existing content and new platforms for compatibility and stability. Because this is a preview version of Flash Player, we don’t expect it to be as stable as a final release version of Flash Player. Use caution when installing Flash Player "Square" on production machines.
The key new capabilities in the Flash Player "Square" preview are:
64-bit support — Native support for 64-bit operating systems and 64-bit web browsers on Linux, Mac OS, and Windows.
Internet Explorer 9 hardware accelerated rendering support — Enhanced support for Internet Explorer 9 Beta. It takes advantage of hardware accelerated graphics in Internet Explorer 9 Beta, utilizing hardware rendering surfaces to improve graphics performance and enable seamless composition.
Important: Please note that if you install the Flash Player "Square" preview, you will need to keep this version up to date by manually installing updates from the Flash Player "Square" download page on Adobe Labs. You will not receive automatic update notifications for future final releases of Flash Player, and you will need to manually uninstall Flash Player "Square" before installing a final shipping version of Flash Player.Posted 09-16-2010 at 06:17 AM by craigevil -
http://wiki.debian.org/FlashPlayer
Quote:Debian 5.0 'Lenny' amd64
In September 2010 Adobe announced Flash Player "Square". As of September 17 it is a fully working preview release.
Flash Player Square Installation
First remove the version you may have installed (it's probably a 32 bit version or too old):
$ apt-get remove flashplugin-nonfree nspluginwrapper (the same applies to the 32bit version from debian-multimedia)
Get the Flash Player "Square" binary from Adobe (look for the Download plug-in for 64-bit Linux (TAR.GZ, 4.1 MB) link.
Extract the tar ball:
$ tar xvzf flashplayer_square_p1_64bit_linux_091510.tar.gz
As root copy the extracted file to the mozilla plugins folder(this will work with Google Chrome as well):
$ cp libflashplayer.so /usr/lib/mozilla/plugins/Posted 09-18-2010 at 06:08 AM by craigevil