How to install Flash player on Ubuntu?

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.


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.


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


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.