Install native 64bit Flash Player 10 on Linux

| | Comments (42) | TrackBacks (3)
digg this EDIT: updated the scripts to install the 64-bit Flash Player 10 alpha refresh for Linux that was released on February 24, 2009.

Adobe FINALY released a native 64bit Flash Player 10 plugin. Although this is still an alpha release, the news is very exciting for Linux users, since we don't longer depend on nspluginwrapper, which although does the job, has it's drawbacks.

I have put together a small tutorial on how to install the native flash player 10 64bit plugin for linux.

#!/bin/bash
# Script  created by
# Romeo-Adrian Cioaba romeo.cioaba@spotonearth.com

echo "Stopping any Firefox that might be running"
sudo killall -9 firefox

echo "Removing any other flash plugin previously installed:"
sudo apt-get remove -y --purge flashplugin-nonfree gnash gnash-common mozilla-plugin-gnash swfdec-mozilla libflashsupport nspluginwrapper
sudo rm -f /usr/lib/mozilla/plugins/*flash*
sudo rm -f ~/.mozilla/plugins/*flash*
sudo rm -f /usr/lib/firefox/plugins/*flash*
sudo rm -f /usr/lib/firefox-addons/plugins/*flash*
sudo rm -rfd /usr/lib/nspluginwrapper


echo "Installing Flash Player 10"
cd ~
wget http://download.macromedia.com/pub/labs/flashplayer10/libflashplayer-10.0.d20.7.linux-x86_64.so.tar.gz
tar zxvf libflashplayer-10.0.d20.7.linux-x86_64.so.tar.gz
sudo cp libflashplayer.so /usr/lib/mozilla/plugins/ 

echo "Linking the libraries so Firefox and apps depending on XULRunner (vuze, liferea, rsswol) can find it."
sudo ln -sf /usr/lib/mozilla/plugins/libflashplayer.so /usr/lib/firefox-addons/plugins/
sudo ln -sf /usr/lib/mozilla/plugins/libflashplayer.so  /usr/lib/xulrunner-addons/plugins/

# now doing some cleaning up:
sudo rm -rf libflashplayer.so 
sudo rm -rf libflashplayer-10.0.d20.7.linux-x86_64.so.tar.gz

You can now restart firefox ;-)

Some users seem to have problems with viewing this page, so i wrapped everything needed to install the native 64bit flash player on linux into a shell script. Grab the Ubuntu script here, chmod +x and execute it.

Thanks to Claudio de Taunay for providing a script that works in OpenSuSE 11. You can pick it up here.

Let me know if you encounter any bugs.

3 TrackBacks

Listed below are links to blogs that reference this entry: Install native 64bit Flash Player 10 on Linux .

TrackBack URL for this entry: http://www.myscienceisbetter.info/cgi-bin/mt/mt-tb.cgi/17

Adobe FINALY released a native 64bit Flash Player 10 plugin. Although this is still an alpha release, the news is very exciting for Linux users, since we don't longer depend on nspluginwrapper, which although does the job, has it's... Read More

UPDATE: Native Adobe 64bit Flash Player has been released. I have put together a small tutorial on how to install the native flash player 10 64bit plugin for linux. Adobe recently launched Flash Player 10 Beta codenamed "Astro". Great... Read More

Cool little bash script this guy put together to install flash on ubuntu 8.10 64 bit (AMD) for Firefox:http://www.myscienceisbetter.info/cgi-bin/mt/mt-tb.cgi/17... Read More

42 Comments

THANK YOU!! :)
- Seems to be working so far.

Great!
Thank you!

Thank you for a script. It looks like all is fine on 8.10.

Yep, worked for me on Intrepid. Flash works much better thus far.

Thanks for the install script, works great. So far the flash player seems generally more stable, although it seems to crash Firefox when I try to play videos on Vimeo.

Anyone else experience this?

Vimeo videos work fine for me.

I tried installing the script and when I went to run pandora radio it said I needed macromedia flash player. I followed Adobes instructions and copied the so file to the mozilla/plugins folder (it was already there from above) and got the same result. I tried youtube and nothing.

Am I missing something?

@tmort: 1st of all, make sure that any old flashplayers are removed. this includes swfdec, gnash or flashplugin-nonfree.

my script should have taken care of that.. but best if you inspect the installed packages via synaptic and remove any flash traces. then rerun the script

When I did this I had to change

sudo cp libflashplayer.so /usr/lib/mozilla/plugins/
sudo ln -sf /usr/lib/mozilla/plugins/libflashplayer.so /usr/lib/firefox-addons/plugins/
sudo ln -sf /usr/lib/mozilla/plugins/libflashplayer.so /usr/lib/xulrunner-addons/plugins/

to

sudo cp libflashplayer.so /usr/lib/firefox/plugins/
sudo ln -sf /usr/lib/firefox/libflashplayer.so /usr/lib/firefox-addons/plugins/
sudo ln -sf /usr/lib/firefox/libflashplayer.so /usr/lib/xulrunner-addons/plugins/

Err I had a typo in the last thing.. I had to change it to

sudo cp libflashplayer.so /usr/lib/firefox/plugins/
sudo ln -sf /usr/lib/firefox/plugins/libflashplayer.so /usr/lib/firefox-addons/plugins/
sudo ln -sf /usr/lib/firefox/plugins/libflashplayer.so /usr/lib/xulrunner-addons/plugins/

I tired the modified script with no luck. I also saw that the folder plugins was not in the firefox folder so I copied the mozilla plug in folder along with its contents to firefox but still no lunk. I get a missing plug in message with Pandora radio and if I do about:plugins in Firefox it isn't on the list.

I have removed all other flash players

Eu create one script that works on Opensuse 11.0 64bits
( Keys: Instalar flash plugin 10.0 firefox mozilla 64 bits opensuse 11.0 )

#!/bin/bash
# Script created by
# Romeo-Adrian Cioaba romeo.cioaba@spotonearth.com
# # http://www.myscienceisbetter.info/2008/11/install-native-64bit-flash-player-10-on-linux.html
# Adaptação para Opensuse 11.0 - Claudio de Taunay

echo "Stopping any Firefox that might be running"
sudo killall -9 firefox

echo "Removing any other flash plugin previously installed:"

sudo rm -f /usr/lib64/browser-plugins/npwrapper.libflashplayer.so
sudo rm -f /usr/lib/browser-plugins/libflashplayer.so
sudo rm -f /usr/lib/flash-plugin/libflashplayer.so
sudo rm -rfd /usr/lib/nspluginwrapper

echo "Installing Flash Player 10"
wget http://download.macromedia.com/pub/labs/flashplayer10/libflashplayer-10.0.d20.7.linux-x86_64.so.tar.gz
tar zxvf libflashplayer-10.0.d20.7.linux-x86_64.so.tar.gz

sudo cp libflashplayer.so /usr/lib64/browser-plugins/libflashplayer.so
sudo cp libflashplayer.so /usr/lib/browser-plugins/libflashplayer.so

# now doing some cleaning up:
sudo rm -rf libflashplayer.so
sudo rm -rf libflashplayer-10.0.d20.7.linux-x86_64.so.tar.gz

@Claudio: thanks a lot for the contribution. I'm uploading the script up so anyone can download it.

Nice post, but it's not working on my Kubuntu 8.04 64bit. I run your script for ubuntu. It is executed without problems but still, I found my firefox asking to install flash plugin (as if I don't have one installed)

Hi,

Apart from sudo mv libflashplayer.so /usr/lib/mozila/plugins

you don't have to do anything else for Flash to work, both FF and Opera picks it up nicely and so does other flash dependent items like Prism etc.

THANK YOU SOOOOO MUCH! tHANKS to you, i was able to install adobe with out ANY problems :)

I didn't use your script, but I used your science...AND IT IS WAY BETTER...Thank you so much!

Please update the download link of flash, they updated it. It is now this: http://download.macromedia.com/pub/labs/flashplayer10/libflashplayer-10.0.d21.1.linux-x86_64.so.tar.gz

Thanks for this. It was very helpful for a relative linux newbie.

Perfect script! Works fine on Ubuntu 8.10 w/o any changes!

Thanks!

The script also works in the Jaunty Alpha3

When I run this script in Ubuntu Intrepid, everything seems to work fine, but then when I reopen Firefox any site that has Flash content causes it to crash immediately. I can then reopen Firefox, and it will continue crashing until I go to a site that isn't using flash. Any thoughts?

It wasn't working using your script on my mixed system ubuntu 8.04/8.10 (probably the system was also partly messed up) .

I launched firefox commandline and I could see the errors on flash videos:
LoadPlugin: failed to initialize shared library /usr/lib/mozilla/plugins/libflashplayer.so [libnss3.so: cannot open shared object file: No such file or directory]
and other similar errors.

Turned out that the following packages need to be installed, working and fully updated (in my case needed to be from ubuntu 8.10):
libnss3-0d libnss3-1d libnspr4-0d
so in order to update do:
apt-get update
apt-get install libnss3-0d libnss3-1d libnspr4-0d

Thanks anyway, a good one
Bye
Gabriele

im glad you updated the scripts, but you forgot to change the tarball name in the clean up step. just a heads up, and great work

Thanks Joe for noticing that.

It's now fixed ;)

Hi,

I am using Ubuntu Hardy 64 bit. I actually followed your script "Install Adobe Flash Player 10 on Ubuntu 64bit" which installs the 32 bit flash player initially. Everything worked fine. However, now that I want to install the 64 bit flash player, what is the best way of cleanly uninstalling the previous 32 bit version? I tried to remove the flash files (as installed by your script) and then running your new script (as well as just copying the *.so file into .mozilla/plugins folder) but Firefox crashes immediately whenever I go to a site with flash videos. Any suggestions on how I can cleanly make the transition to using the 64 bit flash player?

Thanks!

Hi,

after you remove the .so files FF shouldn't have flash support anymore:

echo "Stopping any Firefox that might be running"
sudo killall -9 firefox

echo "Removing any other flash plugin previously installed:"
sudo apt-get remove -y --purge flashplugin-nonfree gnash gnash-common mozilla-plugin-gnash swfdec-mozilla libflashsupport nspluginwrapper
sudo rm -f /usr/lib/mozilla/plugins/*flash*
sudo rm -f ~/.mozilla/plugins/*flash*
sudo rm -f /usr/lib/firefox/plugins/*flash*
sudo rm -f /usr/lib/firefox-addons/plugins/*flash*
sudo rm -rfd /usr/lib/nspluginwrapper

After you do run those, make sure the flash plugin is not in FF anymore by going to: about:plugins in the address bar

Thank you so much Claudio de Taunay that was a huge help.

I got almost evrything working but this " http://www.mtv.com/videos/the-hills-season-5-ep-1-dont-cry-on-your-birthday/1608283/playlist.jhtml "
does not work on my amd 64 but works perfectly on my 32 machines. Both on ubuntu

This is awesome! I tried a number of things but this was the only one to work! Many thanks~

Works fine with me thanks to Romeo Adrian Cioaba for that clever and handy script.I just have one problem though.Soon as I turn-off or restart my system the installation does not take effect anymore. As a temporary workaround, I just run the script over and over again. I think itś not healthy for the system (i guess?) So PLEASE, PLEASE, PLEASE, HELP ME FIX THIS. How do I make this installation permanent? Im using Ubuntu 9.04 and my browser in Firefox 3.0.9 in case that helps.

thanks a lot man! worked like a charm.

Thanks for this, flash worked fine. However, I found that libflashsupport was also required for sound to work.

Thanks for the script, worked great on my 64.


Thanks!

worked great on my ubuntu 9.04 64-bit

Im having the same issue as Louis - but am running 64-bit 9.04.

I've ran the script and when I go to a page with flash firefox quits. I've tried doing just the removal part in terminal and then searching for any other flash plugins, but nothing comes up. I've been trying several things over the past two weeks but nothing has worked. any further suggestions? could some other method I had previously tried be conflicting with something?

Hi,

You might have done something in the past that's not standard :P

Try to find any trace of nspluginwrapper and libflashplayer using the locate cli command:

sudo updatedb (this will take some time depending on your configuration)
locate libflashplayer.so
locate nspluginwrapper

The if locate outputs libflashplayer.so in a location, make sure you delete it from there.

Regards,
Romeo

Thanks for the help, but Im still having the same issue.

I've tried the above post a few times just to make sure I was doing it right, and have been able to remove all instances of libflashplayer.so and nspluginwrapper. After removing them I have tried to visit a page with flash but firefox will quit unexpectedly. I have also tried removing those files and then running the shell script provided above, but get the same result. After a few attempts I noticed that I was now just removing the same instances of libflashplayer.so that the script was installing, so it doesnt seem to be a problem of having the wrong version.

Im pretty much at a loss here, any further suggestions you have would be much appreciated.

Fantastic - script work excellently in Ubuntu 9.04 - Finally have sound and video - this is awesome that you did this, thanks!!! - mj

thanx!! worked perfectly for me!!

I had to create a /usr/lib/mozilla/plugins folder for this to work. The script didn't do it for me, and I didn't have one.

Also, probably not an issue for most, but if you're using Swiftfox, make sure it installs right, then run Firefox and check that it's working, then quit and run Swiftfox and it should pull in the plugin.

Thanks for making this.

Excellent. Thanks very much.

Leave a comment