| Adobe Flash 10 for Ubuntu Desktop 64bit (and 32bit) |
|
|
|
| Written by Anthony Hildoer |
| Tuesday, 17 February 2009 14:57 |
|
Well, it is about time someone made installing flash easy, especially for Ubuntu 64bit. As usual, I found myself scouring the internet in search of a surefire way of installing flash into Firefox (and maybe even Opera) without any guesswork. Well, I took the best suggestions, from all over the internet and made a single script that just works--EVERYTIME! It does not matter if you are running feisty fawn, gutsy gibbon, hardy heron, intrepid ibex, karmic koala, etc. It does not matter if you are running 32bit or 64bit. It does not matter if you use Firefox or Opera. This script just works. Oh, and it even works with Pulseaudio. So, download the file or copy and paste the script as normal. Don't forget to chmod +x and run with sudo. Enjoy. Download Script or copy and paste the script manually: #!/bin/bash ubuntu_version=`lsb_release -a 2>&1 | grep Release: | sed 's/\s\s*/ /' | sed 's/\.//g' | cut -f2 -d" "` if [ "`uname -a | grep x86_64`" != "" ]; then #64bit install cd /tmp echo Get 3rd party tools wget http://www.hildoersystems.com/linux/packages/getlibs-all.deb sudo dpkg -i getlibs-all.deb rm -rf getlibs-all.deb echo '*********************' echo echo Removing existing flash installs sudo aptitude -y purge flashplugin-nonfree gnash gnash-common mozilla-plugin-gnash swfdec-mozilla libflashsupport nspluginwrapper sudo rm -f /usr/lib/mozilla/plugins/*flash* sudo rm -rfd /usr/lib/nspluginwrapper sudo rm -f /usr/lib/firefox/plugins/*flash* sudo rm -f ~/.mozilla/plugins/*flash* sudo rm -f /usr/lib/firefox-addons/plugins/*flash* echo '*********************' echo echo Installing dependencies sudo aptitude -y install nspluginwrapper sudo getlibs -y -p libcurl3 sudo getlibs -y -p libnss3-1d sudo getlibs -y -p libnspr4-0d echo '*********************' echo echo Install Flash cd /tmp wget http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_10_linux.tar.gz tar -xzf install_flash_player_10_linux.tar.gz if [ -f install_flash_player_10_linux/libflashplayer.so ]; then sudo cp install_flash_player_10_linux/libflashplayer.so /usr/lib/mozilla/plugins/ fi if [ -f libflashplayer.so ]; then sudo cp libflashplayer.so /usr/lib/mozilla/plugins/ fi rm -rf /tmp/install_flash_player_10_linux/ echo '*********************' echo echo Applying nspluginwrapper sudo nspluginwrapper -i /usr/lib/mozilla/plugins/libflashplayer.so echo '*********************' echo echo Link to plugins from firefox 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 '*********************' echo else #32 bit install # try adobe first if [ $ubuntu_version -ge 804 ]; then wget http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_10_linux.deb sudo dpkg -i install_flash_player_10_linux.deb rm -rf install_flash_player_10_linux.deb else sudo aptitude -y install flashplugin-nonfree libflashsupport nspluginwrapper fi fi echo Close ALL firefox instances for changes to take effect. echo '*********************' echo echo Done. |
| Last Updated on Sunday, 22 November 2009 10:04 |
The script works on Ubuntu Jaunty Jackalope Alpha 6, 64 bits :)
Thanks :)
And finally... been looking everywhere!
Thank you so much!!
does not work on my amd 64 but works perfectly on my 32 machines. Both on ubuntu
g.
I have a Dell Precision M2400 with dual core 2 64bit
y tu magnífico script lo ha logrado, eres el mejor, copón!!!
GRACIAS!!!
Finally, how do I execute the script once it's downloaded?
Hope someone can help.
Thanks
fultonjh@yahoo.co.uk
Works perfectly: Ubuntu 9.04 Dell M6400 - 64bit
I spent about 5 hours of googling...
Thx u!
for Opera 9.64, previous I was trying method .mozilla/plugins/libflashplayer.so
many sites, crashed. So yes this works. Thank you.
Thank you so much.
Please Please Please linux community offer some newbie friendly support. Things like Flash should click install.
GRRRRRRRRRRRRRRRRRRR!!