133

Even though I have the latest Adobe Flash player 11.2 for Linux in Firefox - ref: Flash player security doubts - a particular online flash game still requests that I update to the latest flash player.

I've tried this online game on my laptop (Windows 8 with Flash Player 11.8) and it has no problems.

Is there a way to trick Ubuntu or this game into thinking Flash Player 11.8 is "installed"?

3

5 Answers 5

135

Note: This answer is severely outdated. Please refer to karel’s answer instead which describes how Canonical and Adobe currently recommend to install Flash Player in Ubuntu.


For Linux, the latest version of Adobe Flash Player is 11.2 which you already have. Sorry, but it cannot be updated to 11.8. Adobe provides security backports to Flash Player 11.2 for Linux.

To install the Flash plug-in on Ubuntu 13.04 (Raring Ringtail), please follow this process:

  1. Enable the multiverse repository, as shown here: How do I enable the "multiverse" repository?

  2. Open a terminal window (press Ctrl+Alt+T) and copy/paste this line:

    sudo apt-get install flashplugin-installer 
    
  3. When the Flash Player is installed, close the terminal window and restart your browser.

7
  • 3
    ..and since flashplugin-installer is available in the Multiverse repository, you might need to enable the repo. ..so this link should help: How do I enable the “multiverse” repository?
    – rusty
    Feb 18, 2014 at 16:08
  • 3
    This also works on 14.04.
    – dusan
    Aug 22, 2014 at 2:46
  • 2
    This method works for 15.04 as well. :) Jun 4, 2015 at 10:40
  • 4
    This method also works for 15.10.
    – galath
    Nov 5, 2015 at 17:07
  • 1
    Installed but at chrome://plugins at Chromium I not see flash... Lubuntu 15.10 Mar 9, 2016 at 18:22
36

Flash player is completely dead for all operating systems as of 2021.

To install the latest version of flash player search the Dash (in Ubuntu releases before 17.10) or the Show Applications dashboard (in Ubuntu 17.10 or later) for Software & Updates and open the Software & Updates window. Click the Other Software tab in the Software & Updates window, and put a check mark in the checkbox to the left of where it says: Canonical Partners.

enter image description here Software & Updates in Ubuntu 17.10

Click the Close button to close the Software & Updates window.

Open the terminal and type:

sudo apt-get update   
sudo apt-get install adobe-flashplugin  
sudo apt install browser-plugin-freshplayer-pepperflash # 16.04 and later   

Flash plugin for Linux provided by Adobe stopped at version 11.2. For Chrome/Chromium users there is Pepper Flash plugin, but it's not supported by Firefox/Iceweasel/other browsers. In Ubuntu 16.04 and later browser-plugin-freshplayer-pepperflash from the default Ubuntu repositories allows one to use the Pepper Flash plugin from Chrome in Firefox and any other web browser supporting NPAPI plugins. It works better than adobe-flashplugin in Firefox.

4
  • 10
    Personally I think this should be the only answer left, and the other answers (which are mostly obsolete) removed. Dec 30, 2017 at 22:51
  • 1
    What is the APT line to enter after clicking the Add button?
    – Code-Guru
    Jun 7, 2018 at 17:18
  • @karel: I guess that it what Code-Guru in the comment above was finding confusing, because clicking that Add button triggers a popup that asks for an APT URL. Aug 10, 2018 at 9:49
  • I like this answer, but I think (as of December 2019) that this one is even better: askubuntu.com/a/1117776/698344
    – evaristegd
    Dec 8, 2019 at 3:54
15

Adobe no longer provides Flash Player updates for Linux except for security backports.
From the Abobe Flash Blog:

For Flash Player releases after 11.2, the Flash Player browser plugin for Linux will only be available via the “Pepper” API as part of the Google Chrome browser distribution and will no longer be available as a direct download from Adobe. Adobe will continue to provide security updates to non-Pepper distributions of Flash Player 11.2 on Linux for five years from its release.

You can still use the latest flash in Google Chrome or Chromium Install chromium-browserwith the 'Pepper Flash' plugin

Adobe Flash Player is directly integrated with Google Chrome and enabled by default. Available updates for Adobe Flash Player are automatically included in Chrome system updates.

You will need to install it manually in Chromium, though, see here

2
11

Sadly, Adobe has dropped support for the GNU/Linux version of Flash Player (though security updates are still being provided). However, there are still two ways of getting newer versions.

The first is to run the Windows version through Wine, a software emulation layer designed to make Windows software work on GNU/Linux and other Unix-like systems. You'll need a Windows web browser (such as the Windows version of Firefox), with the Windows version of Flash Player.

Or, you could install Google Chrome, as it always has a recent version of Flash, even on Ubuntu. If you choose Chrome, you won't need Wine. This may no longer be an option. See update #3.

Update: I now know of a third way to do this: Pipelight! Pipelight was originally a browser plugin meant to use a fork of WINE to run Microsoft Silverlight. However, at some point, the developers decided to add support for Flash as well. See Here for instructions on how to install Pipelight, and enable Flash Player.

However, this method isn't perfect; if you find that your browser won't respond to your mouse, you may either switch workspaces (using you desktop's keyboard shortcuts), or switch windows (again keyboard shortcuts). Either way, when you switch back, you should be able to click again. Please note, I've only tested this with Linux Mint's Cinnamon desktop (which is forked from Gnome), and can't guarantee this will work on other desktops. If all else fails, you can switch to tty, and kill pipelight using pkill pluginloader.exe.

Also, you might want to run sudo pipelight-plugin --update from time to time, so that Pipelight will know to install an updated version of flash player. This both prevents Pipelight from trying to download plugins from dead links, and ensures said plugins stay up-to-date. Or, you can create a cron file to run the command automatically. To do this, run sudo bash -c 'echo -e \#\!"/bin/bash\n\npipelight-plugin --update" > /etc/cron.weekly/pipelight-update; chmod a+x /etc/cron.weekly/pipelight-update' This will allow your Pipelight's list of plugins to be updated weekly, although the actuall plugins won't be updated untill you start your NPAPI-based browser.

Update 2: I found another plugin which uses Pepper (Google Chrome) Flash Player inside other browsers (such as firefox). This plugin, known as freshplayerplugin, is a native version of Flash, so no WINE is required. Please note: although I haven't tried this method, Pepper Flash is known to have problems with DRM-Protected videos, such as those found on Amazon Prime. If you watch DRM-protected videos with Flash Player, you might want to use Pipelight.

The above link will tell you how install FreshPlayerPlugin by cloning a git repository and compiling the code yourself. Or, you can install the pepflashplugin-installer package from the skunk/pepper-flash ppa: sudo add-apt-repository ppa:skunk/pepper-flash && sudo apt-get update && sudo apt-get install pepflashplugin-installer. See the bottom of THIS page for instructions on how to enable Chromium to use pepperflash. Warning: this depends on Google Chrome support. Please see update #3.

Update 3: Google has dropped Chrome support for all 32-bit GNU/Linux systems. If you have a 64-bit system, you can use Chrome as usual. Otherwise, you will have to either run an old version of Chrome (good luck finding one. Also, do be warned that old browsers are not secure), switch to a 64-bit system, or attempt to run the Windows version through WINE. Because 32-bit systems are no longer supported, you can no longer use the method described in update #2 on 32-bit systems.

Update 4: Pipelight has been discontinued by the author. You can no longer install Flash Player with it. However, Adobe has decided to bump the GNU/Linux version of Flash player to the latest versions, so I guess you don't need pipelight or freshplayerplugin. in fact, that kind of makes this entire answer obsolete.

3
  • Unfortunately the freshplayer plugin just wraps pepper flash with an NPAPI front-end so that Firefox can use it. Pipelight is also an NPAPI plugin. But Firefox is dropping support for NPAPI by the end of the year. Is there another solution for Flash in Firefox that isn't already planned to be killed, or are switching to Chrome/running under Wine really the only options?
    – Ben
    May 15, 2016 at 17:48
  • Flash has not dropped support for PPAPI version, here is proof: it's also packaged and available for Ubuntu, see my answer here. Feb 25, 2017 at 1:15
  • in fact, that kind of makes this entire answer obsolete. - can you consider updating it and deleting old no longer useful content? Jul 3, 2018 at 14:00
1

How to manually install Adobe's Flash NPAPI plugin for browsers such as Firefox, Iceweasel and SeaMonkey

  1. Access https://get.adobe.com/flashplayer/otherversions/

  2. Select your architecture: Linux (32-bit) or Linux (64-bit).

    • If you're unsure about your system's architecture, run the shell command uname -i: if it returns something having the number 64 in it, your system is 64-bit. Otherwise, it's 32-bit.
  3. Download the NPAPI tarball: select the option having (.tar.gz) - NPAPI in it and then click onto the "Download now" button.

    • A tarball is a file with a ".tar.xxx" extension, where "xxx" is an extension for compressed files, like e.g. zip, gz, bz2, 7z etc. Hence, tarball.tar.gz, tarball.tar.zip, tarball.tar.7z and tarball.tar.bz2 are all examples of tarballs.
  4. Save the tarball into the /tmp folder with the name flash.tar.gz. If your browser automatically downloads the tarball, thus making it impossible for you to rename the tarball before the download starts, wait for the download to end, then go to the folder where the tarball's been put, rename the tarball to flash.tar.gz and then move it to /tmp.

  5. Start the shell terminal and then run this command:

    cd /tmp ; tar -xvf flash.tar.gz
    
  6. Now run this supercommand in order to place the Adobe Flash plugin in the system folder:

    if ! [ -d /usr/lib/adobe-flashplugin/ ]; then sudo mkdir /usr/lib/adobe-flashplugin ; else echo /usr/lib/adobe-flashplugin/ already exists ; fi ; sudo cp -f libflashplayer.so /usr/lib/adobe-flashplugin/ ; sudo ln -sf /usr/lib/adobe-flashplugin/libflashplayer.so /usr/lib/flashplugin-installer/libflashplayer.so
    
  7. Then run this command in order to place the Adobe Flash folders in their respective locations:

    sudo cp -rf /tmp/usr /
    
  8. You can now run your Mozilla/Gecko browser (Firefox, Iceweasel or SeaMonkey) and then access the URL about:plugins in order to check if your browser has detected the flash plugin located at /usr/lib/adobe-flashplugin/libflashplayer.so (it should be also visible by accessing about:addons and then the Plugins section). If you see something like Shockwave Flash 24.0 r0, then go to http://www.adobe.com/software/flash/about in order to check if the flash applet detects your NPAPI flash install and tells you which version you're currently using.

    • It's possible that your browser will show the plugin location as being /usr/lib/flashplugin-installer/libflashplayer.so instead of /usr/lib/adobe-flashplugin/libflashplayer.so. If it happens, ignore it: it's normal.
  9. Restart your computer just to make sure that the applications menu shows your brand-new "Adobe Flash Player" control panel. If it doesn't, you should be able to start it by running this shell command:

    /usr/bin/flash-player-properties
    

Note: if you're using the 32-bit SeaMonkey on a 64-bit system, the browser won't "see" the plugin. Use another browser (e.g. Firefox).

How to manually uninstall Adobe's Flash NPAPI plugin for browsers such as Firefox, Iceweasel and SeaMonkey

Open a shell terminal window and run this supercommand:

sudo rm -r /usr/lib/adobe-flashplugin /usr/lib/flashplugin-installer/libflashplayer.so /usr/bin/flash-player-properties /usr/lib/kde4/kcm_adobe_flash_player.so /usr/lib64/kde4/kcm_adobe_flash_player.so /usr/share/applications/flash-player-properties.desktop /usr/share/kde4/services/kcm_adobe_flash_player.desktop /usr/share/pixmaps/flash-player-properties.png ; cd /usr/share/icons/hicolor ; sudo find . -name "flash-player-properties.png" -delete

How to manually install Adobe's Flash PPAPI plugin for a WebKit browser such as Opera

  1. Access https://get.adobe.com/flashplayer/otherversions/

  2. Select your architecture: Linux (32-bit) or Linux (64-bit).

    • If you're unsure about your system's architecture, run the shell command uname -i: if it returns something having the number 64 in it, your system is 64-bit. Otherwise, it's 32-bit.
  3. Download the PPAPI tarball: select the option having (.tar.gz) - PPAPI in it, and then hit the "Download now" button.

    • A tarball is a file with a ".tar.xxx" extension, where "xxx" is an extension for compressed files, like e.g. zip, gz, bz2, 7z etc. Hence, tarball.tar.gz, tarball.tar.zip, tarball.tar.7z and tarball.tar.bz2 are all examples of tarballs.
  4. Save the tarball into the /tmp folder with the name pepflash.tar.gz. If your browser automatically downloads the tarball, thus making it impossible for you to rename the tarball before the download starts, wait for the download to end, then go to the folder where the tarball's been put, rename the tarball to pepflash.tar.gz and then move it to /tmp.

  5. Start the shell terminal and then run this command:

    cd /tmp ; tar -xvf pepflash.tar.gz
    
  6. Now run these commands in order to place the Adobe Flash plugin in the system folder:

    if ! [ -d /usr/lib/adobe-flashplugin/ ]; then sudo mkdir /usr/lib/adobe-flashplugin ; else echo /usr/lib/adobe-flashplugin/ already exists ; fi ; sudo cp -f libpepflashplayer.so manifest.json /usr/lib/adobe-flashplugin/
    
  7. You can now run your WebKit / Opera browser (only Opera versions prior to version 45), then access the URL about:plugins in order to check if your browser has detected the flash plugin located at /usr/lib/adobe-flashplugin/libpepflashplayer.so. Don't forget to click the Show details button (upper right) in order to expand the information fields and show extra info about each detected plugin. If you see something like Adobe Flash Player located at /usr/lib/adobe-flashplugin/libpepflashplayer.so, then go to http://www.adobe.com/software/flash/about just to make sure that the flash applet detects your PPAPI flash install and tells you which version you're currently using. If your browser is Opera version 45+ (version 45 or later), then the only way to check if the plugin is properly installed and functional is by accessing http://www.adobe.com/software/flash/about. If the flash applet detects your PPAPI flash install, then flash is working on your Opera 45+ browser.

How to manually uninstall Adobe's Flash PPAPI plugin for a WebKit browser such as Opera

Open a shell terminal window and run this command:

sudo rm /usr/lib/adobe-flashplugin/libpepflashplayer.so

How to manually install Adobe's Flash PPAPI plugin for Google Chrome and Google Chromium browsers

If you're using Google Chrome/Chromium, it already comes with its own bundled PPAPI Flash plugin located at ~/.config/google-chrome/PepperFlash/some_version_number/libpepflashplayer.so. However, if videos aren't working with Google Chrome/Chromium when you're on Facebook, YouTube et cetera (you hear the audio, but doesn't see any video), then you're probably trying to watch HTML5 videos but your GPU (Graphics Processing Unit) has a built-in rendering blacklist that's avoiding video acceleration required by HTML5.

In order to fix this issue, start Google Chrome/Chromium, access this URL:

chrome://flags/#ignore-gpu-blacklist

...then activate the above option and restart Google Chrome/Chromium.

If the above solution doesn't solve the issue, follow the 6 steps provided at How to manually install Adobe's Flash PPAPI plugin for a WebKit browser such as Opera, then back up Google's PepperFlash plugin and create a symbolic link to Adobe's flash PPAPI plugin.

If e.g. your Chrome/Chromium browser is using PepperFlash plugin version 24.0.0.186 and you downloaded Adobe's flash PPAPI plugin version 24.0.0.186 (same version of Google's PepperFlash), then this is the shell command you'll have to issue after you install Adobe's Flash PPAPI plugin:

mv ~/.config/google-chrome/PepperFlash/24.0.0.186/libpepflashplayer.so ~/.config/google-chrome/PepperFlash/24.0.0.186/libpepflashplayer.so.bak ; sudo ln -sf /usr/lib/adobe-flashplugin/libpepflashplayer.so ~/.config/google-chrome/libpepflashplayer.so

How to manually uninstall Adobe's Flash PPAPI plugin for Google Chrome and Google Chromium browsers

Open a shell terminal window and run this command:

sudo rm ~/.config/google-chrome/libpepflashplayer.so ; mv ~/.config/google-chrome/PepperFlash/24.0.0.186/libpepflashplayer.so.bak ~/.config/google-chrome/PepperFlash/24.0.0.186/libpepflashplayer.so

Source: my own answer to question #470281.

23
  • While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. - From Review
    – amc
    Feb 3, 2017 at 15:29
  • @amc I ended up pasting my entire answer here, too, because the installation and deinstallation processes are both important and they both change, depending on the browser. The most important thing, I believe, is to help those who read the above question find an answer explaining how to make the manual installation (and how to manually remove Adobe Flash, too). I would "merge" my both answers into a single one for both questions, if I could, but unfortunately there's no such feature available. The above question is older than the other one, but I found and answered the other one first. Feb 3, 2017 at 19:07
  • @DavidFoerster The above question is older than the other one where I (recently) posted my answer. However, I found and answered the other question first (several days before I found this one). This is why flagging any of these questions (in favour of the other question) seems to be a kind of dilemma: which question should be given preference to? I'm not sure how to deal with this situation. By pasting the contents of my answer here aswell, I expect to make it easier for everyone to find my proposed solution to the problem, no matter which one of these two questions someone finds first. Feb 3, 2017 at 19:15
  • Alright. I voted to close the other question as a duplicate of this one. Feb 3, 2017 at 19:51
  • 1
    @YuriSucupira I figured out the reason that it wasn't working on recent versions of Opera. You need the manifest.json file too, not just the libpepflashplayer.so file. I've edited that into your answer. Also, here's a script that will do all the dirty work for you for the PPAPI plugin: gist.github.com/ruario/215c365facfe8d3c5071. Maybe you could incorporate that into your answer as well.
    – Mike
    Mar 2, 2017 at 15:50

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .