You are not logged in.

#1 2016-07-29 08:49:08

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 6,543
Website

HOWTO: Install Pepperflash on a 32bit system

NOTE: Flash is a bad security risk - don't do this unless you're quite sure you want it!

The pepperflashplugin-nonfree package makes it easy to install Adobe's PPAPI ("pepper") version of the Flash plugin on a Linux system, making it available for Chromium, and, with the package browser-plugin-freshplayer-pepperflash, Firefox too. The PPAPI version is much newer than the NPAPI Flash which Firefox would otherwise use. (NPAPI might well be dropped next year anyway.)

Unfortunately, it works by downloading a Google Chrome installer and extracting the plugin from there. Now that Google have stopped providing chrome for 32bit (i386 architecture) systems, that avenue is no longer available for 32bit machines.

Adobe, though, do make a 32bit Linux version of the PPAPI plugin, which is available from their download page.

Here's how to get it:

  1. Uninstall (purge) any old version of pepperflashplugin-nonfree you might have on your system.

  2. Open https://get.adobe.com/flashplayer/otherversions/ select "Linux (32-bit)" and then "FP 22.0 for other Linux 32-bit (.tar.gz)-PPAPI"

  3. Click the "Download now" button and put the .tar.gz file in some directory.

  4. Open the directory in Thunar, right-click "extract here".

  5. In the new "flash_player_ppapi_linux.i386" directory you should find (among others) libpepflashplayer.so and manifest.json 

  6. Copy (as root) those two files into some suitable system directory. I used /usr/lib/PepperFlash.

Now,
For Chromium: you need to make a config file in /etc/chromium.d with these contents:

flashso='/usr/lib/PepperFlash/libpepflashplayer.so'
flashversion=$(strings "$flashso" 2>/dev/null | sed -n '/LNX/ {s/^LNX //;s/,/./gp}')
CHROMIUM_FLAGS="$CHROMIUM_FLAGS --ppapi-flash-path=$flashso --ppapi-flash-version=$flashversion"

The file's name can be anything (reasonable).

For Firefox: make sure you have installed browser-plugin-freshplayer-pepperflash, and make sure you have put the flash plugin and manifest.json in one of the directories it checks:

/opt/google/chrome/PepperFlash           // Chrome
/opt/google/chrome-beta/PepperFlash      // Chrome beta
/opt/google/chrome-unstable/PepperFlash  // Chrome unstable
/usr/lib/adobe-flashplugin               // adobe-flashplugin (Ubuntu)
/usr/lib/pepperflashplugin-nonfree       // pepperflashplugin-nonfree (Debian)
/usr/lib/PepperFlash                     // chromium-pepperflash-plugin (Slackware)
/usr/lib64/PepperFlash                   // chromium-pepperflash-plugin (Slackware)
/usr/lib/chromium-browser/PepperFlash    // chrome-binary-plugins (Gentoo/Sabayon)
/usr/lib64/chromium-browser/PepperFlash  // chrome-binary-plugins (Gentoo/Sabayon)
/usr/lib/chromium/PepperFlash            // chromium-pepper-flash (Old Build) (CentOS/Read Hat/Fedora)
/usr/lib64/chromium/PepperFlash          // chromium-pepper-flash (Old Build) (CentOS/Read Hat/Fedora)
/opt/chromium/PepperFlash                // chromium-pepper-flash (New Build) (CentOS/Read Hat/Fedora)
/usr/lib/pepflashplugin-installer        // pepflashplugin-installer (Ubuntu)

If you use a different directory you can check /usr/share/doc/browser-plugin-freshplayer-pepperflash/freshwrapper.conf.example for how to change its configuration. smile

NB The PPAPI flash plugin seems to be heavier on system resources than the old NPAPI, and old 32bit computers might play flash videos more smoothly on that anyway...


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), idle Twitterings and GitStuff )

Introduction to the Bunsenlabs Lithium Desktop

Offline

#2 2016-07-31 22:44:39

Horizon_Brave
Operating System: Linux-Nettrix
Registered: 2015-10-18
Posts: 1,473

Re: HOWTO: Install Pepperflash on a 32bit system

Thanks JRaff, beautifully written!

Just as an extra bit of reading for you curious folk out there. This is a white paper for the reasoning and roadmap of Adobe with Flashplayer:

http://www.adobe.com/devnet/flashplatfo … admap.html


"I have not failed, I have found 10,000 ways that will not work" -Edison

Offline

#3 2016-08-16 08:12:44

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 6,543
Website

Re: HOWTO: Install Pepperflash on a 32bit system

For the adventurous, there's also a beta script which will automate the process of downloading and installing the PPAPI flash plugin for 32bit systems, here: https://forums.bunsenlabs.org/viewtopic … 073#p35073

@hhh was kind enough to check out an earlier version:

hhh wrote:

Steps summary (tested on 32 bit jessie)...

  1. Enable Debian jessie-backports in your sources, make sure contrib is included and apt update.

  2. Install browser-plugin-freshplayer-pepperflash (and chromium).

  3. Create a file foo.sh and copy John's script to it, make the file executable.

  4. Run ./foo.sh in a terminal.

If you try it I'd be delighted to get bug reports, but bear no responsibility for what happens to your system...  yikes


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), idle Twitterings and GitStuff )

Introduction to the Bunsenlabs Lithium Desktop

Offline

Board footer

Powered by FluxBB