Enabling Flash in Chrome on Ubuntu 10.04

      by Wyatt Walter

Hello again there, world. I’ve been away from my computer for a little while now as I relocated to Silicon Valley, but I got a chance to play around with one of the Alpha’s of Ubuntu 10.04 this weekend. The new version has some vast improvements in the looks over the last one as well as now it includes Google Chrome in the default repository. When I wanted to setup Flash for Chrome, I followed a handy how-to, but this one didn’t account for the fact that Chrome was installed via the regular repositories and wasn’t installed to /opt.

To install, I simply had to follow the step-by-step with a few modifications:

  1. Install Chrome and Flash (with the Ubuntu Software Center or with apt-get
  2. sudo apt-get install chromium-browser flashplugin-nonfree

  3. Add the Flash plugin to the Chrome plugins directory
  4. sudo cp /usr/lib/flashplugin-installer/libflashplayer.so /usr/lib/chromium-browser/plugins/

  5. Restart Chrome

That’s it. While a bit annoying that one has to install Flash for Chrome this way (especially considering YouTube – another Google product – relies on Flash), but it’s not too painful.

If you still run into problems, you can double-check the location of the file (using locate libflashplayer.so) needed and the location where Chrome is installed (using whereis chromium-browser).

If you’ve just installed Ubuntu 10.04 and came across this, you may also want to install the browser Java plugin as well.

Tags: , , ,
Filed under How-Tos / Tips : Comments (11) : Mar 15th, 2010

11 Responses to “Enabling Flash in Chrome on Ubuntu 10.04”

  1. Nicolas Perrault Says:

    Thanks my friend!

    Works perfect for me. Two thumbs up!

  2. So anyway….. Ubuntu 10.04 « Greywulf's Lair Says:

    [...] the app setup is good, there’s a few things I added  from the start. Adding Flash and Google Chrome is easy enough, and with the Adblock for Chrome Extension it’s an even faster  and [...]

  3. Rommel Says:

    Nice article!

    In my case, I only installed the 64bit flash plugin once and it works like wonder on both firefox and chrome. :)

    Here’s how I did it.

  4. Phil Says:

    Works perfectly. Thanks a bunch!!

  5. Brian Says:

    This method doesn’t work if you download and install chrome using the .deb package provided by Google. Any suggestions? :)

  6. mediaseth Says:

    Thanks. A friend pointed me here to get flash working in Chrome after I couldn’t get it to work in Firefox. However, I still get “An error occurred, please try again later.” in either browser. I’m at a total loss since every supposed fix posted online seems to fail. :(

  7. Wyatt Walter Says:

    @Brian – The method should work, but the paths will be a bit different. Do you know what path Chrome got installed to?

  8. Wyatt Walter Says:

    @mediaseth Hmm yeah, if it didn’t work in Firefox to begin with, it’s probably not going to work in Chrome. What method did you use to install Firefox and Flash? Does the file /usr/lib/flashplugin-installer/libflashplayer.so exist?

  9. mediaseth Says:

    Well, things “broke” when I upgraded to the latest version of Ubuntu. I didn’t do a fresh install. Previous to that, I could view flash in Firefox.

    Here’s a weird thing: I can view videos from youtube that have been embedded into blogs and such. They just don’t seem to work on youtube, itself.

    libflashplayer.so does exist..

  10. Jebril Says:

    Am I the only one who had Chrome working with Flash out of box?

    I found it very odd, my main problem is I can’t get Java to work on Chrome so I have to use Firefox.

  11. AJ Says:

    Well I don’t know about using this to install flash in Chrome, since my installation of Chrome doesn’t seem to have a plugins folder. Instead, I just used these directions to install Chromium and I started using it instead! It works awesome. :-D

    Are there any drawbacks to using Chromium instead of Chrome?

Leave a Reply