Ubuntu Linux: How to Install Flash Player for firefox

Q. How do I install Flash Player for Firefox web browser under Ubuntu Linux?

A. First, close running Firefox.

Advertisement

Open the terminal (shell prompt)

Install Flash Player For Ubuntu Linux

Type the following command to install flash player:

$ sudo apt-get install flashplugin-nonfree

Now flash player should be working. Visit youtube or any other site to view flash content.

Troubleshooting tip

Update: This issue only relevant to older Ubuntu Linux version such as 6.04.

Some people may find voice is not working with newly installed flash player. Type following commands to solve this problem (thanks to macewan.org):
$ sudo apt-get install alsa-oss
$ gksudo gedit /etc/firefox/firefoxrc

Find line that read as FIREFOX_DSP and set to:
FIREFOX_DSP="aoss"

Save and close the file.

Close Firefox and restart it again.

🥺 Was this helpful? Please add a comment to show your appreciation or feedback.

nixCrat Tux Pixel Penguin
Hi! 🤠
I'm Vivek Gite, and I write about Linux, macOS, Unix, IT, programming, infosec, and open source. Subscribe to my RSS feed or email newsletter for updates.

136 comments… add one
  • funky May 23, 2012 @ 18:26

    Linux debian 2.6.32-5-amd64 #1 SMP Sun May 6 04:00:17 UTC 2012 x86_64 GNU/Linux

    1 just download install_flash_player_11_linux.x86_64.tar.gz
    2 extract it
    3 put libflashplayer.so in /usr/lib/mozilla/plugins/
    so that you get /usr/lib/mozilla/plugins/libflashplayer.so
    DONE:
    works even w/o restarting firefox 15
    check about:plugins
    you should see: Shockwave Flash file:libflashplayer.so

    • oldtechy Apr 6, 2013 @ 17:05

      Thank you Funky. I have spent many hours trying to get my Ub’ 10.10 laptop to run Flash_player after a re-install, and your instructions cured my problem.
      I am an old engineer – slowing down I fear – but its nice to meet someone who
      understands !!!
      I refuse to shift to Ubuntu 12 as I like the simplicity of using 10.10.

  • Owain Mar 30, 2013 @ 2:24

    I tried everything to get flash player to work on Firefox.

    Tried clicking “update” whe it whinged about having a missing plugin.

    Tried the sudo approach. But that involved a lot of messing about with files and directories, I found. Plus the Adobe site isn’t very useful to Linux users.

    So I found the simplist solution of all… click SOFTWARE MANAGER… search for “adobe flash” and hit INSTALL.

    Simples.

  • Uthkarsh May 15, 2013 @ 5:32

    Thank you very much! The very first instruction works flawlessly.

  • harry d Aug 15, 2013 @ 6:14

    How do you install the flashplayer 11 linus.1386.tar.gz after downloading it with Firefox? What is the right command line?

  • Elizabeth Oct 30, 2013 @ 15:00

    when i type it in it asks for my password, i type it in and hit enter but it says elizabeth is not in sudoers file. this incident will be reported
    What can i do?

  • wysla Feb 19, 2014 @ 15:04

    it is so simple just copy the following command(below) onto your terminal, ubuntu will ask for your password then hit enter the after it finishes installation restart your browser

    sudo apt-get install flashplugin-installer

  • Shiko Jul 11, 2014 @ 12:49

    I am trying to install an updated version of Plugins for my Mozilla Firefox on terminal using the command
    sudo apt-get install flashplugin-nonfree
    but it brings me an error
    Package flashplugin-nonfree is a virtual package provided by:
    adobe-flashplugin 11.2.202.378-0precise1
    flashplugin-installer 11.2.202.394ubuntu0.12.04.1
    You should explicitly select one to install.
    E: Package ‘flashplugin-nonfree’ has no installation candidate
    PLEASE HELP

  • Mike Aug 11, 2014 @ 17:27

    Doesn’t work.

Leave a Reply

Your email address will not be published. Required fields are marked *

Use HTML <pre>...</pre> for code samples. Your comment will appear only after approval by the site admin.