Home > Good to know, Ubuntu > Flash 10 on Firefox with Ubuntu 64 bit via script

Flash 10 on Firefox with Ubuntu 64 bit via script

I recently found a quick and successfull way of installing Flash Player 10 RC on Ubuntu 8.04 running a 64 bit processor.

First, download this deb:


And install it via:

sudo dpkg -i getlibs-all.deb

Then create a script somewhere, for instance script.sh.

gedit script.sh

Fill it with the following code:

# Script created by
# Romeo-Adrian Cioaba romeo.cioaba@spotonearth.com
# Super minor updates by jason.melton[at]gmail[dot]com
# Released under GPL

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*

echo “Installing ia32-libs and nspluginwrapper”
sudo apt-get install ia32-libs nspluginwrapper

echo “Getting libs”
sudo getlibs -p libcurl3
sudo getlibs -p libnss3-1d
sudo getlibs -p libnspr4-0d

echo “Installing Flash Player 10″

cd ~

wget http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_10_linux.tar.gz
tar zxvf install_flash_player_10_linux.tar.gz
sudo cp install_flash_player_10_linux/libflashplayer.so /usr/lib/mozilla/plugins/
sudo chmod +rx /usr/lib/mozilla/plugins/libflashplayer.so
rm -rf ~/install_flash_player_10_linux/
sudo nspluginwrapper -i /usr/lib/mozilla/plugins/libflashplayer.so

echo “Linking the libraries so Firefox can find it.”
sudo ln -sf /usr/lib/nspluginwrapper/plugins/npwrapper.libflashplayer.so /usr/lib/mozilla/plugins/
sudo ln -sf /usr/lib/nspluginwrapper/plugins/npwrapper.libflashplayer.so /usr/lib/firefox-addons/plugins/

echo “Done ”

Save the file and make it executable via chmod +x script.sh

Then run the script.

That should do it.

Run about:config in the address bar of Firefox which should point out now, that flash is installed and running:

Display of installed flash 10 in Firefox 3

Display of installed flash 10 in Firefox 3

The script was written and taken from:


Credits go to Romeo-Adrian Cioaba

Categories: Good to know, Ubuntu
  1. No comments yet.
  1. No trackbacks yet.

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: