Differences between revisions 188 and 200 (spanning 12 versions)
Revision 188 as of 2010-09-06 04:51:24
Size: 8639
Editor: AndrewLee
Comment: Added Trobleshooting for error message "no appropriate viewer found"
Revision 200 as of 2010-09-18 09:59:03
Size: 6221
Editor: ?Alexei Sorokin
Comment:
Deletions are marked like this. Additions are marked like this.
Line 29: Line 29:
deb http://www.backports.org/debian lenny-backports main contrib non-free deb http://backports.debian.org/debian-backports/ lenny-backports main contrib non-free
Line 31: Line 31:
as described here: http://backports.org/dokuwiki/doku.php?id=instructions . Be warned : The resulting system can't be considered plain "stable" anymore. as described here: http://backports.debian.org/Instructions/ . Be warned : The resulting system can't be considered plain "stable" anymore.
Line 49: Line 49:


== Debian 5.0 'Lenny' amd64 ==

Currently not supported by Adobe. See the [[http://labs.adobe.com/technologies/flashplayer10/64bit.html|announcement by Adobe]] and bug [[DebianBug:586273|#586273]].

However, there is a workaround:

 1. {{{aptitude install fakeroot binutils nspluginwrapper ia32-libs}}}
 1. Download and run this script: http://people.debian.org/~bartm/flashplugin-nonfree/ia32-libs-workaround-499043-lenny.sh
 1. {{{dpkg -i ia32-libs-workaround-499043_0.0.1+lenny1_amd64.deb}}}
 1. Install this package: http://people.debian.org/~bartm/flashplugin-nonfree/flashplugin-nonfree_10.1.82.76.1_amd64.deb

Also, there is another workaround (very modified Bartm workaround (by Darth Revan)):

{{{
sudo aptitude -y purge flashplugin-nonfree > /dev/null;
sudo aptitude -y install fakeroot binutils nspluginwrapper ia32-libs;
sudo wget http://people.debian.org/~bartm/flashplugin-nonfree/ia32-libs-workaround-499043-lenny.sh;
sh ia32-libs-workaround-499043-lenny.sh;
sudo rm ia32-libs-workaround-499043-lenny.sh;
sudo dpkg -i ./ia32-libs-workaround-499043_0.0.1+lenny1_amd64.deb;
sudo rm "./ia32-libs-workaround-499043_0.0.1+lenny1_amd64.deb";
sudo wget http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_10_linux.deb;
sudo mkdir "/usr/lib/adobe-flashplugin" 2> /dev/null;
sudo rm -rf "/usr/lib/flashplugin-nonfree" 2> /dev/null;
sudo rm "/usr/lib/adobe-flashplugin/libflashplayer.so" 2> /dev/null;
sudo rm "/usr/lib/adobe-flashplugin/flashplayer.xpt" 2> /dev/null;
sudo dpkg -i --force-architecture "./install_flash_player_10_linux.deb" > /dev/null;
sudo rm "./install_flash_player_10_linux.deb";
sudo chown root:root "/usr/lib/adobe-flashplugin/libflashplayer.so";
sudo chmod 644 "/usr/lib/adobe-flashplugin/libflashplayer.so";
sudo nspluginwrapper --native --install /usr/lib/adobe-flashplugin/libflashplayer.so 2> /dev/null;
}}}

An entirely different approach is to install a browser and the 32 bit plugin in an i386 chroot as described in [[http://alioth.debian.org/docman/view.php/30192/21/debian-amd64-howto.html|the AMD64 HOWTO]].
Line 109: Line 72:
== Debian Testing 'Squeeze' amd64 == == Debian 5.0 'Lenny' and 'Squeeze' amd64 ==
In September 2010 Adobe [[http://labs.adobe.com/downloads/flashplayer10.html|announced]] Flash Player "Square". As of September 17 it is a fully working preview release.
Line 111: Line 75:
Currently not supported by Adobe. See the [[http://labs.adobe.com/technologies/flashplayer10/64bit.html|announcement by Adobe]] and bug [[DebianBug:586273|#586273]].

However, there is a workaround:

 1. {{{aptitude install fakeroot binutils nspluginwrapper ia32-libs}}}
 1. Download and run this script: http://people.debian.org/~bartm/flashplugin-nonfree/ia32-libs-workaround-499043-squeeze.sh
 1. {{{dpkg -i ia32-libs-workaround-499043_0.0.1+squeeze1_amd64.deb}}}
 1. Install this package: http://people.debian.org/~bartm/flashplugin-nonfree/flashplugin-nonfree_10.1.82.76.1_amd64.deb

||<#ffcccc> '''note:''' If you get a '''checksum mismatch''' on step 4 then check the next workaround ||

Also, there is another workaround (very modified Bartm workaround (by Darth Revan)):
=== Flash Player Square Installation ===
Line 125: Line 78:
FLASH_LATEST_VER="p1";
FLASH_LATEST_DATE="091510";
Line 126: Line 81:
sudo aptitude -y install fakeroot binutils nspluginwrapper ia32-libs;
sudo wget http://people.debian.org/~bartm/flashplugin-nonfree/ia32-libs-workaround-499043-squeeze.sh;
sh ia32-libs-workaround-499043-squeeze.sh;
sudo rm ia32-libs-workaround-499043-squeeze.sh;
sudo dpkg -i ia32-libs-workaround-499043_0.0.1+squeeze1_amd64.deb;
sudo rm "./ia32-libs-workaround-499043_0.0.1+squeeze1_amd64.deb";
sudo wget http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_10_linux.deb;
sudo mkdir "/usr/lib/adobe-flashplugin" 2> /dev/null;
sudo mkdir "/tmp/flashplugin-nonfree" > /dev/null 2> /dev/null;
if [ "$(dpkg --print-architecture)" = "amd64" ]; then
  sudo wget --continue --output-document="/tmp/flashplugin-nonfree/install_flash_player_square_linux.tar.gz" "http://download.macromedia.com/pub/labs/flashplayer10/flashplayer_square_"$FLASH_LATEST_VER"_64bit_linux_"$FLASH_LATEST_DATE".tar.gz";
else
  sudo wget --continue --output-document="/tmp/flashplugin-nonfree/install_flash_player_square_linux.tar.gz" "http://download.macromedia.com/pub/labs/flashplayer10/flashplayer_square_"$FLASH_LATEST_VER"_32bit_linux_"$FLASH_LATEST_DATE".tar.gz";
fi;
CD=`pwd`;
cd "/tmp/flashplugin-nonfree";
sudo tar xvfz "/tmp/flashplugin-nonfree/install_flash_player_square_linux.tar.gz";
cd "$CD";
sudo rm -rf "/tmp/flashplugin-nonfree/install_flash_player_square_linux.tar.gz";
Line 135: Line 93:
sudo rm "/usr/lib/adobe-flashplugin/libflashplayer.so" 2> /dev/null;
sudo rm "/usr/lib/adobe-flashplugin/flashplayer.xpt" 2> /dev/null;
sudo dpkg -i --force-architecture "./install_flash_player_10_linux.deb" > /dev/null;
sudo rm "./install_flash_player_10_linux.deb";
sudo chown root:root "/usr/lib/adobe-flashplugin/libflashplayer.so";
sudo chmod 644 "/usr/lib/adobe-flashplugin/libflashplayer.so";
sudo nspluginwrapper --native --install /usr/lib/adobe-flashplugin/libflashplayer.so 2> /dev/null;
sudo rm -rf "/usr/lib/adobe-flashplugin" 2> /dev/null;
sudo mkdir "/usr/lib/flashplugin-nonfree";
sudo mv "/tmp/flashplugin-nonfree/libflashplayer.so" "/usr/lib/flashplugin-nonfree/libflashplayer.so";
sudo rm -rf "/tmp/flashplugin-nonfree";
sudo chown root:root "/usr/lib/flashplugin-nonfree/libflashplayer.so";
sudo chmod 644 "/usr/lib/flashplugin-nonfree/libflashplayer.so";
sudo mkdir "/usr/lib/mozilla" > /dev/null 2> /dev/null; sudo mkdir "/usr/lib/mozilla/plugins" > /dev/null 2> /dev/null;
sudo ln -s "/usr/lib/flashplugin-nonfree/libflashplayer.so" "/usr/lib/mozilla/plugins/libflashplayer.so" > /dev/null 2> /dev/null;
Line 143: Line 102:

An entirely different approach is to install a browser and the 32 bit plugin in an i386 chroot as described in [[http://alioth.debian.org/docman/view.php/30192/21/debian-amd64-howto.html|the AMD64 HOWTO]].
Line 153: Line 109:
 * [[Arora]]
Line 154: Line 111:
 * Google Chrome  * [[Chromium]]

Translation(s): English - Italiano - Русский

(!) ?Discussion


Flash > Adobe Flash Player


This wiki page describes how to install the Adobe Flash Player, formerly known as the Macromedia Flash Player, on Debian systems. This page serves as the homepage of the Debian package flashplugin-nonfree.

End User License Agreement of the Adobe Flash Player

The newest versions of the Debian package flashplugin-nonfree have this warning in the package description:

WARNING: Installing this Debian package causes the
Adobe Flash Player to be downloaded from www.adobe.com.
The End User License Agreement of the Adobe Flash Player
is available at www.adobe.com.

Debian 5.0 'Lenny' i386

Configure your system to use lenny-backports by adding this line to your sources.list

deb http://backports.debian.org/debian-backports/ lenny-backports main contrib non-free

as described here: http://backports.debian.org/Instructions/ . Be warned : The resulting system can't be considered plain "stable" anymore.

How to install flashplugin-nonfree :

aptitude update
aptitude install flashplugin-nonfree

How to update flashplugin-nonfree :

aptitude update
aptitude upgrade

How to update the Adobe Flash Player :

/usr/sbin/update-flashplugin-nonfree --install

Debian Testing 'Squeeze' i386

To do only once : Make sure your APT sources (/etc/apt/sources.list) allow flashplugin-nonfree from contrib to be installed.

How to install flashplugin-nonfree :

aptitude update
aptitude install flashplugin-nonfree

How to update flashplugin-nonfree :

aptitude update
aptitude upgrade

How to update the Adobe Flash Player :

update-flashplugin-nonfree --install

Debian 5.0 'Lenny' and 'Squeeze' amd64

In September 2010 Adobe announced Flash Player "Square". As of September 17 it is a fully working preview release.

Flash Player Square Installation

FLASH_LATEST_VER="p1";
FLASH_LATEST_DATE="091510";
sudo aptitude -y purge flashplugin-nonfree > /dev/null;
sudo mkdir "/tmp/flashplugin-nonfree" > /dev/null 2> /dev/null;
if [ "$(dpkg --print-architecture)" = "amd64" ]; then
  sudo wget --continue --output-document="/tmp/flashplugin-nonfree/install_flash_player_square_linux.tar.gz" "http://download.macromedia.com/pub/labs/flashplayer10/flashplayer_square_"$FLASH_LATEST_VER"_64bit_linux_"$FLASH_LATEST_DATE".tar.gz";
else
  sudo wget --continue --output-document="/tmp/flashplugin-nonfree/install_flash_player_square_linux.tar.gz" "http://download.macromedia.com/pub/labs/flashplayer10/flashplayer_square_"$FLASH_LATEST_VER"_32bit_linux_"$FLASH_LATEST_DATE".tar.gz";
fi;
CD=`pwd`;
cd "/tmp/flashplugin-nonfree";
sudo tar xvfz "/tmp/flashplugin-nonfree/install_flash_player_square_linux.tar.gz";
cd "$CD";
sudo rm -rf "/tmp/flashplugin-nonfree/install_flash_player_square_linux.tar.gz";
sudo rm -rf "/usr/lib/flashplugin-nonfree" 2> /dev/null;
sudo rm -rf "/usr/lib/adobe-flashplugin" 2> /dev/null;
sudo mkdir "/usr/lib/flashplugin-nonfree";
sudo mv "/tmp/flashplugin-nonfree/libflashplayer.so" "/usr/lib/flashplugin-nonfree/libflashplayer.so";
sudo rm -rf "/tmp/flashplugin-nonfree";
sudo chown root:root "/usr/lib/flashplugin-nonfree/libflashplayer.so";
sudo chmod 644 "/usr/lib/flashplugin-nonfree/libflashplayer.so";
sudo mkdir "/usr/lib/mozilla" > /dev/null 2> /dev/null; sudo mkdir "/usr/lib/mozilla/plugins" > /dev/null 2> /dev/null;
sudo ln -s "/usr/lib/flashplugin-nonfree/libflashplayer.so" "/usr/lib/mozilla/plugins/libflashplayer.so" > /dev/null 2> /dev/null;

Supported browsers in Debian

Troubleshooting

  • Error message wget failed to download .../fp10.sha512.amd64.pgp.asc : Adobe no longer supports the 64 bit player. However there is a workaround, see above.

  • Remember that if you need the Flash Player to work with pulse, you can ask libasound to do so in your ~/.asoundrc:

    pcm.pulse {
        type pulse
    }
    
    ctl.pulse {
        type pulse
    }
    
    pcm.!default {
        type pulse
    }
    
    ctl.!default {
        type pulse
    }
  • To verify the Adobe Flash Player version number installed on your system, access the About Flash Player page, or right-click on content running in Flash Player and select "About Adobe (or Macromedia) Flash Player" from the menu. If you use multiple browsers, perform the check for each browser you have installed on your system. (Source: http://www.adobe.com/support/security/bulletins/apsb10-14.html)

  • Opera doesn't use nspluginwrapper. It has its own mechanism for running 32-bit plugins in the 64-bit browser, so they will just work without having to install nspluginwrapper.
  • Error message "no appropriate viewer found": missing shared object libssl3.so, might need to install ia32-libs-libnss3 from debian-multimedia.org.


CategoryPermalink