How To Enable Adobe's Flash Player In Google Chrome (Ubuntu 9.04) - Page 2

2 Enabling The Flash Plugin

Open a terminal (Applications > Accessories > Terminal):

If the Flash plugin is already installed for Firefox, we have to find out where it is located:

sudo updatedb
sudo locate libflashplayer.so

If it is installed, output should be similar to this one...

[email protected]:~$ sudo locate libflashplayer.so
/opt/Adobe AIR/Versions/1.0/Resources/libflashplayer.so
/usr/lib/flashplugin-installer/libflashplayer.so
[email protected]:~$

... which means the Flash plugin is located in /usr/lib/flashplugin-installer/libflashplayer.so. If there's no output, this means that the Flash plugin isn't installed - you can then install it as follows:

sudo aptitude install flashplugin-installer

Now we create a plugins directory for Google Chrome...

sudo mkdir /opt/google/chrome/plugins

... and copy the Flash plugin to it:

sudo cp /usr/lib/flashplugin-installer/libflashplayer.so /opt/google/chrome/plugins

Finally we have to tell the Google Chrome launcher that it should look out for plugins. To do this, we right-click on Applications and select Edit Menus:

In the Menu Editor, go to Internet > Google Chrome and click on the Properties button:

In the Launcher Properties window, replace the contents of the Command field with this line...

/opt/google/chrome/google-chrome --enable-plugins %U

... and click on Close:

Then leave the Menu Editor.

That's it! We can now launch Google Chrome (Applications > Internet > Google Chrome):

If you start Google Chrome for the first time, you'll see this dialogue. Make your choices and click on Start Google Chrome:

Now go to a web site that has Flash videos (e.g. YouTube), and you should be able to watch them which means that the Flash plugin is working:

 

Share this page:

Suggested articles

33 Comment(s)

Add comment

Comments

By: New User

I have a question to all of you. How can I uninstall flashplayer from ubuntu 9.04. 

Thank you!!

By: Anonymous

Excellent guide! Even a Linux-noob like me was able to do this!

Just wanted to say thank you.

By: Ampers

Thanks, very detailed and easy to follow instructions. My locations were the same as yours - even went to the folders to check. So doing it was easy. However I am using Ubuntu 9.10 and still get no sound, even after rebooting. So it's back to the drawing board for me.

 

 

 

By: Pratyush

Thank you falko, thanks a lot ! your post is of great help... Better than everything else on the net on this topic... Thanks a lot !

By: Manish

Just open Adobe.com from your Chrome Browser and click on Get Adobe Flash Player button on the home page.

Install Adobe Flash Player using "APT for Ubuntu 9.04"

Refresh the Youtube page... there you go...

By: Ozgurubuntu

Thanks for post, there follows a method

sudo apt-get install adobe-flashplugin

sudo cp /usr/lib/firefox/plugins/flashplugin-alternative.so /usr/lib/chromium-browser/plugins/flashplugin.so

By: videoandfun

thanks a lot for this easy tutorial =)

flash-videos like youtube works now in my google chrome by ubuntu.

but: 1.) i've no audio under google chrome (on firefox it works)

 2.) a site with flash-content is very slow in scrolling

 

 can you help me? :)

By: videoandfun

check with about:plugins if there are more Shockwave Flash files.

 do only use the actually version!! delete the other one.

 for example in /home/USERNAME/.mozilla/plugins/ can be the another file.

By: Anonymous

Great help

 Follow every step, work just great.  Thanks

By: roberto

could be the directory

 /opt/google/chrome

 is not present so modify the command in this way

 sudo mkdir -p /opt/google/chrome/plugins

 avoid the problem

By: Andy

...scrolling pages with flash content becomes very slow.

By: Bren

Hi - this was very helpful thanks.  I had done extensive surfing and tried several solutions to try and get flash player working on Firefox, all to no avail.  Then I saw this article.  So following this I have simply added Chrome to my ubuntu and then followed the steps you suggest.  I didn't have the flash plugin and the steps that you suggest above worked superbly.  Upshot, I now have Chrome, which seems to be tons faster than Firefox, and Flash player works on it.  Brilliant.  For anyone interested I had a Packard Bell Easy Note old laptop, and removed windows and put ubuntu on it.  Worked a treat first time round, laptop is considerably more reliable now (doesn't freeze) wireless networking was a bit tricky to get working but have done so (secret appears to be to deny the keyring).  Have been a linux fan ever since having Xandros on an eee pc netbook.

 

By: Ajith

hey really thanks for the help in chrome regarding plugins works suprb for me.. just turned to ubuntu.. it rocks now..

By: Georgi Bonev

What if some1 run the browser with ALT+F2 (for example I do) ?

Then is it possible to setup the "--enable-plugins" option to be executed automatically along with gthe "google-chrome" command or I should keep writing it after the command every time I like to run it ?

By: Neil Murphy

Oh hi there, I was so happy to finally come across an online tutorial that walked me though installing something that actually worked from start to finish that I had to send a big kudos to the author of this 'how to'. I have used microsoft all of my life and I'm slowly learning linux....which can be very confusing. This how-to guide was flawless and written in easy to understand terms and I really do thank the team or person who created this. I would certainly hope you would post more 'how to' articles about linux/ubuntu.

 Right now I'm trying to figure how to get a IRC client and my Ubuntu system to play DVD's. If you know of any really good tutorials please pass them along.

Thanks again and keep up the great work

 

Neil Murphy

By: Anonymous

The title of the article is "How To Enable Adobe's Flash Player In Google Chrome (Ubuntu 9.04)"

Launching Chromium by the command

"google-chrome --enable-plugins" (or " chromium-browser --enable-plugins" depending on the installed version)

usually suffices!

 The rest of the article is just plain waste of space...

By: SanD0R

IN REPLY TO THE IDIOT WHO WROTE: The title of the article is "How To Enable Adobe's Flash Player In Google Chrome (Ubuntu 9.04)"Launching Chromium by the command "google-chrome --enable-plugins" (or " chromium-browser --enable-plugins" depending on the installed version) usually suffices!  The rest of the article is just plain waste of space

This would be a fair comment, but for a couple of glaringly obvious flaws in your post. However, if you had a brain, weren't just out to put people down and tried an alternative to being a boring sad little troll you would have realized this.

The author covers how to install Flash Player for Chrome, How to edit the menus in Ubuntu to enabled aforementioned "Chrome with plugins" and it is written in such a way that a total novice can follow it with ease.

The author has made the article so easy to follow, my 9yr old daughter was able to install the plugin into Chrome. My daughter has never used Linux before in her life.

So, stop hating on people and being a nasty pathetic little turd. What you wrote was a waste of space, furthermore... YOU ARE A WASTE OF SPACE AND ARE BREATHING VALUABLE OXYGEN THAT OTHER PEOPLE WHO ARE MORE DESERVING COULD BE BREATHING!!!

By: jonas

Thanks, it worked for me after rebooting.

By: Anonymous

simple and clear ! it Works !

By: Snaga

I have been trying unsuccessfully to get flash to work with Chromium for several days. I also have Crossover Office Professional installed on this box. When I do an about:plugins, I can see that there are two flash plugins that are activated. The first one in the list is associated with Crossover, and the path to it I'm sure is invalid.

Has anyone else had this issue? Not sure what to do, it would be a huge hassle to uninstall Crossover. Can plugins be deactivated individually somehow?

By: Lopo Lencastre de Almeida

I suggest, instead of copying the lib, to ma ke a symlink. With this whenever the .so is updated it will be also updated for Google Chrome.

sudo ln -s /usr/lib/flashplugin-installer/libflashplayer.so /opt/google/chrome/plugins/libflashplayer.so

By: a3m nix

Nice tutorial..

I'm using ubuntu jaunty 9.04, and Flash Player can use In my google chrome...successfull.... thanks very much...

By: jhon

I just started using ubuntu so stuff isnt so easy for me, thanks a million mate!

By: Anonymous

thanks a lot, it works on openSuse 

By: Klad_Master

Thank  you!
I didn't find any other information about this. But this was a great tutorial! I have Ubuntu 9.10, so it worked on it too.

By: Greg314

Thanks, it worked perfectly well !

I actually don't understand why Flash just stopped working on Chrome a couple of days ago whereas it was working before... but anyway your tuto fixed the stuff.

 

By: Linux Newbie

Thank you so much, this works like a charm!

I was unable to watch YouTube videos after installing Ubuntu 10.04 LTS Lucid Lynx. None of the solutions worked, and I had almost given up hope. Luckily, I came to this page through a search on Google and tried this fix.

It works perfectly, and on 10.04 as well! Again, thanks for the help, amigo! 

By: Rafael

Hi,

 Thank you for this article. Was perfect to me!!

By: Anonymous

Thanks! Worked great. I recently got a new machine and flash was working on my old one but not the new one. Now it does :D

By: Anonymous

Dude you are genius...thank you so much...

By: PeteLong

By default in x64 Chrome its not there!! Heres some more information that might be helpful, 




Pete

By: amindeed

 Hello,

To enable FlashPlayer for SRWare Iron Browser (a more secure fork of Chrome/Chromium) on Debian: (as "root")

# apt-get install flashplugin-nonfree
# updatedb
# locate libflashplayer.so
          |____>      /usr/lib/flashplugin-nonfree/libflashplayer.so
# cp /usr/lib/flashplugin-nonfree/libflashplayer.so /usr/share/iron/

Restart the browser

You don't need to add "--enable-plugins %U" to the command line.

Enjoy!

By: Stephen

Thank's a million man, is was driving me nuts and i'm new to linux so i'm still trying to figure it all out :)