Posted by: sysblog | Tuesday, 18th Mar 2008

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]

Responses

Thank you!!!

Thanks a ton!! I have been trying to install flash player for ages and now it is working!

Glad it was helpful. Thanks for your feedback!

By the way, there is also gnash, an open source implementation of flash. Unfortunately it’s not as complete as the proprietary one by Adobe, yet.

Cheers,
sysblog.

Dude you are a hero. Just started using UBUNTU today and for the life of me I couldn’t get Opera and Flash co-operating. Firefox and flash did work but I don’t like Firefox, not to mention its fairly unstable.

Thanks a bunch!

Here (gutsy gibbon) it fails on installing the flashplugin-nonfree. It looks like it isn’t downloaded correctly, but when I remove it and try again, the same thing happens. I’ll look at it some other time. Tnx for the info on how to get it to work in opera once it is installed!

23:17:51 (1.34 MB/s) - `./install_flash_player_9_linux.tar.gz’ saved [3036127/3036127]

Download done.
md5sum mismatch install_flash_player_9_linux.tar.gz
The Flash plugin is NOT installed.

Echo the above comment about md5sum problems with gutsy. Haven’t yet figured out how to get it to work. If anyone gets a solution lemme know

“md5sum mismatch” is a recently introduced bug caused by Adobe updating the installer without changing its file name. Enable “proposed updates” to install a fixed version of the Flash installer. See UbuntuUpdates and [WWW] bug #125131

Edit by sysblog: Added the link to the bug. Ta for pointing out, jb! The correct bug number seams to be #173890, though. A fix has been proposed there, too.

I’ve enabled proposed updates, updated my system, and reinstalled Flash, and I’m still getting the md5sum mismatch. Am I still looking for “flashplugin-nonfree” or is there a different package?

Hi Mark.

Apologies for replying so late. I didn’t have time before to test it. The package is still called flashplugin-nonfree and as jb said it’s been known as a bug.

I did a test run installing that package and it worked just fine for me.

Have you completely removed, i.e. purged, the packege or used reinstall option of aptitude?

To doublecheck you might want to do:


$ sudo aptitude purge flashplugin-nonfree
$ sudo aptitude -V install flashplugin-nonfree=9.0.48.0

purge removes everything the package installed and package=versionnumber makes really, really sure to install a newer package version (9.0.48.0 is the last version that works. Note this has security issues, though). And finally -V option even shows the version of listed packages.

You may also use the deb file pointed out at the top. It’s version 9.0.115 of the plugin which is not supported officially because of persisting problems with Konquerer… (see post in bug description).

Hope that helped.

Cheers,
sysblog.

Thank you.

It works.

Just what I’ve been looking for, thanks!

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…

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

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

No Such File Or Directory?

Can omeone Please Help!!

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

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?

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

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.

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.

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

Good luck

[...] Ubuntu, Opera, Flash and Feisty Fawn — Moved This Post has been updated and, hence, a new address. [...]

hi sysblog. Hope you can help me here. I am trying to install the flash player for opera and hardy heron. I’m not used to tech speak, I can’t even navigate in the terminal even though I’ve tried countless times the ‘cd desktop’ instruction that i’m given on launchpad. It’s getting quite frustrating. Nor do I understand the instruction you give for the Debian way of doing things as the screen shots you have look nothing like the terminal screen so I have nothing to reference the information you give to what I actually see on screen. Do you have a step by step idiots guide for complete beginners to installing flash for opera in the hardy heron? It’s driving me nuts as i can’t make head nor tail of it. Hope all is well with you and that you can help.
Be Blessed
e*

Hi, Iain. Just on my why to bed, so no on-the-fly walk through right now ;) But I will see what I can do hopefully soon.

Let me speak out respects for your adventure in trying to solve this. You must really love Opera (good on ya!). :)

See ya soon. Good night and good luck!

AT LAST!!! Opera and flash working OUT OF THE BOX in Ubuntu!!! The “close to be released” version in the link in your article of the greatest browser in the world WORKS without a lot of useless manouevering in Hardy Heron!!! THANK YOU SO MUCH for pointing it out!

puptentacle, I assume you mean the link to Opera 9.5 Beta? Let me add that in the meantime Beta 2 has been released. Stay updated on that matter (or via RSS Feed).

I’m glad I could help you find a solution!

Iain, if installing the (fairly stable) beta version 9.50 is an option to you, it seams to find the right files to show flash content, as puptentacle described.

I haven’t had the time to test it myself and, thus, come up with more detail.

By the way, I’m working on putting together a small screencast/video to show the steps, but that will take some more time. Stay tuned if you wish (you might what to consider Bloglines with this RSS link or all comments to my blog).

thanks a lot!!! I finally got my opera ready! I dunno why it likes me much more than firefox in ubuntu

This is another solution that doesn’t work for me. I don’t know how many hours i’ve spent trying to get flash to work in unbuntu. I really like opera for a lot of reasons but I don’t like the attitude of the opera organization toward ubuntu linux users. Their attitude is “f___ you, ubuntu users.” This is really stupid on their part because ubuntu users are probably more open to trying new software than any other group of users. There are a few other opera-ubuntu issues but the flash issue is the deal-breaker as far as I’m concerned. I’ve deleted opera from my system so I won’t be tempted to waste any more time on this problem.

Sorry to hear that I couldn’t help you, neither. But I wouldn’t point my finger at Opera since, at least from my experience, they are one of the very few closed source companies that have a high priority on usability and variety/cross-platform. Flash support in Ubuntu is not the best even for Firefox, you know.

I wish you that you’ll find a solution; sometimes solutions come around the corner where you would never have expected them when you stopped trying to hard :)

Leave a response

Your response:

Categories