Now with Comments

Want to say something?

Read more...
Back
Adobe Flash 10 for Ubuntu Desktop 64bit (and 32bit) PDF Print E-mail
User Rating: / 28
PoorBest 
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
 
Comments (19)
Cool! Thanks!
1 Friday, 06 March 2009 06:55
Dan
My problem without sound is not solved, but now I have a clean installation ;-)
works prefectly
2 Sunday, 08 March 2009 14:55
Gene
Thanks for the script, it worked perfectly.
Looks okay, but why doesn't Daily Show flash work?
3 Saturday, 14 March 2009 19:04
Scott
Ran the automated script and everything seemed to install fine. Now I can play youtube videos on Ubuntu 8.10 AMD64. One problem though: full episodes of The Daily Show with Jon Stewart (at The Daily Show's website) don't play... in fact, the Flash viewer doesn't even display on the page! Thought it might be a NOSCRIPT problem but it's not. Any tips on how to fix the problem?
Thanks :)
4 Monday, 16 March 2009 11:18
ButterflyOfFire
Hi,

The script works on Ubuntu Jaunty Jackalope Alpha 6, 64 bits :)
Thanks :)
the perfect fix!
5 Monday, 06 April 2009 16:26
Brian
Works on Ubuntu Intrepid Ibex 8.10, 64-bit!

And finally... been looking everywhere!
Thank you so much!!
thanks a bunch!
6 Thursday, 09 April 2009 07:45
marc
this script worked like a charm, thank you :)
AMD 64 problem?
7 Thursday, 09 April 2009 11:28
alex
I got almost everything 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
finally!
8 Sunday, 19 April 2009 13:07
g.
I have spend a lot of time readings posts and finally tried this script. it works perfectly, thanks a lot.
g.

I have a Dell Precision M2400 with dual core 2 64bit
de escándalo!
9 Friday, 01 May 2009 12:51
David
Muy bien chaval, llevo 1 semana con linux y media tarde de este santo día buscando cómo instalar el flash 10 de los demonios!

y tu magnífico script lo ha logrado, eres el mejor, copón!!!

GRACIAS!!!
Flash installer
10 Tuesday, 12 May 2009 21:31
Nate
Mr. Anthony Hildoer you are a genius man!!!!!! Your automated process worked like a charm, thank you very much!
From first principles
11 Tuesday, 16 June 2009 15:08
John
I'm new to Linux/Ubuntu and have no idea what do with the 'chmod' command. Also, +X, is that part of the chmod command.

Finally, how do I execute the script once it's downloaded?

Hope someone can help.

Thanks
fultonjh@yahoo.co.uk
Works perfecty!
12 Wednesday, 08 July 2009 08:10
AC
Thanks, it saved me a lot of time and pain.
Works perfectly: Ubuntu 9.04 Dell M6400 - 64bit
perfecty!!
13 Thursday, 16 July 2009 15:20
Stupid_Dobby
no comments!!
I spent about 5 hours of googling...
Thx u!
flash10_en.sh
14 Saturday, 29 August 2009 21:25
Andre Raymond
Very pleased to say it works in Ubuntu 9.04 64Bit, using Firefox 3.0.13, also works
for Opera 9.64, previous I was trying method .mozilla/plugins/libflashplayer.so
many sites, crashed. So yes this works. Thank you.
Hurrah!
15 Sunday, 20 September 2009 07:15
Mihika
It worked! It worked! I have been trying everything and nothing succeeded. This one did.
Thank you so much.
Yeah!
16 Sunday, 27 September 2009 12:57
jalandoak
This worked extremely well with Ubuntu 9.04. Now I can "watch" the blacked out Detroit Lions games on Gamecast!
directions?
17 Thursday, 15 October 2009 10:50
bicycle
This is problem with linux the newbie support is lacking alot. I just installed it, I am fairly unfamiliar with it and after about an hour of searching to find some solution getting flash working, on what I didn't even know was a 64 bit processor, I find this supposed solution. Only as a newbie I have no god damn clue how to run the "script" or what "chmod +x and run with sudo" means!

Please Please Please linux community offer some newbie friendly support. Things like Flash should click install.

GRRRRRRRRRRRRRRRRRRR!!
Re: directions?
18 Wednesday, 18 November 2009 19:35
Anthony Hildoer
I wrote an entire tutorial on running scripts you find on the Internet. Either browse the tutorials section on this site or click this link to read it: http://www.hildoersystems.com/index.php?option=com_content&view=article&id=74:how-to-run-linux-scripts-you-find-online&catid=52:system-administration&Itemid=74
Superstar
19 Friday, 09 April 2010 06:17
Dom
Nice work. Thanks very much.

Add your comment

Your name:
Your email:
Subject:
Comment:
  The word for verification. Lowercase letters only with no spaces.
Word verification:
Content View Hits : 131506