Proper Adobe Flash Support on Ubuntu 64-bit
In one of my earlier posts, I talked about setting up Ubuntu 64-bit on my Dell Studio 17 laptop. I provided some information on how I set up Flash on my system. This solution used the 32-bit release version of Adobe’s Flash plugin and nspluginwrapper to allow the 32-bit plugin to be used with the 64-bit version of Firefox. I had just a few problems with this solution:
- Google Analytics would crash the entire browser if I tried to change the date range.
- Hulu would always take at least a minute to load any video. Full length videos would sometimes take as long as five minutes to load.
- Youtube would often times not work correctly.
- Random parts of certain Flash applications would not work at all.
- The new Hearts of Space Flash player didn’t work.
- All too often, all Flash apps would fail. This resulted in every instance of Flash being replaced with a light-gray background.
Fortunately, I found a great solution to this problem: an actual 64-bit Adobe Flash Plugin.
That’s right. Adobe has finally released a 64-bit version of Flash. There are two important things to note:
- They actually released this back in November. It’s my fault for not knowing this until now, but I still wonder why it was so hard to find. Shouldn’t it be offered as an option on the download page?
- This is not an official release version; rather, it’s an alpha release. This means that the plugin may not be stable and doesn’t have full support currently. They have the following notice on the download page:
This is a prerelease version of the Adobe® Flash® Player 10 software for Solaris and 64-bit Linux platforms. It is being made available for developers and consumers to test their content to ensure new features function as expected, existing content plays back correctly, and there are no compatibility issues.
Despite the fact that it’s an alpha release, I’ve had no problems with the plugin so far. It works great and fixes all the problems I listed above.
Automated Install
I’ve created a script that will take care of the details of installing this solution for you. Simply run the following commands from Terminal (Applications > Accessories > Terminal):
chmod +x install_adobe_flash_64.sh
./install_adobe_flash_64.sh
Since this script uses the sudo command, you will be prompted for your password. I have to use sudo since I need to close Firefox, remove apt packages, remove existing Flash plugins in the /usr/lib directory, and copy the new plugin to /usr/lib/mozilla/plugins/.
Manual Install
If my script and its use of sudo makes you uncomfortable, this is the sequence of steps you need to install the plugin manually:
- Download the Adobe Flash 64-bit plugin (the following is all one line):
wget http://download.macromedia.com/pub/labs/flashplayer10/libflashplayer-10.0.d21.1.linux-x86_64.so.tar.gz
- Extract the libflashplayer.so from the archive:
tar xvfz libflashplayer-10.0.d21.1.linux-x86_64.so.tar.gz
- Close Firefox
- Remove old Flash plugins. The follow commands are what my script uses to automate this process:
sudo apt-get remove -y --purge -qq 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 -rf /usr/lib/nspluginwrapper
- Copy libflashplayer.so to /usr/bin/mozilla/plugins/:
sudo mkdir -p /usr/bin/mozilla/plugins/
sudo cp libflashplayer.so /usr/bin/mozilla/plugins
Now you’re ready to load Firefox again and test it out.
Closing Thoughts
Now that Flash works properly, I can even make use of the Hearts of Space’s new Flash player. When this new Flash player came out last week, I lost the ability to listen to the HoS programming. It was this straw that broke my tolerance for this issue and led me to search for a solution. If you don’t know about Hearts of Space, it’s “slow music for fast times” and is my favorite radio show. I’m happy to have a subscription to fill my day with Space.
The script I’ve included here is the most advanced bash script I’ve ever written. It has colored messages and error checking. It also includes many bash commands that I’m not accustomed to. Creating and testing the script was a great learning experience. I could have just written it in Perl, but I thought that making it a bash script would be a bigger challenge. If anyone knows bash scripting, I’d love to get a critique on my techniques.
As always, if you have any problems with my script or with getting this to work on your system, please leave a comment with details. I’ll do my best to help you.
If you used this script, and it worked for you, please leave a comment.
Tags: 64-bit, Adobe, Flash, Linux, scripts, UbuntuShare This Post
Related Posts
Receive Updates
New posts on gaarai.com delivered directly to your email.






Chris,
Thanks for solving our problem with 64bit Flash compatibility!
:: SH
Wow! A comment from Stephen Hill himself!
I’m glad that I can help Stephen. Hopefully other space fans running 64-bit Linux will have their problems solved with this solution.
Just a heads up, Adobe released a new 64bit version (libflashplayer-10.0.22.87.linux-x86_64.so.tar.gz)
Also for Ubuntu users, the proper directory is /usr/lib/firefox/plugins (at least for FF2)
I am not entirely sure how, but yes, this fixed my flash problems. Ubuntu 9.04 64 bit btw.
I have tried the distros and Adobes 32 and 64 bit versions through manual installs. Which exactly is the part in your script, that makes it work?
If you look at the details given in the Manual Install steps, you’ll see exactly what the script does. The most important bits are removing all traces of old Flash plugins and shutting down Firefox before copying the plugin to the final directory.
thanks!!!!!!!!!!
You’re welcome david.
Thanks for your help. I tried scripts and guides from several sources and none of them worked until this one.
I’m glad that I could help.