Ubuntu: How do I install pepper-flash on Chromium?



Question:

I have Chromium web browser on my Lubuntu 13.04 (pre-installed). I use LX Terminal (pre-installed) to write commands. I am trying to download flash player on Chromium using instructions on this site:

sudo add-apt-repository ppa:skunk/pepper-flash  

After typing in my password, this worked. Now

sudo apt-get update  

I didn't need to type in my password, as I continued on the same terminal, but got W:/ and E:/ fetch file errors

sudo apt-get install pepflashplugin-installer  

I continued on the same terminal despite the fetch file errors... and they said pepflashplugin-installer could not be found.

Is the last error because of fetch file errors, or because I need to download pepflash-plugin-installer somewhere? Or is it because of something else?

I cannot download the Chrome browser, and not looking to use flash player on my Firefox web browser (installed using lubuntu software center).


Solution:1

Pepper Flash is now in Ubuntu repositories (14.04). Install it like:

sudo apt-get install pepperflashplugin-nonfree  sudo update-pepperflashplugin-nonfree --install  


Solution:2

If you installed Chrome Browser you don't need to install pepper-flash. You can use command line option redirecting pepper plugin path like

 chromium-browser --ppapi-flash-path=/opt/google/chrome/PepperFlash/libpepflashplayer.so --ppapi-flash-version=`grep -i version /opt/google/chrome/PepperFlash/manifest.json | awk '{print $2}' | awk -F"\"" '{print $2}'`  

should work.

You can make a launcher script like

chromium.sh

  #!/bin/bash    chromium-browser --ppapi-flash-path=/opt/google/chrome/PepperFlash/libpepflashplayer.so --ppapi-flash-version=`grep -i version /opt/google/chrome/PepperFlash/manifest.json | awk '{print $2}' | awk -F"\"" '{print $2}'`  

set execution bit

chmod +x chromium.sh  


Solution:3

Now Pepper Flash plugin with the regular Flash has been moved to Ubuntu Partner repository.

Both Flash players can be installed by

sudo apt-get install adobe-flashplugin  

after the Canonical Partner repository is enabled in Software & Updates.


Solution:4

Install the PPA from here: https://launchpad.net/~skunk/+archive/pepper-flash and use Chromium. A quick summary of the steps are:

sudo add-apt-repository ppa:skunk/pepper-flash  sudo apt-get update  sudo apt-get install pepflashplugin-installer  

.. it then installs..

echo ". /usr/lib/pepflashplugin-installer/pepflashplayer.sh" | sudo tee -a /etc/chromium-browser/default  

When you restart chromium, you should be using the new flash plugin!


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »