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

Want to support HowtoForge? Become a subscriber!
 
Submitted by falko (Contact Author) (Forums) on Tue, 2009-08-25 16:52. ::

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


Please do not use the comment function to ask for help! If you need help, please use our forum.
Comments will be published after administrator approval.
Submitted by Stephen (not registered) on Thu, 2012-06-07 17:02.
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 :)
Submitted by amindeed (not registered) on Fri, 2011-09-09 15:47.

 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!

Submitted by PeteLong (not registered) on Mon, 2011-01-31 13:33.
By default in x64 Chrome its not there!! Heres some more information that might be helpful, 



Pete

Submitted by Anonymous (not registered) on Sat, 2011-01-29 09:42.
Dude you are genius...thank you so much...
Submitted by Anonymous (not registered) on Mon, 2010-09-13 17:34.
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
Submitted by Rafael (not registered) on Mon, 2010-06-28 22:58.

Hi,

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

Submitted by Linux Newbie (not registered) on Thu, 2010-06-03 18:14.

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! 

Submitted by Greg314 (not registered) on Sun, 2010-05-23 14:46.

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.

 

Submitted by Klad_Master (not registered) on Fri, 2010-04-09 12:43.
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.
Submitted by Anonymous (not registered) on Wed, 2010-03-10 10:09.
thanks a lot, it works on openSuse 
Submitted by jhon (not registered) on Sun, 2010-01-31 07:29.
I just started using ubuntu so stuff isnt so easy for me, thanks a million mate!
Submitted by Manish (not registered) on Fri, 2009-12-11 22:16.

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

Submitted by Pratyush (not registered) on Fri, 2009-12-11 19:50.
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 !
Submitted by Ampers (not registered) on Tue, 2009-12-08 18:59.

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.

 

 

 

Submitted by Anonymous (not registered) on Sat, 2009-12-05 18:21.

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

Just wanted to say thank you.

Submitted by Anonymous (not registered) on Sat, 2009-11-21 23:22.

Great help

 Follow every step, work just great.  Thanks

Submitted by Ajith (not registered) on Mon, 2009-10-19 02:30.
hey really thanks for the help in chrome regarding plugins works suprb for me.. just turned to ubuntu.. it rocks now..
Submitted by Bren (not registered) on Thu, 2009-10-15 07:25.

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.

 

Submitted by New User (not registered) on Wed, 2009-10-14 14:01.

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

Thank you!!

Submitted by jonas (not registered) on Fri, 2009-09-18 18:22.
Thanks, it worked for me after rebooting.
Submitted by Anonymous (not registered) on Thu, 2009-09-10 19:31.

simple and clear ! it Works !

Submitted by Snaga (not registered) on Mon, 2009-08-31 21: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?

Submitted by Lopo Lencastre ... (not registered) on Mon, 2009-08-31 10:06.

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

Submitted by a3m nix (not registered) on Sat, 2009-08-29 11:24.

Nice tutorial..

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

Submitted by Anonymous (not registered) on Fri, 2009-08-28 09:17.

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

Submitted by SanD0R (not registered) on Sun, 2011-07-10 04:25.

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

Submitted by Neil Murphy (not registered) on Thu, 2009-08-27 17:39.

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

Submitted by Georgi Bonev (not registered) on Thu, 2009-08-27 16:15.

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 ?

Submitted by Andy (not registered) on Thu, 2009-08-27 11:52.
...scrolling pages with flash content becomes very slow.
Submitted by roberto (not registered) on Thu, 2009-08-27 08:39.

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

Submitted by Ozgurubuntu (not registered) on Tue, 2009-08-25 23:18.

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

Submitted by videoandfun (not registered) on Sat, 2009-08-29 22: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.

Submitted by videoandfun (not registered) on Sat, 2009-08-29 21:26.

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