Opera, Flash and Ubuntu (Feisty Fawn, Gutsy Gibbon and Hardy Heron also)

Note 08/01/08: There have been issues after the original plugin has been updated. See Ubuntu Forum, Bug description (workaround or fixed deb for firefox only which is version 9.0.115!) or comments below for more. Components have been removed that also opera needs! Yet another example why closed source is bad… Hence you might want to give gnash a go, i.e. open source flash. The new Flash version is meant to work with opera version > 9.50 Beta, though (see bottom note). Anyway, here it goes for Flash version \leq 9.0.48.0:

Note 2008/04/19: Before you get all frustrated about Flash and Opera you might enjoy operas’ ads.

Here we go

To install Adobe Flash Player after you installed Opera in Ubuntu, I found the best way is to, once again, use the debian way:

sudo aptitude install flashplugin-nonfree

After the install routine is done you need to add the path to plugins options in opera. Alternatively you could link there. To find where the new binaries are located do:

dpkg -S flashplugin-nonfree
app-install-data: /usr/share/app-install/desktop/flashplugin-nonfree.desktop
flashplugin-nonfree: /usr/lib/flashplugin-nonfree
flashplugin-nonfree: /var/cache/flashplugin-nonfree
flashplugin-nonfree: /usr/share/lintian/overrides/flashplugin-nonfree
flashplugin-nonfree: /usr/share/doc/flashplugin-nonfree
flashplugin-nonfree: /usr/share/doc/flashplugin-nonfree/changelog.gz
flashplugin-nonfree: /usr/share/doc/flashplugin-nonfree/copyright

Update 2008/04/16: The correct “list flag” for dpkg would be -L instead of -S:

dpkg -L flashplugin-nonfree | grep -i 'lib'
/usr/lib
/usr/lib/xulrunner
/usr/lib/xulrunner/plugins
/usr/lib/mozilla
/usr/lib/mozilla/plugins
/usr/lib/iceape
/usr/lib/iceape/plugins
/usr/lib/iceweasel
/usr/lib/iceweasel/plugins
/usr/lib/firefox
/usr/lib/firefox/plugins
/usr/lib/midbrowser
/usr/lib/midbrowser/plugins
/usr/lib/xulrunner-addons
/usr/lib/xulrunner-addons/plugins
/usr/lib/flashplugin-nonfree
/var/lib
/var/lib/flashplugin-nonfree

/Update

Alternatively you could link the lib’s binary to Opera’s plugin directory:

sudo ln /usr/lib/flashplugin-nonfree/libflashplayer.so /usr/lib/opera/plugins/

Some say you may need to restart opera in order for plugins to actually work. Fortunally, for me it work right away. In opera’s address field type opera:plugins to see what opera knows about flash.Update: See this blog on bleeding edge info on plugin’s development status if interested.

Ressources:

Update: This works for 7.04, a.k.a. Feisty Fawn, and 7.10, a.k.a. Gutsy Gibbon.

Update 2008/04/16: On a side note: There is the option reinstall for aptitude if one wants to make sure the newest files are all in the right places.

Update 2008/04/19:I stumbled upon the close to be release of Opera 9.5 which is currently in beta state (and has even more great features once again before Firefox has them 😉 ). Supposingly the Debian package should get flash working. I tried the i386 version for Gutsy and it did work for me.

Update 2008/06/28: Here are some command line parameters you can start Opera with. Especially useful would be -debugplugin. To use it you have to open a terminal to see the additional information:

opera -debugplugin [Enter/Return Key]

33 Comments

  1. sysblog said,

    Wednesday, 16th Apr 2008 at 21:48

    Well, unfortunately it looks like it. I’ll recommend Opera never the less 😉

    Good luck

  2. brett said,

    Wednesday, 16th Apr 2008 at 20:12

    Thanks anyway – I guess that means that it is either Opera and no flash or FF and flash. At the moment I think I will stick to Opera.

  3. sysblog said,

    Wednesday, 16th Apr 2008 at 10:54

    Hi brett.

    It seams flash still is a problem in Ubuntu with Opera. I really hope it will get fixed and either gnash (the free flash implementation) will go a big step forward and work. Or the nonfree flash package can be rewritten in a way it works with updates of “upstream” (Adobe) software updates. However I assume the later will not happen due to licensing issues (flash is proprietary, you know!!).

    Now, to get flash to work with Opera Opera needs to find the library files no matter which flash implementation, i.e. which package you use. So it will not get better by deleting files. You either need to copy the lib files (not good since they will not be upgraded if the package is by Ubuntu). Or you link to them as described above. Unfortunatelly if that doesn’t work I don’t have any ideas left.

    Hope it helps,
    sysblog.

  4. brett said,

    Tuesday, 15th Apr 2008 at 22:50

    Then I uninstalled all the flash plugins, deleted any residual files and tried installing the Adobe flash plugin in accordance with the instructions on the Opera website – still nothing.

    Next step – unistall the adobe flash plugin and try reinstalling one of the others, then go through them one by one until hopefully one works.

    Unless some kind soul has another suggestion to put me out of my misery?!

  5. brett said,

    Tuesday, 15th Apr 2008 at 20:35

    Hi

    I just installed Opera – its great. Unfortunately I still can’t get flash working. I tried the above and then looked at the plugins installed in Opera and it had 3 flash plugins (from firefox – totemflash, flashalternative, and then flashiplugin-nonfree which I had just installed)

    I went ahead and deleted the files for the other flash plugins from the mozilla directory and restarted Opera but flash still does not work.

    Any ideas?

  6. sysblog said,

    Monday, 7th Apr 2008 at 18:40

    Sorry, Mark, those files did go; Adobe removed them (see my note at the very top of this page). Because it’s closed source and only the very latest version is available from adobe otherwise great features like installing an older version of an Ubuntu package makes no sense 😦

    You might want to try out the open source alternative, gnash (sudo aptitude mozilla-plugin-gnash). Mind you it’s in early development stage but at least you can use some flash content in pages this way!

    Good luck

  7. Mark said,

    Friday, 4th Apr 2008 at 18:15

    sudo ln /usr/lib/flashplugin-nonfree/libflashplayer.so /usr/lib/opera/plugins/

    No Such File Or Directory?

    Can omeone Please Help!!

  8. Obeah said,

    Monday, 3rd Mar 2008 at 00:38

    I found the flashplayer.xpt file was missing – I copied it from my Feisty install and now Opera workslike a charm.

  9. stazzy said,

    Friday, 29th Feb 2008 at 00:10

    I have same problems, with Opera and Xubuntu 7.10.

    Installing 9.0.48.0 gives md5sum mismatch -error. Installing 9.0.115 seems to work fine, BUT the flash does’t still work in Opera…

  10. Randy said,

    Tuesday, 5th Feb 2008 at 20:51

    Just what I’ve been looking for, thanks!


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: