Differences between revisions 18 and 19
Revision 18 as of 2016-08-25 14:52:51
Size: 5826
Editor: ?OdedNaveh
Comment:
Revision 19 as of 2016-10-21 07:01:07
Size: 6318
Comment: package is not in jessie, must add backports
Deletions are marked like this. Additions are marked like this.
Line 17: Line 17:

Pepper Flash Player is available in the contrib section of jessie-backports. To make jessie-backports packages available on your system, add a line like this to /etc/apt/sources.list or /etc/apt/sources.list.d/backports.list:

{{{
deb http://http.debian.net/debian jessie-backports main contrib
}}}

After adding the repository to your sources, update the local index:

{{{
apt-get update
}}}

See the [[Backports]] page and https://backports.debian.org/ for more information.

Translation(s): English - Français


Pepper Flash Player is a non-free (proprietary) software. It's also closed source and not supported by Debian. Have you considered using a free and open source alternative, which is community-owned and supported by Debian, such as Gnash, Lightspark, Shumway or SwfDec ? Read more about free and open source alternatives here.

Installing Pepper Flash Player

Debian 8 "Jessie"

Pepper Flash Player is available in the contrib section of jessie-backports. To make jessie-backports packages available on your system, add a line like this to /etc/apt/sources.list or /etc/apt/sources.list.d/backports.list:

deb http://http.debian.net/debian jessie-backports main contrib

After adding the repository to your sources, update the local index:

apt-get update

See the Backports page and https://backports.debian.org/ for more information.

64 bits / amd64

  • aptitude install pepperflashplugin-nonfree browser-plugin-freshplayer-pepperflash

32 bits / i386

pepperflashplugin-nonfree is no longer available for 32 bits since google chrome stopped support for Linux 32 bits. The plugin is still available from Adobe, point Chromium to download page or pick the PPAPI version for other browsers to download.

Most straight forward to install is dropping the libpepflashplayer.so from the archive at the right target.
First unZip, Xtract, Verbously the File downloaded:

  • tar -zxvf flash_player_ppapi_linux.i386.tar.gz

To look for the target open chrome://plugins in chromium, if pepperflashplugin-nonfree has been installed it should be pointing at /usr/lib/pepperflashplugin-nonfree/. If pepperflashplugin-nonfree was removed then that directory has to be recreated, as root do:

  • mkdir /usr/lib/pepperflashplugin-nonfree/
    cp path/to/extracted/libpepflashplayer.so /usr/lib/pepperflashplugin-nonfree/

Restart chromium chrome://restart ,voila.

If pepperflashplugin-nonfree has never been installed the target directory may be /usr/lib/chromium/plugins/, or ??? :\

Sophisticated users may elaborate the scheme with symlinks to support alternatives and other smart features.

Debian 7 "Wheezy"

32 bits / i386

1. Remove other flash plugin

  • apt-get remove flashplugin-nonfree

2.Add backports to your sources.list.

  • deb http://http.debian.net/debian wheezy-backports main contrib

3. Install PepperFlashPlayer

  • apt-get update && apt-get install pepperflashplugin-nonfree

4. Create PepperFlashPlayer directory and symlink

  • mkdir -p /opt/google/chrome/PepperFlash
    ln -s /usr/lib/pepflashplugin-installer/libpepflashplayer.so /opt/google/chrome/PepperFlash

5. Install packages to compile freshplayerplugin. For more info here

  • apt-get install cmake pkg-config ragel libasound2-dev libssl-dev libglib2.0-dev libconfig-dev libpango1.0-dev libgl1-mesa-dev libevent-dev libgtk+2.0-dev libgles2-mesa-dev libxrandr-dev g++ git libpulse-dev

6. Download and compile the source code in order to obtain the file: libfreshwrapper-pepperflash.so.

  • cd /tmp
    git clone https://github.com/i-rinat/freshplayerplugin
    cd freshplayerplugin
    cmake -DCMAKE_INSTALL_PREFIX=/path
    make

7. Create plugins directory for Iceweasel (Firefox)

  • mkdir ~/.mozilla/plugins

8. Deploy the library

  • cp libfreshwrapper-pepperflash.so ~/.mozilla/plugins

Notes

  • Close and reopen Iceweasel and you have ?PepperFlash

64 bits / amd64

  1. If not already done you must add backports to your sources.list. To do so follow those instructions. Make sure that "contrib" section is included.

  2. Using Terminal as Root run the following command to install Pepper Flash Player from Wheezy Backports
    aptitude -t wheezy-backports install pepperflashplugin-nonfree
  3. Still using Terminal run the following command to update Pepper Flash Player
    update-pepperflashplugin-nonfree --install
  4. Close all your browser windows. Then open your browser. Flash should work.
  5. This step is optional. Still using Terminal run the following command to know what version of Pepper Flash Player you have installed.
    update-pepperflashplugin-nonfree --status
  6. This step is also optional. To use the pepperflashplugin-nonfree with iceweasel, you need to install the package browser-plugin-freshplayer-pepperflash. Further instructions here.

    apt install browser-plugin-freshplayer-pepperflash

Notes

  • If Flash is still not working here are a few things you could try
    • Ensure that all your Chromium or Chrome browser windows are closed. It's important to close all browser windows otherwise Flash will not work. Then open your browser to test Flash.
    • If still not working try to reboot your computer. Sometime Chromium or Chrome windows seems all closed but one might still be open in the background, on another desktop, or frozen in memory.
    • If still not working try to temporally deactivate all your Chrome or Chromium plugins and extensions. Then test flash.
  • The Pepper Flash Player works in both Chrome and Chromium only. It does not directly work with Iceweasel or Firefox. For Flash to work with Iceweasel or Firefox you have to install another package. Read more here. Currently both packages can coexist. You can also try to install the new browser-plugin-freshplayer-pepperflash package that is a wrapper to allow Iceweasel or Firefox to use the Pepper Flash Player.

Related pages