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.

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.

Want to read Linux tips and tricks, but don't have time to check our blog everyday? Subscribe to our daily email newsletter to make sure you don't miss a single tip/tricks. Subscribe to our weekly newsletter here!

{ 36 comments… read them below or add one }

1 jack 09.17.06 at 11:31 pm

To get flash sound working in Ubuntu, run the following commands to setup the ESD environment:

Make sure you use updated version:
sudo update-flashplugin

Now fix sound:
sudo ln -s /usr/lib/libesd.so.0 /usr/lib/libesd.so.1

ln -s /tmp/.esd-1000 /tmp/.esd

Above three steps fixed my sound problem. Hope this helps some one.

Cheers,

Jack

2 macewan 10.19.06 at 5:37 pm

Flash 9 is now available for Linux. I’ve tested it on Edgy with Beryl and it still works just fine.

cheers,

3 Steve 08.23.07 at 3:05 pm

When I installed the flashplayer trom the terminal (which was far easier than downloading and unpackaging a .tar file by the way), I only had to type in the first command of the two provided i.e apt-get sudo install flashplugin-nonfree. In fact, the terminal did not recognize the command sudo update-flashplugin. It didn’t matter because when I tested my system it was working anyways

4 mike 06.27.08 at 6:59 pm

i am new to Ubuntu and am trying to install flashplugin i have typed the above 2 lines in, Ubuntu asks for a password I try to type my password in but it wont let me! Can anyone help please? thanks Mike

5 Thomas 06.28.08 at 5:31 pm

Nope, the first command does the install, so the second one is not needed. The first one also fails.

After it downloads the file, it uppacks it, then comes back with this:

md5sum mismatch install_flash_player_9_linux.tar.gz
The Flash plugin is NOT installed.

6 IGI 07.03.08 at 12:18 pm

Where do i have to write this (I’m totally new to ubuntu). Can please someone tell me step by step or something… I tryed the terminal, looks like:

igi@igi:~$ $ apt-get install flashplugin-nonfree
bash: $: command not found

7 vivek 07.03.08 at 1:14 pm

You only need to type following without $ symbol:
sudo apt-get install flashplugin-nonfree

8 IGI 07.03.08 at 1:35 pm

Thank you ;D managed

9 fere 07.05.08 at 7:50 pm

um, I’m really new to ubuntu too. I followed vivek instructions and they worked, so I typed my password and all that, but then it says that the flashplugin-nonfree can’t be found. Is there something that I need to do first? HELP!

10 fere 07.08.08 at 5:45 am

ok, never mind… I got it.

11 Shaan 07.11.08 at 7:59 pm

Reading package lists… Done
Building dependency tree
Reading state information… Done
E: Couldn’t find package flashplugin-nonfree
zeeshan@shaan:~$ sudo update-flashplugin
sudo: update-flashplugin: command not found
——-

While executing, I get this error. I’m a newbie to ubuntu. anyideas.

12 fere 07.13.08 at 11:14 am

@ Shaan: Maybe you don’t have the multiserver/universe enable, not sure if that would work, just an idea… I’m new too.

13 MarkV 07.19.08 at 11:49 am

I’ve tried all methods – gui, and terminal. All say they complete properly, but no player – Hardy Heron and Firefox 3. Where do I go from here?

Thanks in advance.

14 shilo 08.19.08 at 5:37 pm

I’m new to xubuntu and I got flash,and itunes but I can’t hear the flash videos please help me!!!

15 san 08.19.08 at 7:28 pm

ardy Heron and Firefox 3. Where do I go from here?

16 Andre Gompel 08.24.08 at 5:45 am

== On ubuntu 8.04.1 64 bits ==

1) From the Adobe Web site download the latest linux flash player which is an RPM file.

For me, the file was:

“adobe-release-i386-1.0-1.noarch.rpm”

Then using from the command line, where the file is:

1) alien -d adobe-release-i386-1.0-1.noarch.rpm

This will create a debian package file:

“adobe-release-i386_1.0-2_all.deb”

2) Install “classically” as any other .deb package.

I just used Dolphin, clicked on the .deb file, and installed using the package installer as proposed.

3) Exit Firefox.

4) Kill Firefox task:
ps -e |grep -i fire

18509 ? 00:01:13 firefox

kill 18509 (or the task id, given above)

That’s all, try Utube to test that flash works!

17 Craig Barnes 09.09.08 at 6:27 pm

Will somebody PLEASE tell me how to locate where installed plugins are and much more importantly, how to actually run them??!! When I return to the webpage that said a specific plugin was missing, nothing has changed. The message and icon (don’t even know how to describe it) are still there and I still can’t view the video or hear the sound associated with it. Enough with all this installation info and advice, already, please. Doesn’t anybody know how to instruct a complete newbie how to locate and then actually get the ***** plugin or program to run? This is incredibly frustrating trying to get an answer to this on any forum, official documentation, or chat board I’ve been to. I can’t believe Linux users just install programs and then just leave them in whatever location and never actually run or use them.

Craig Barnes

18 Jennifer Werkhoven 09.11.08 at 5:19 am

Oh my god. THANK YOU.

19 seph 09.11.08 at 10:09 pm

ok I am fairly new to ubuntu but have been using it for some time i had youtube working at one time but one day it just didnt work any longer I’ve tried the adobe flash player to no avail i’ve tried updating my plug-in nterminal reads “command not found” i need some help someone let me know this secret

20 migueltherocker 10.28.08 at 10:07 pm

i get the following error

“E: dpkg was interrupted, you must manually run ‘dpkg –configure -a’ to correct the problem. ”

help?

21 khalil khan 12.21.08 at 7:17 am

i unable to install flash player on NIClinux

22 Jomar Sarmiento 12.24.08 at 7:23 pm

Ok, I’m new to Ubuntu (I’m using Ubuntu 8.04 LTS), and I want to install Flash Player. It successfully installed the Flash Plugin but when I try it on YouTube, MySpace, etc., it doesn’t work.

Please, can someone help me?

23 Paul Mozarowski 12.31.08 at 2:38 am

someone at cornell used to have a website where you could just copy and paste directly everything you needed to do to set everything up. Now that person must have been hired to do a job somewhere, and that webpage has disappeared. now i have no idea how to get my flash player to work. it was working before, but now there is version 10, and when i went to update it, it only got so far, and then there was an error, and now nothing works, and there is no cornell site to help me aaaaaaarrrrrrrrgggggghhhhhhhhh.

24 HollyWood 01.07.09 at 3:52 am

Apparently there is a bug with the flash plugin for Firefox on Ubuntu 8.10.

25 Ste 01.25.09 at 8:26 am

I used the sudo apt-get install flashplugin-nonfree to install flash, it was easy quick and much better then trying to figure out how to install sources. Thank you.

26 FFP 02.11.09 at 3:14 am

Thank you sooooo much Ste!!!
So easy and it works
remember to restart your browser after the install is complete

27 Tatiana 02.11.09 at 10:14 pm

Hey guys, I’m newbie with Linux. I followed all the instructions and the flash player was installed successfully, although, the plug in does not work at Firefox! It seems like there’s not any plug in here. =( Did I forget something? Thanks everyone!

28 Nanreh Natsuba 03.04.09 at 2:59 am

Finally, it works! Thanks..

29 elSivestre 05.02.09 at 2:12 am

it worked for me, on ubuntu 9.4 (64bits) !!!

30 type 05.13.09 at 7:21 am

ty Jack.

31 Gary 05.19.09 at 12:56 am

I installed the package but YouTube and other sites still ask me to upgrade to a newer version of Flash. As I recall from several years ago, some versions of Ubuntu are broken regarding the installer. You have to figure out where the files should be and move them there. Still working on mine with a new install of Dapper Drake. It sure would be nice if someone with a tiny bit of real expertise would explain the solution.

32 Vince noir 05.19.09 at 3:51 pm

E: couldnt find package flashplugin-nonfree

It cant ever seem to find any thing, using jaunty
Can anyone help me figure this out.

33 seph 05.22.09 at 2:37 am

ok The only work around i ever found for this is gnash forget this thread look in your synaptic manager locate gnash and install the newest version as of march this year is gnash 0.8.5 its a software that is fully compatible with linux installing it is somewhat of a hassle but just read the instructions and it should help you all

I received the same message as vince noir E:package couldnt be found blah blah

Try gnash if it doesnt work for you simply uninstall it

GOOD LUCK No one said linux was easy but it sure is fun and rewarding when you finally get something to work

34 skymuss 06.03.09 at 8:57 am

http://get.adobe.com/de/flashplayer/otherversions/

deb source of flash player 10

have fun
skymuss

35 Andre 06.30.09 at 8:03 pm

Thx for the tip, this worked for me in ubuntu v9.?? and AMD64 and firefox 3.??
But I use Opera daily, and in opera it’s not working :(

36 Andre 06.30.09 at 8:40 pm

This worked for opera9.64 (and firefox they reported), in AMD64 and ubuntu 9.04

Just download an unzip(I did this in the desktop, where ever this may be):
wget http://download.macromedia.com/pub/labs/flashplayer10/libflashplayer-10.0.d20.7.linux-x86_64.so.tar.gz
tar -xvzf libflashplayer-10.0.d20.7.linux-x86_64.so.tar.gz

Copy the file:
sudo cp libflashplayer.so /usr/lib/mozilla/plugins/

and clean up everything:
rm libflashplayer.so
rm libflashplayer-10.0.d20.7.linux-x86_64.so.tar.gz

Leave a Comment

You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Tagged as: , , , , , , , , , , , , , , , ,

Previous post: Howto: Linux set up the X Window System to allow remote X sessions via the XDMCP

Next post: Do I need to recompile PAM-aware application before using a PAM module?