Bitcoin donations are welcome:14snQXeLcnJtWUduKZ6rC2MHdPYrYar1Tw

Thursday, April 7, 2016

Chromium in Debian: Flash missing - manual install of Pepperflash

So, here's the situation:
1.) Google Chrome dropped support of 32bit linux
2.) Pepperflash has gone missing from the Debian repositories
3.) Chromium only supports Pepperflash

Here's how you fix it:
1.) Install chromium.
2.) "apt-get purge" (not just remove) everything that has to do with flash.
3.) Download the latest available version of Google Chrome for 32bit so we can extract the plugin we need. Latest available version is google-chrome-stable_48.0.2564.116-1_i386.deb available here: http://bbgentoo.ilb.ru/distfiles/google-chrome-stable_48.0.2564.116-1_i386.deb
4.) Extract the file. Go to opt/google/chrome and find the PepperFlash directory. From this directory copy the libpepflashplayer.so to /usr/lib/chromium/plugins/ or any other available directory.
5.) For some reason I can't chromium to load the plugin by default. So I made a shortcut executable file with the following chromium prefix:
/usr/bin/chromium --ppapi-flash-path=/usr/lib/chromium/plugins/libpepflashplayer.so
6.) Run it. Enter "chrome://plugins/" into your address bar. It should now show up here.

1 comment:

  1. Thanks for this, it got Flash working again for me.

    I though I'd pass on that I recently found some instructions for downloading what appears to be a newer version from Adobe's website. I can't remember where I saw the instructions originally, but I've restated them more verbosely:


    Using Chromium, go to: https://get.adobe.com/flashplayer/
    Select verion to download: .tar.gz for other Linux (the only option available)
    Click Download now and wait for download: flash_player_ppapi_linux.i386.tar.gz
    Start a terminal, and type:

    su
    [enter root password]
    mkdir /usr/lib/pepperflashplugin-nonfree/
    cd /usr/lib/pepperflashplugin-nonfree/
    tar -xzf [full path and file name]
    cd /etc/chromium.d/
    cat > pepperflashplugin-nonfree
    flashso="/usr/lib/pepperflashplugin-nonfree/libpepflashplayer.so"
    flashversion=`strings $flashso 2> /dev/null | grep LNX | cut -d ' ' -f 2 | sed -e "s/,/./g"`
    CHROMIUM_FLAGS="$CHROMIUM_FLAGS --ppapi-flash-path=$flashso --ppapi-flash-version=$flashversion"
    [Press Ctrl+D]
    exit
    exit

    To check plugin is installed, restart Chromium and type in address bar: chrome://plugins/


    James C

    ReplyDelete