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...

falko@falko-desktop:~$ sudo locate libflashplayer.so
/opt/Adobe AIR/Versions/1.0/Resources/libflashplayer.so
/usr/lib/flashplugin-installer/libflashplayer.so
falko@falko-desktop:~$

... 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:

 

3 Links

Share this page:

33 Comment(s)

Add comment

Comments

From: New User at: 2009-10-14 13:01:12

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

Thank you!!

From: Anonymous at: 2009-12-05 17:21:53

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

Just wanted to say thank you.

From: Ampers at: 2009-12-08 17:59:02

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.

 

 

 

From: Pratyush at: 2009-12-11 18:50:26

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 !

From: Manish at: 2009-12-11 21:16:28

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...

From: Ozgurubuntu at: 2009-08-25 22:18:24

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

From: videoandfun at: 2009-08-29 20:26:04

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? :)

From: videoandfun at: 2009-08-29 21:12:12

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.

From: Anonymous at: 2009-11-21 22:22:14

Great help

 Follow every step, work just great.  Thanks

From: roberto at: 2009-08-27 07:39:52

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

From: Andy at: 2009-08-27 10:52:05

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

From: Bren at: 2009-10-15 06:25:39

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.

 

From: Ajith at: 2009-10-19 01:30:11

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

From: Georgi Bonev at: 2009-08-27 15:15:50

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 ?

From: Neil Murphy at: 2009-08-27 16:39:21

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

From: Anonymous at: 2009-08-28 08:17:18

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...

From: SanD0R at: 2011-07-10 03:25:06

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!!!

From: jonas at: 2009-09-18 17:22:02

Thanks, it worked for me after rebooting.

From: Anonymous at: 2009-09-10 18:31:44

simple and clear ! it Works !

From: Snaga at: 2009-08-31 20:13:13

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?

From: Lopo Lencastre de Almeida at: 2009-08-31 09:06:52

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

From: a3m nix at: 2009-08-29 10:24:00

Nice tutorial..

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

From: jhon at: 2010-01-31 06:29:30

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

From: Anonymous at: 2010-03-10 09:09:59

thanks a lot, it works on openSuse 

From: Klad_Master at: 2010-04-09 11:43:54

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.

From: Greg314 at: 2010-05-23 13:46:34

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.

 

From: Linux Newbie at: 2010-06-03 17:14:03

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! 

From: Rafael at: 2010-06-28 21:58:15

Hi,

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

From: Anonymous at: 2010-09-13 16:34:48

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

From: Anonymous at: 2011-01-29 08:42:38

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

From: PeteLong at: 2011-01-31 12:33:04

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




Pete

From: amindeed at: 2011-09-09 14:47:10

 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!

From: Stephen at: 2012-06-07 16:02:17

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 :)