Sunday, September 28, 2008

Install Adobe Flash Player 10 "Astro" on Ubuntu AMD 64-bit

From Adobe Labs:
Adobe® Flash® Player 10, code-named "Astro," introduces new expressive features and visual performance improvements that allow interactive designers and developers to build the richest and most immersive Web experiences. These new capabilities also empower the community to extend Flash Player and to take creativity and interactivity to a new level.
Adobe released the linux version of their Flash Player 10 beta 2 (Astro) on September 15th 2008. Here are the steps to install it in Ubuntu Hardy Heron 8.04 for Mozilla Firefox 3.0.3. (There is a bash script at the end.)

The earlier installation of flash player (flashplugin-nonfree) was crashing my Firefox strangely. The browser used to go down whenever I activated flash on a website by clicking twice.

This version from Adobe seems to do the job well. No crashes, and Firefox is running smoothly so far!

Adobe Flash Player 10 Installation Steps (as of 28 Sept 2008):
(1) To see if you have the latest version already goto:

To download from the Adobe site goto:
I chose "Linux x86 | Firefox/Mozilla" and the .tar.gz file, from:

tar -zxvf flashplayer10_install_linux_091508.tar.gz
sudo cp install_flash_player_10_linux/ /usr/lib/mozilla/plugins/

(2) Get the latest nspluginwrapper packages from:
I downloaded these two files:

(3) Now, get rid of other old flash plugins:
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 -rfd /usr/lib/nspluginwrapper
#remove old libraries like libswfdec-0.6-90:
sudo apt-get autoremove

(4) Install the 32bit wrapper, alien and getlibs:
sudo apt-get install ia32-libs lib32asound2 lib32ncurses5 ia32-libs-sdl ia32-libs-gtk gsfonts gsfonts-x11 linux32

sudo apt-get install alien

sudo dpkg -i getlibs-all.deb

sudo getlibs -p libcurl3
sudo getlibs -p libnss3-1d
sudo getlibs -p libnspr4-0d

(5) # Installation for gnome browsers: Use nspluginwrapper to install the plugin and link it to firefox
sudo ln -s /usr/lib/nspluginwrapper/x86_64/linux/npconfig /usr/bin/nspluginwrapper
sudo alien -d nspluginwrapper*.rpm
sudo dpkg -i nspluginwrapper*.deb
sudo mkdir /usr/lib/mozilla/plugins32
sudo mv install_flash_player_10_linux/ /usr/lib/mozilla/plugins32
sudo nspluginwrapper -i /usr/lib/mozilla/plugins32/

(6) Make the plugin available for the browser:
sudo ln -s /usr/lib/mozilla/plugins/ /usr/lib/mozilla-firefox/plugins/
sudo ln -sf /usr/lib/mozilla/plugins/ /usr/lib/firefox-3.0.3/plugins/
(I think the Firefox-3.0.3/plugins folder is the essential one for Firefox.)
sudo ln -sf /usr/lib/mozilla/plugins/ /usr/lib/firefox/plugins/
sudo ln -s /usr/lib/mozilla/plugins/ /usr/lib/mozilla-firefox/plugins/
sudo ln -sf /usr/lib/mozilla/plugins/ /usr/lib/mozilla/plugins/

(7) Start firefox and head to "about:plugins".
firefox about:plugins &
and it would something similar to this under "Shockwave Flash":
File name:
Shockwave Flash 10.0 r12
Again go to Adobe Labs and test if the flash video works:

Thats it! Youtube, The Daily Show, Colbert Report - they all should work well now. :)

** A simple Bash script to perform the above operations **


(Thanks to MeAndUbuntu and Ferdig)

No comments: