≡ Menu

Install Flash 10 Under Ubuntu Linux 64 bit Edition

I've already written about installing Flash player 10 under 32 bit version. But, couple of our readers asked about installing Flash player 10 final version under Ubuntu Linux 64 bit edition. This small post will cover flash 10 Ubuntu Linux 64 bit installation.

Update [Oct-03-2009]: Please use this updated script for Ubuntu Linux 9.04 or above.

Alejandro has published a shell script to automate entire process. Open terminal and type the following command to install Flash 10 under 64 bit edition (please exit any browsers you may have running):
$ wget http://queleimporta.com/downloads/flash10_en.sh
$ sudo bash ./flash10_en.sh

Fire a Firefox and type about:plugins to verify installation:

Fig.01: Ubuntu Linux flash 10 in action

Fig.01: Ubuntu Linux flash 10 in action


Alternatively, visit Youtube to see flash videos.

A note about RHEL / CentOS / Fedora Linux 64 bit version

Comments on this entry are closed.

  • Mircea Postolache October 22, 2008, 12:52 pm

    Just installed it on my 8.04 64 bit. No problems during install script and it works just fine. Thanks a lot!

  • Kostas Beli October 23, 2008, 5:09 pm

    How can I uninstall it ?.. It didn’t work for me and no flash is played.

    Thanks

  • nixCraft October 23, 2008, 6:44 pm

    Try

    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 -rfd /usr/lib/nspluginwrapper
    sudo apt-get remove ia32-libs nspluginwrapper

    HTH

  • Anjanesh October 28, 2008, 5:06 am

    Thanks – was searching for this for a long time !

  • Tim Wong November 5, 2008, 6:53 am

    Just 2 lines, and it worked perfectly on my Ubuntu 8.10-64. Thank you!

  • Simon November 7, 2008, 6:48 pm

    Worked perfectly

  • Michael November 12, 2008, 5:40 am

    Thanks for this! Worked for Ubuntu 8.10-64. No problems at all. Still no dailyshow.com, but hey..

  • John K. November 15, 2008, 2:55 am

    Excellent work. Thanks, big time!

  • Robin November 15, 2008, 3:58 pm

    Works like a bomb! Thank you very much Alejandro for the script & Vivek for publicizing it here.

  • Anjanesh November 16, 2008, 4:23 am

    This also downloads i386 packages of various libraries like libcurl3 etc.
    If the 64-bit versions are already installed then does will they clash ?

  • Dave November 18, 2008, 1:11 am

    Uninstalled my (working) version of Flash 9 and failed to replace it with 10. Great.

  • Carlos Fernando November 20, 2008, 4:32 am

    Thanks a lot. A 2 seconds’ installation. Worked on my Ubuntu 8.10 64.

  • Kyle Amadio November 29, 2008, 8:14 am

    Tried this but it did not work. The only thing that work is every time I logon on have to execute a script to re-link the 64bit Alpha version of libflashplayer.so.

    It’s very consistent, logon start Firefox 3.04 and .flv files will not play.

    If I then open a terminal and execute these two commands and then Press F5 .flv files play. (Test site is http://www.abc.net.au)

    cp ‘/home/kylea/Documents/Custom Packages – Linux/FireFox Add Ons/libflashplayer.so’ /usr/lib/firefox-addons/plugins

    ln -f /usr/lib/firefox-addons/plugins/libflashplayer.so libflashplayer.so

  • Adler December 6, 2008, 5:10 am

    That will install the x86 version of Flash 10. To install the x64, go to Adobe’s website and download Flash 64 for linux and untar it to ‘~/.mozilla/plugins’.

  • DJP December 6, 2008, 7:36 pm

    A big thanks to the author of the script. Working fine here..

  • Daniel December 6, 2008, 11:07 pm

    Thanks for this excellent script!

    Worked flawlessly!

    Cheers

  • fulano December 10, 2008, 4:07 pm

    great script. It did work to me. Thanks fellow

  • Andrej December 17, 2008, 5:16 am

    Awesome! THanks! Great script!

  • Mike Feravolo December 20, 2008, 11:21 am

    Thanks,

    Now I can see the Brightkite.com “Wall” on my real computer an 1st gen. Opteron with 4GB Ram runnning Ubuntu/64Bit Verision

  • dan spisak December 21, 2008, 8:45 pm

    Hello. I tried the above installation schemes and they were partially successful. I can receive video on youtube but no audio. I cannot receive streaming audio from KXPR FM radio. I can receive Stockwatch video on the Excite website. I also tried Adobe’s new 64-bit flash plugin with the same results. I can hear audio when using MPlayer so I know the sound card works.

    Ant ideas? TIA

    Dan

  • Mark Tustin December 24, 2008, 7:57 am

    This worked great for me under Ubuntu 8.10 64bit.

  • Jill December 27, 2008, 11:52 pm

    Hey thanks for the nice simple instructions and the script. :)

  • Jasdemi January 1, 2009, 10:20 pm

    Works fine, thank you! :)

  • Mirko January 8, 2009, 1:16 pm

    Hmm, I think the most annoying part of this all is that just so many sites are depending on the proprietary flash player. I can see the benefit when it comes to vector-based graphics, animations, and rich client apps. But why do video sites like many TV stations, YouTube etc. just assume that you have flash installed? wouldn’t it be much simpler to just embed an H.264 / MPEG4 video URL into an <object> tag on their site, so anyone can use the player they want?
    Is there any technical advantage of flash video in general over an open standard like H.264, or is it just the web designers getting soothed by Adobe’s marketing blurb?

  • xulsolar January 17, 2009, 7:28 pm

    Just install libflashplayer.so in /usr/lib/mozilla/plugins and ./mozilla/plugins

  • someinternetjerk January 19, 2009, 5:47 am

    thanks for the guide guy

  • Richard January 19, 2009, 9:27 pm

    Tried this but no luck. Got the following script errors:

    install_flash_player_10_linux/
    install_flash_player_10_linux/flashplayer-installer
    install_flash_player_10_linux/libflashplayer.so
    *** NSPlugin Viewer *** ERROR: libnss3.so: cannot open shared object file: No such file or directory
    nspluginwrapper: no appropriate viewer found for /usr/lib/mozilla/plugins/libflashplayer.so
    Linking the libraries so that firefox can see them.
    Done :-)
    You may re-start Firefox now

    Seeing no flash plugin at all by running: about:plugins. About to try clearing /usr/lib/mozilla/plugins and ~/.mozilla/plugins and copying the so file to those directories.

  • Richard January 19, 2009, 9:29 pm

    Nope didn’t help still no evidence of a flash plugin at all by running about:plugins. Mystified… Ubuntu 8.04. Installed from a 7.10 flash drive boot and then upgraded online.

  • karl January 28, 2009, 6:54 pm

    Thanks a ton for the script, everything is working perfectly!

  • Cory January 30, 2009, 4:10 am

    Thank you very much. Worked perfectly.
    8.10 64bit Toshiba L355-S7812, X3100.

  • Aaron February 5, 2009, 4:16 am

    Thank you and I love you.

  • Dan February 19, 2009, 2:02 am

    Thanks, works like a charm!

  • Octav February 19, 2009, 5:24 pm

    Works nice. Thanks.

  • .k February 21, 2009, 8:32 pm

    Like most of the others : thanks, it works!

  • Diabolic Preacher February 25, 2009, 11:32 am

    I just can’t thank you enough for finally pointing us towards a no-hassles working script to get flash for 64 bit. its always been a pipe dream on 64 bit. shall i wait for adobe? shall i try out some gnashing and klashing? Shall I downgrade to a 32 bit distro (I’ve no reason not to :P ) ? How do I get 32 bit plugins on my 64bit firefox, but atlast I did. Thanks to that open source script. Going thru the script, I did notice there wasn’t any instruction for removing klash which I had installed on my kubuntu, but that seems to not have had any impact, as right now i’m using the google talk sidebar gadget.
    Thanks once again :)

  • Kevin B March 13, 2009, 10:12 am

    I agree. That worked out well for me. Just remember to remove the old flash first.

    Adler: That will install the x86 version of Flash 10. To install the x64, go to Adobe’s website and download Flash 64 for linux and untar it to ‘~/.mozilla/plugins’.

  • Nicholas March 18, 2009, 6:17 am

    Thank you so much for posting this. I just started using Ubuntu today, and I had no idea what I was doing.

  • bluntman March 19, 2009, 8:13 pm

    top stuff mate. alejandro/you can have a joint on me ;-)

  • espo March 21, 2009, 12:56 am

    worked on Jaunty Jackalope!!

  • hanu March 25, 2009, 10:13 am

    wow…….. Its working with simple two steps. I am looking for this long time. Thank you authors

  • CK March 30, 2009, 12:43 am

    THANK-YOU THANK-YOU THANK-YOU !!!!!!!!!!!!!!!!!!!!!!!!!

  • Cazanonymous1020 April 5, 2009, 11:44 pm

    Wonderful. Finally have working Flash Player on my Wubi Ubuntu 8.10. Thanks so much! This really is the answer to 64-bit Linux Flash Player problems.

  • Matt April 6, 2009, 6:51 pm

    Thank you! Hulu wasn’t working on my computer this morning, but this fixed it right up!

  • Steve April 8, 2009, 10:55 pm

    Just run this on a newly upgraded system, from 8.04 to 9.04 Beta (Jaunty Jackalope) – worked perfectly. Great work – many thanks!!

  • Charles April 10, 2009, 3:17 am

    WORKS! THNX!

  • stib April 18, 2009, 1:22 pm

    This script works flawlessly. One addition I did is to add “firefox” right at the end so that it automagically starts firefox when it finishes.

    @mirko One advantage of using flash is that you can (in theory) embed your media so that it’s not so easily available for download as posting a movie file. Also you can customise the controls and add interactivity to the playback that just embedding a movie object wouldn’t let you do. An example is the way spewtube adds thumbnails of related videos after the video you watch, and the way the playback controls can be made to appear when you hover over the screen. I’d love to see an open source alternative to flash, but it ain’t here yet.

  • Xavi April 20, 2009, 1:45 pm

    Brillinat, simple, quick, efficient.
    working out of the box rfor Ubuntu 9.04 Jaunty (amb 64 bits)
    Thanks heaps! :-)

  • do...! April 22, 2009, 7:31 am

    like so many others on top, Thank You so much for the script. i’ll try to learn more from now on. cheers

  • Mark Buckingham April 25, 2009, 3:10 pm

    Thanks for script – worked perfik!

  • Jon April 26, 2009, 5:17 am

    Thanks. That was a breeze!

  • Mark April 27, 2009, 8:26 am

    Great, it works a treat, saved me no end of bother trying to track down the problem
    Your hard work is much appreciated

  • Andrux April 27, 2009, 9:03 pm

    So efficient!!!!! worked for me on ubuntu 9.0.4 64 bit :D!!
    Thanks a lot!

  • flax April 27, 2009, 11:59 pm

    I was pulling my hair out trying to get it to work. This was simple and worked like a charm. No more firefox crashes!!! I really appreciate it.

    Ubuntu 9.0.4 64bit w/ ext4

  • markodeablo April 28, 2009, 7:08 pm

    Fantastic script, ran this on my Ubuntu 9.04 x64 and works like a dream, I now will hardly ever need to boot into windows :-)

  • playerstreet@gmail.com April 29, 2009, 8:19 am

    Thanks, worked like a charm!

  • shazam1203 May 3, 2009, 10:38 pm

    thanks worked great on my ubuntu 9.04 X64 ur awesome!!!!

  • DrewDog May 10, 2009, 3:05 pm

    This worked! It rocks! Thanks a bunch!
    DrewDog

  • squirrelian May 11, 2009, 3:40 pm

    Perfect, painless (or would have been if I’d found you first, doh – bookmarked now). Thank you very, very much! 9.04 64 bit

  • Andy May 16, 2009, 4:54 pm

    Brilliant – Thank you!!! Keep up the good work :)

  • Beaker_ May 19, 2009, 12:10 pm

    Dead straight forward – Worked straight away on my 9.0.4 64bit!

  • Ana May 21, 2009, 2:02 pm

    Thank you a lot!

    It worked perfectly

    Cheers,
    Ana

  • Godzilla68 May 28, 2009, 7:24 pm

    Thanks a MILLION!!! It worked beautifully!

    jj

  • a4r0n June 4, 2009, 2:54 am

    Worked beautifully. For noobs like myself, remember not to cut the “$” when you cut and paste or you’ll get an error.

  • Rohan June 5, 2009, 10:47 pm

    Many many thanks I am now watching flash movies instead of a blank screen on Ubuntu 9.04 no problems!

  • Sander June 6, 2009, 3:54 pm

    Thanks a lot, I’ve tried to install flash through synaptic but that didn’t do a lot, now it finally works on Ubuntu 9.04. I say it again: THANK YOU.

  • Madcyclist June 7, 2009, 8:04 pm

    Cheers,

    Worked perfectly on Ubuntu 9.04, hopefully my dual boot days will soon be over !!

  • bingorabbit June 14, 2009, 11:33 pm

    Thanks a lot, Worked greatly here on Ubuntu 9.04 too :)

  • potteryfreak June 19, 2009, 2:53 am

    Thank you – worked a treat with Firefox 3.5 beta / Ubuntu 9.04

  • jimdandy June 20, 2009, 4:28 pm

    Thanks very much for this script. Worked great on Jaunty and FF 3.0.11

  • MercinovA June 24, 2009, 12:32 pm

    Worked PERFECT on my Debian-5.0-2.6.26-amd64!!

    Many Thanks!! : )

  • uros June 24, 2009, 10:07 pm

    This flash player for linux has a bug. It can work it can show some files but has a bug because of which I can not do right click on flash and do settings! It freezes at that time.

  • Pat Bloomfield June 27, 2009, 10:35 am

    Wow, this is fantastic!

    I have only recently turned to Linux Ubuntu out of frustration with Vista. After installing the 64 bit version on my laptop I was starting to think I had made a bad decision when things taken for granted in Firefox stopped working.

    Creating video slide show is a key task in marketing my business so this is really important to me.

    Thank you very much for creating the scripts and writing this page!

    Pat Bloomfield

  • Dror June 28, 2009, 10:32 pm

    So simple and works great!
    million thanks
    (-:

  • Pitchizig July 2, 2009, 1:30 am

    Thank you!
    Worked perfectly.
    (AMD64 3200+, Ubuntu 9.04, Firefox 3.5)

  • Michael Rooney July 2, 2009, 7:21 am

    Thanks for the guide, though before doing this I’d recommend trying the experimental native 64-bit Flash that Adobe offers at http://labs.adobe.com/downloads/flashplayer10.html /

  • reini July 2, 2009, 4:08 pm

    yeha thanks!!!!

  • Alberto July 2, 2009, 5:28 pm

    I fixed the script so that it uses the debugger version on 64-bit machine. It works really well. Can anyone tell me where to upload these changes?

    • nixCraft July 2, 2009, 11:33 pm

      You can just paste it here (put btw <pre> shell script </pre>) tag.

    • Son Tan September 8, 2010, 1:01 pm

      can you sent me your scirpt Alberto? I try but I can’t install debuger.
      my email: tbson87@gmail.com
      thanks

  • anextx July 3, 2009, 1:08 am

    good GOD – i cannot tell you how many different things i tried to get flash to work on 64bit 9.04. had all kinds of problems: first it didnt work at all, then it would work on some pages (like youtube) but not many others, then i got it to work on some other pages (but when it couldnt play a video or ad firefox would crash)… i eventually had to use the flashblock add-on just so i could surf the net without the browser crashing from random ads.

    but now, as with everyone else above, it finally seems to be working like it should – and i was this close to giving up and trying the 32bit distro…

    thank you so much!

  • Roberto July 5, 2009, 2:50 pm

    Thank you very much, worked fine for me on Ubu 9.04 and had been trying many different non-working solutions ;)

  • Dale July 7, 2009, 4:42 am

    Thanks for the easy fix tried others this was easy and effective…Big Thanks:)

  • Smudge July 17, 2009, 1:25 pm

    Brilliant, worked first time on my Jaunty 64bit. Now I can play all the silly flash games I stumbleupon :)

  • Ron July 19, 2009, 1:29 am

    All I get when trying to install is COMMAND NOT FOUND!

    I downloaded the .SO file from Adobe’s site and I have NO clue as to where it needs to go.

    People keep saying linux is now ready for prime time and I keep trying it on and off and every time I come back, I really don’t see much improvement in that arena.

    And I read the Mr. Shuttleworth want to become bigger than the Mac OSX… well, maybe in his DREAMS!!! This OS is SOOOO far from EVER catching up to the Mac OSX, it isn’t even funny.

  • Enzo July 29, 2009, 11:29 pm

    This didn’t work for me, but after enabling the universe rep, it installed through Firefox (when going to a flash site), on it’s own just fine.
    This is on 9.04 Ubuntu

  • Chad August 4, 2009, 2:39 am

    “HTTP request sent, awaiting response… 404 Not Found
    2009-08-03 22:38:28 ERROR 404: Not Found.

    dpkg: error processing getlibs-all.deb (–install):
    cannot access archive: No such file or directory
    Errors were encountered while processing:
    getlibs-all.deb”

    Thanks for the effort though…

  • AMTec August 4, 2009, 8:19 am

    Is this really required any more ?
    Adobe has launched beta version of 64-bit flash player.
    http://labs.adobe.com/downloads/flashplayer10.html

  • Miche August 18, 2009, 12:57 am

    I struggled a lot before to solve the issue.
    None of the above worked (command line, manual position of the shared library). Finally, I removed all the flash plugins and re-installed the 10 via synaptic. Simple and efficient, or, better, the only way I could solve the problem.
    Thanks for you post.

  • danielsue September 16, 2009, 11:46 am

    Thank you, it works perfectly in ubuntu 8.10 AMD64 edition

  • Jon Nicholson September 18, 2009, 3:45 pm

    For anyone who tried the script and it didn’t work: I think the easiest way to install Flash Player 10 in Ubuntu is to go to the Adobe Labs website and download the 64 bit TAR.GZ file, double-click it to extract the libflashplayer.so file, and copy that file into your “plugins” folder in your browser folder.
    For my installation of Firefox, there was no existing “plugins” folder, so I had to create a folder named “plugins” in the .mozilla folder, and just paste the .so file into the “plugins” folder. Very easy.
    Remember, for newbies, you have to go to the View menu on your folder window and check the Show Hidden Files option to be able to see the .mozilla (or other browser) folder. My user name is “jon”, so the complete path to paste the .so file into was:
    //home/jon/.mozilla/plugins/

  • Bill September 22, 2009, 6:49 pm

    Mr. Nicholson..
    Thank you. You solution is so simple, as to be unbelievable. The only thing you might consider adding is that firefox has to be restarted afterwards to load the plugin before it starts working.

    I have yet to understand why Ubuntu doesn’t support upgrading minor versions of firefox. Nor does firefox install correctly when their instructions on mozilla/firefox’s website are followed (on 64-bit machines).

    This is exactly why linux will never be mainstream. A normal computer user would never jump through the hoops that linux makes a person jump through for something that should be 1 mouse click.

    I think a new distro needs to be put together and it should be called “1-click”. Hopefully it won’t conflict with Amazon’s, ebays (?) patents… :)

  • Morgan September 23, 2009, 3:23 am

    This script did not work for me on Alpha 6 of 9.10
    I believe this is the error thats preventing it from completing

    libflashplayer.so
    cp: cannot stat `install_flash_player_10_linux/libflashplayer.so': No such file or directory
    nspluginwrapper: /usr/lib/mozilla/plugins/libflashplayer.so is not a valid NPAPI plugin

    Any ideas?

  • wewa September 23, 2009, 10:48 pm

    Sadly script did not work for me with the following script error at the end:

    2009-09-23 12:39:41 (64.9 KB/s) – `install_flash_player_10_linux.tar.gz’ saved [4044751/4044751]

    libflashplayer.so
    cp: cannot stat `install_flash_player_10_linux/libflashplayer.so': No such file or directory
    nspluginwrapper: /usr/lib/mozilla/plugins/libflashplayer.so is not a valid NPAPI plugin
    Linking the libraries so that firefox can see them.
    Done :-)
    You may re-start Firefox now

    I also tried manually dragging in libflashplayer.so file as Jon Nicholson suggested but that did not work also.
    Firefox about:plugins showed no plugins installed.
    Using Firefox 3.5.3 using ubuntuzilla, and the following hardware:
    emachines D620 AMD Athlon 64, Jaunty 9.04 64 installed dual boot NTFS using WUBI.

    Linux has come a long way, but still longer road to travel before it becomes a viable alternative to the evil empire.

  • Jon Nicholson September 24, 2009, 2:46 pm

    Wewa — As mentioned by Bill, did you reboot after placing libflashplayer.so in the “plugins” folder? He’s right about that being essential to make that method work.

  • Damien October 1, 2009, 2:14 pm

    This still works fine on Ubuntu Jaunty Jackalope as of Sept 2009 –
    BUT you have to fix a path in the script. The script downloads the flash player from the Internet and unpacks it. The directory structure inside the flash player archive has changed, is why it is breaking now. Before the flash player plugin (libflashplayer.so) was inside a folder called “install_flash_player”, and now it just unpacks into the current directory.

    All this results in the script exploding with the error reported by wewa. But if you fix the path in the script, it works like magic again.

    To do this, first download the script from this page, then edit it and search for the section starting with: echo "Installing Flash Player 10":

    Replace these two lines:

    sudo cp install_flash_player_10_linux/libflashplayer.so /usr/lib/mozilla/plugins/
    rm -rf ~/install_flash_player_10_linux/

    with this one line:

    sudo mv libflashplayer.so /usr/lib/mozilla/plugins/

    So the whole section now looks like this:


    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/
    rm -rf ~/install_flash_player_10_linux/
    sudo nspluginwrapper -i /usr/lib/mozilla/plugins/libflashplayer.so

    Now save it, remember to chmod 755 it it’s runnable, and run it with: sudo ./flash10_en.sh

    restart firefox and voila, working flash!! Awesome!!

  • Damien October 1, 2009, 2:18 pm

    Oops, I pasted the old version into the “So now the whole section looks like this” part at the end. The instructions are still correct.

    To avoid any confusion, here is the FULL WORKING SCRIPT, just copy and paste into a new file, chmod 755 it and run it!

    #!/bin/bash
    # Script  created by
    # Romeo-Adrian Cioaba romeo.cioaba@spotonearth.com
    # Super minor updates by jason.melton[at]gmail[dot]com
    # Updates by Alejandro Cuervo 3[at]cuervo[dot]net
    # more very minor updates by damien[at]groovey[dot]com
    # Released under GPL
    echo "Closing Firefox"
    sudo killall -9 firefox
    echo "Downloading and instaling Getlibs for required libraries"
    wget http://www.boundlesssupremacy.com/Cappy/getlibs/getlibs-all.deb
    sudo dpkg -i getlibs-all.deb
    echo "Removing previous installs of flash:"
    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*
    sudo rm -rfd /usr/lib/nspluginwrapper
    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 mv libflashplayer.so /usr/lib/mozilla/plugins/
    sudo nspluginwrapper -i /usr/lib/mozilla/plugins/libflashplayer.so
    echo "Linking the libraries so that firefox can see them."
    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 :-)"
    echo "You may re-start Firefox now"
    • Michel July 17, 2010, 5:26 pm

      Thanks a ton.

    • erik August 12, 2010, 7:33 am

      After trying to manually install Flash player for Ubuntu AMD64 several times and failing this worked like a charm. It even uninstalled the previous failed attempts.

      Big time saver!! Thanks a ton!

    • Nevrona November 23, 2010, 3:23 pm

      Thank you very-very much!! Tried to get flash player from Adobe site directly, but with no success at all… So you’re just my savior! Thanks!

    • jeff December 14, 2010, 5:17 am

      This was a huge help. Thank you very much!

  • Jan Korčák October 3, 2009, 11:41 am

    Thanks a lot man. The new script works great.

  • nixCraft October 3, 2009, 11:48 am

    @ Damien,

    Thanks for posting the updated version.

  • zach October 4, 2009, 12:48 am

    Because the URL for the “getlibs-all” seems to be broken (for me atleast) i replaced this line
    wget http://www.boundlesssupremacy.com/Cappy/getlibs/getlibs-all.deb
    with this line
    wget http://frozenfox.freehostia.com/cappy/getlibs-all.deb

  • zach October 4, 2009, 11:46 am

    it seems that kinda messed up…. remove the /code at the end of the links

    • nixCraft October 4, 2009, 1:13 pm

      I’ve updated your post.

  • Jacobo October 10, 2009, 12:36 am

    It worked like a charm!! thanks pal!

  • Richard October 13, 2009, 1:03 am

    Awesome – works for chrome as well!! Great job

  • chuisco October 13, 2009, 8:28 am

    If you’re using 64 bit edition just download the alpha package from http://download.macromedia.com/pub/labs/flashplayer10/libflashplayer-10.0.32.18.linux-x86_64.so.tar.gz and then untar it to your mozilla plugins directory.

  • Kyle October 13, 2009, 6:14 pm

    Must agree with chuisco, the suggested approach completely mucked up Flash.

    Extract the file libflashplayer.so and then place the file “libflashplayer.so” in ~/.mozilla/plugins

  • Madison Kelly October 15, 2009, 12:12 am

    I wanted to make the script a little smarter and also fix the 404 link, so I created a new version available here: http://wiki.alteeve.com/local/x86_flash/flash10_en.sh

    That is sitting on my personal server, and I don’t expect anyone to know or trust me, so perhaps an admin can review it? I’ve put copies of the deb and tar file on my server as well to ensure that this version of the script will always work. For what it might be worth, I work at a small ISP so my server and that URL will not be going away any time soon.

    I’ve tested it on my Ubuntu x86 9.10 beta.

    Madi

  • Madison Kelly October 15, 2009, 12:14 am

    Here is a direct copy of my updated version of the script. The change log is in the head of the file.

    #!/bin/bash
    # Script  created by
    # Romeo-Adrian Cioaba romeo.cioaba@spotonearth.com
    # Super minor updates by jason.melton[at]gmail[dot]com
    # Updates by Alejandro Cuervo 3[at]cuervo[dot]net
    # Released under GPL
    #
    # Updated on Oct. 14, 2009 by Digimer (Madison Kelly, mkelly@alteeve.com)
    # - Found and copied getlibs-all.deb to the AN!Wiki as the old link was dead.
    # - Added pause and warned the user to close their browser before kill -9'ing.
    # - Added an initial check to see if the effective UID is 0 and removed 'sudo'
    #   calls.
    # - Added the -y switch to the ia32-libs and nspluginwrapper install line.
    # - Removed the 'cd ~' because I'd rather all downloaded files stay in the
    #   execution directory.
    #
    # Checking if the user has (effective) root access.
    if [[ $EUID -ne 0 ]]; then
       echo "This script must be run via 'sudo' as the 'root' user." 1>&2
       exit 1
    fi
    echo "Please close Firefox. Pressing any key will continue the install which"
    echo "will kill any left over running firefox proceses!"
    echo ""
    echo "Press the  key when ready."
    read $GO
    killall -9 firefox
    echo "Any Firefox instances have been closed."
    echo "Downloading and instaling Getlibs for required libraries"
    wget http://wiki.alteeve.com/local/x86_flash/getlibs-all.deb
    dpkg -i getlibs-all.deb
    echo "Removing previous installs of flash:"
    apt-get remove -y --purge flashplugin-nonfree gnash gnash-common mozilla-plugin-gnash swfdec-mozilla libflashsupport nspluginwrapper
    rm -f /usr/lib/mozilla/plugins/*flash*
    rm -f ~/.mozilla/plugins/*flash*
    rm -f /usr/lib/firefox/plugins/*flash*
    rm -f /usr/lib/firefox-addons/plugins/*flash*
    rm -rfd /usr/lib/nspluginwrapper
    echo "Installing ia32-libs and nspluginwrapper"
    apt-get -y install ia32-libs nspluginwrapper
    echo "Getting libs"
    getlibs -p libcurl3
    getlibs -p libnss3-1d
    getlibs -p libnspr4-0d
    echo "Installing Flash Player 10"
    wget http://wiki.alteeve.com/local/x86_flash/install_flash_player_10_linux.tar.gz
    tar zxvf install_flash_player_10_linux.tar.gz
    mv libflashplayer.so /usr/lib/mozilla/plugins/
    nspluginwrapper -i /usr/lib/mozilla/plugins/libflashplayer.so
    echo "Linking the libraries so that firefox can see them."
    ln -sf /usr/lib/nspluginwrapper/plugins/npwrapper.libflashplayer.so /usr/lib/mozilla/plugins/
    ln -sf /usr/lib/nspluginwrapper/plugins/npwrapper.libflashplayer.so /usr/lib/firefox-addons/plugins/
    echo "Done :-)"
    echo "You may re-start Firefox now"
    
  • nubo October 16, 2009, 11:52 pm

    for the pure 64-bit-flash-version: installation guide:

    download Flash from here then upack
    from this post translatet:

    # deinstall all other Flashplayer
    # which are installed?:
    dpkg -l flashplugin-nonfree mozilla-plugin-gnash swfdec-mozilla
    # delete installed:
    sudo apt-get remove mozilla-plugin-gnash swfdec-mozilla flashplugin-nonfree
    # create new folder for Flashplayer:
    sudo mkdir /usr/lib/flashplugin-nonfree/
    # copy the new Flashplayer in the just created folder. change the first term to the unpacked path.
    # if you unpacked to your Deskto, replace YourDownloadPath with /home/YourLoginName/Desktop
    sudo cp YourDownloadPath/libflashplayer.so /usr/lib/flashplugin-nonfree/
    # give Firefox the Flashplayer as Plugin , by creating a symbolic Link to the path of the Flashplayers in Plugin-Ordner from Firefoxt:
    sudo ln -s  /usr/lib/flashplugin-nonfree/libflashplayer.so /usr/lib/mozilla/plugins/libflashplayer.so
    
  • nubo October 17, 2009, 12:05 am

    2nd IMPROVED VERSION:
    for the pure 64-bit-flash-version: installation guide:

    download Flash from here then upack
    from this post translatet:

    # deinstall all other Flashplayer
    # which are installed?:
    dpkg -l flashplugin-nonfree mozilla-plugin-gnash swfdec-mozilla
    #
    # delete installed:
    sudo apt-get remove mozilla-plugin-gnash swfdec-mozilla flashplugin-nonfree
    #
    # create new folder for Flashplayer:
    sudo mkdir /usr/lib/flashplugin-nonfree/
    #
    # copy the new Flashplayer in the just created folder. change the first term to the unpacked path.
    # if you unpacked to your Desktop, replace YourDownloadPath with /home/YourLoginName/Desktop
    sudo cp YourDownloadPath/libflashplayer.so /usr/lib/flashplugin-nonfree/
    #
    # give Firefox the Flashplayer as Plugin , by creating a symbolic Link to the path of the Flashplayers in Plugin-folder from Firefox:
    sudo ln -s  /usr/lib/flashplugin-nonfree/libflashplayer.so /usr/lib/mozilla/plugins/libflashplayer.so
    
  • nubo October 17, 2009, 12:09 am

    3rd MORE IMPROVED VERSION:
    for the pure 64-bit-flash-version: installation guide:

    download Flash from here then upack
    from this post translatet:

    # deinstall all other Flashplayer
    # which are installed?:
    dpkg -l flashplugin-nonfree mozilla-plugin-gnash swfdec-mozilla
    #
    # delete installed:
    sudo apt-get remove mozilla-plugin-gnash swfdec-mozilla flashplugin-nonfree
    #
    # create new folder for Flashplayer:
    sudo mkdir /usr/lib/flashplugin-nonfree/
    #
    # copy the new Flashplayer in the just created folder. change the first term to the
    # unpacked path.
    # if you unpacked to your Desktop, replace YourDownloadPath with
    # /home/YourLoginName/Desktop
    sudo cp YourDownloadPath/libflashplayer.so /usr/lib/flashplugin-nonfree/
    #
    # give Firefox the Flashplayer as Plugin , by creating a symbolic Link to the path of the
    # Flashplayers in Plugin-folder from Firefox:
    sudo ln -s  /usr/lib/flashplugin-nonfree/libflashplayer.so /usr/lib/mozilla/plugins/libflashplayer.so
    

    wrapper good bye!

  • nubo October 17, 2009, 12:13 am

    4th MORE IMPROVED VERSION, fully linelengh checked with #:

    for the pure 64-bit-flash-version: installation guide:

    download Flash from here then upack
    from this post translatet:

    # deinstall all other Flashplayer
    # which are installed?:
    dpkg -l flashplugin-nonfree mozilla-plugin-gnash swfdec-mozilla
    #
    # delete installed:
    sudo apt-get remove mozilla-plugin-gnash swfdec-mozilla flashplugin-nonfree
    #
    # create new folder for Flashplayer:
    sudo mkdir /usr/lib/flashplugin-nonfree/
    #
    # copy the new Flashplayer in the just created folder. change the first
    # term to the unpacked path.
    # if you unpacked to your Desktop, replace YourDownloadPath with
    # /home/YourLoginName/Desktop
    sudo cp YourDownloadPath/libflashplayer.so /usr/lib/flashplugin-nonfree/
    #
    # give Firefox the Flashplayer as Plugin , by creating a symbolic Link
    # to the path of the Flashplayers in Plugin-folder from Firefox:
    sudo ln -s  /usr/lib/flashplugin-nonfree/libflashplayer.so /usr/lib/mozilla/plugins/libflashplayer.so
    

    wrapper good bye!

  • Jeff October 22, 2009, 5:58 am

    Wow it works!! Thanks for the script! Here’s my FF version: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3 GTB6

  • source.decay November 1, 2009, 4:11 pm

    Thank you, nubo! It worked like a charm for me on 9.10.

    One note, I had to uninstall “flashplugin-installer” as that was what loaded when I upgraded to 9.10.

  • Gassie November 1, 2009, 7:09 pm

    Thnx Nubo, this works with:
    ubuntu karmic 9.10 amd64

  • robby November 1, 2009, 9:27 pm

    hey, kinda new to this part of ubuntu…what do i do exactly with the script?

  • gassie November 2, 2009, 8:33 am

    @robby

    Just execute this commands in the console:

    # 1. delete installed:
    sudo apt-get remove mozilla-plugin-gnash swfdec-mozilla flashplugin-nonfree

    # 2. create new folder for Flashplayer:
    sudo mkdir /usr/lib/flashplugin-nonfree/

    # 3. copy the new Flashplayer in the just created folder. change the first
    # term to the unpacked path.
    # if you unpacked to your Desktop, replace YourDownloadPath with
    # /home/YourLoginName/Desktop

    sudo cp YourDownloadPath/libflashplayer.so /usr/lib/flashplugin-nonfree/

    # 4. give Firefox the Flashplayer as Plugin , by creating a symbolic Link
    # to the path of the Flashplayers in Plugin-folder from Firefox:

    sudo ln -s /usr/lib/flashplugin-nonfree/libflashplayer.so /usr/lib/mozilla/plugins/libflashplayer.so

  • deha November 5, 2009, 3:06 am

    thanks nubo. works form my karmic 64. :D

  • Snille November 5, 2009, 5:30 am

    Thank you, worked like a charm!! :)

  • Simon November 6, 2009, 8:17 pm

    Thanks !!! Works fine. @all remember to uninstall “flashplugin-installer” first if you use nubo’s guide.

  • Virgil_Machine November 8, 2009, 4:36 pm

    I tried about seven other guides at least twice each over the past two days and non worked. This worked the first time.

    ubuntu karmic koala (upgrade in place over jaunty)
    ASUS M3A78-CM AM2+/AM2 AMD 780V Micro ATX AMD Motherboard
    AMD Athlon X2 4850e 2.5GHz Socket AM2 45W Dual-Core Processor

  • adamn November 10, 2009, 7:38 pm

    This method (Nuno’s) causes Firefox to crash when opening pages that use flash.
    PS. I did remove “flashplugin-installer”

    Firefox 3.5.4
    Ubuntu 9.10 64-bit

  • adamn November 10, 2009, 7:40 pm

    How can I uninstall ALL Flash plugins system wide and start over?

  • gassie November 11, 2009, 11:24 am

    adamn,

    maybe you have some more flash plugins installed like gnash… try looking at the plugins tab at the add-on window in firefox

  • beavie November 11, 2009, 3:49 pm

    Also worked with Opera 10.01. Although in some cases I see two mouse cursors. Try out e.g. in FarmVille. Is there explanation for this?

    Ubuntu 9.10
    Opera 10.01

  • adamn November 11, 2009, 8:22 pm

    Sorry I didn’t mention this straight away. The problem was that I wasn’t in the directory where the driver was upacked. I went to the directory (in the command line) and did:
    sudo cp libflashplayer.so /usr/lib/mozilla/plugins/

    Firefox stopped crashing. I had originally used the following to delete all flash stuff:
    sudo apt-get remove -y –purge flashplugin-nonfree gnash gnash-common mozilla-plugin-gnash swfdec-mozilla libflashsupport nspluginwrapper

  • elf November 13, 2009, 1:32 am

    Another success here for 9.10. Thanks!

  • markus November 14, 2009, 6:10 pm

    thanks a lot guys…

  • MrMango November 15, 2009, 1:25 am

    My god! This was a nightmare. Thanks very much for the article worked a treat. Damn these dist upgrades ;)

  • DuChest November 18, 2009, 3:18 am

    Hey that seems to work for everybody, but here is the question.. how do I use a script ?
    with terminal ?

    And also, for the line in terminal :
    sudo apt-get remove mozilla-plugin-gnash swfdec-mozilla flashplugin-nonfree

    I Got :
    Lecture des listes de paquets… Fait
    Construction de l’arbre des dépendances
    Lecture des informations d’état… Fait
    E: Le paquet adobe-flashplugin doit être réinstallé, mais il est impossible de trouver son archive.
    (needs to be reinstalled, but it is impossible to find archive.)

    So… What do I do ?
    I don’t understant how to uninstall it, and either how to reinstall the right one for me.
    I can’t open synaptics.

    Just got upgrade to Ubuntu 9.10 with no flash player installed before. And first time I tried, it chashed. I’m sure there is a evident solution that is not reformat and reinstall..
    Thanks.

  • space-litter November 20, 2009, 7:43 am

    followed nubo’s directions to the letter, all seemed well, but no plugin is showing up in firefox. worth noting that when i unpacked the tar (today nov 20 2009), it actually made a new dir on my desktop with an additional file “flashplayer-installer” shell script. i copied libflashplayer.so out of the new dir and back onto the desktop so as to follow nubo’s instructions more closely. i ignored everything else. no idea if the tar has changed since he posted that?

    i can see the shared link in the plugins folder and all the files are there on my hard drive, but it just isnt translating into firefox for some reason?

  • kvib November 29, 2009, 8:24 am

    Worked like a charm! Thanks guys.

  • Andre December 1, 2009, 1:02 pm

    Shit, its the 32bit one. How do i uninstall all this?

  • Chris December 6, 2009, 9:11 pm

    I followed Nubio’s fourth set of directions except that the link to the flashplayer he provided was not labled 64 bit. I hunted around the adobe site and found this link:

    http://labs.adobe.com/downloads/flashplayer10_64bit.html

    I used that download with all his other directions and it worked perfectly.

    Thanks for this helpful advice.

  • Aggravated December 9, 2009, 5:30 pm

    Worthless and dangerous. Uninstalled Flash 9, failed to find 10 and left me with no flash and Firefox hanging on launch. Color me stupid for running someone else’s script on my pc.

  • drap December 11, 2009, 8:35 am

    Aggravated: maybe if you try to understand the script, you wouldn’t be so stupid….

  • ugknite December 11, 2009, 2:23 pm

    has anyone been able to run huludesktop with this flash plugin?

    Thanks …

  • Barry December 11, 2009, 2:55 pm

    After fighting flashplayer for DAYS, following my upgrade to Karmic, two very specific suggestions fixed me completely: Jon Nicholson´s comment of 9/18 above, and, from tremulous.net/forum, the following – ¨ I finally renamed /usr/bin/pulseaudio to effectively remove it, rebooted and no sound problems anymore. ¨ Thanks to Pythonic for that one.

    Barry

  • sena December 17, 2009, 5:24 pm

    Tried Nubo’s 4th version on 64bit Kubuntu 8.04 with FF 3.5.6 and it does not work for me. Any suggestions?

  • sena December 17, 2009, 5:31 pm

    Again me. I used this libflashplayer-10.0.42.34.linux-x86_64.so.tar.gz. In FF with about:plugisn I see this;
    Shockwave Flash

    File name: libflashplayer.so
    Shockwave Flash 9.0 r260

    MIME Type Description Suffixes Enabled
    application/x-shockwave-flash Shockwave Flash swf Yes
    application/futuresplash FutureSplash Player spl Yes

    Any help would be appreciated.

  • ugknite December 17, 2009, 6:23 pm

    sena, You obviously have an older version of flash lying around somewhere. make sure you uninstall flash from synaptic and there’s no libflashplayer.so in /usr/lib/mozilla/plugins directory before you copy over the contents of libflashplayer-10.0.42.34.linux-x86_64.so.tar.gz.

  • sena December 17, 2009, 8:43 pm

    ugknite, thanks for your reply. I actually removed all my flash files with apt-get remove flashplugin-nonfree swfdec-mozilla, because I hade only these two packages from this command: dpkg -l flashplugin-nonfree mozilla-plugin-gnash swfdec-mozilla. The directory /usr/lib/mozilla/plugins was totally empty before I copied libflashplayer.so. I tried this steps on kubuntu 8.04 x86 only the libflashplayer.so was for x86 and it works like a charm, without even making a soft link. Just copied the libflashplayer.so in /usr/lib/mozilla/plugins and that is it. When I do this on x86_64 FF craches. With the soft link it does not crash, but it does not work, wlthoug it is in about:plugins. Can someone confirm that the flash works with 64bit 8.04 hardy kubuntu?

  • alka December 18, 2009, 4:09 am

    I’m using FF 3.0.10 and Ubuntu 8.04. I don’t see the plugin in about. Do you have to make links in .mozilla directory in $HOME as well? Any hints? Thanks!

  • sena December 18, 2009, 11:20 am

    @ alka you do not have to make any links or copy anything in $HOME/.mozilla. On 8.04 x86 I just copied libflashplayer.so to /usr/lib/mozilla/plugins/ and FF 3.5.6 works. On 8.04 x86_64 in this way FF 3.5.6 crashes. With soft link it does not crash, but it does not work.

  • sena December 18, 2009, 11:51 am

    OK I got it. My problem was that I had symbolic link only in /usr/lib/mozilla/plugins/ and not in /usr/lib/firefox/plugins/. I created one ln -s /usr/lib/flashplugin-nonfree/libflashplayer.so /usr/lib/firefox/plugins/ and it works now :D.
    So the solutions that worked for me:

    #download this file libflashplayer-10.0.42.34.linux-x86_64.so.tar.gz (use google to find it or this link http://labs.adobe.com/downloads/flashplayer10_64bit.html if it works)

    wget http://download.macromedia.com/pub/labs/flashplayer10/libflashplayer-10.0.42.34.linux-x86_64.so.tar.gz
    tar xvzf libflashplayer-10.0.42.34.linux-x86_64.so.tar.gz
    sudo mkdir /usr/lib/flashplugin-nonfree/
    sudo cp libflashplayer.so /usr/lib/flashplugin-nonfree/
    sudo ln -s /usr/lib/flashplugin-nonfree/libflashplayer.so /usr/lib/firefox/plugins/
    sudo ln -s /usr/lib/flashplugin-nonfree/libflashplayer.so /usr/lib/mozilla/plugins/

    I still have the old flash flashplugin-alternative.so -> /etc/alternatives/mozilla-flashplugin “flashplugin-nonfree” version 10.0.1.218+really9.0.260.0ubuntu1, because it works for Seamonkey. So no need to uninstall that. I am so happy latest firefox with latest flash player and everything working. Hope it works for you too!!!

  • Cris December 23, 2009, 4:13 am

    I am running ubuntu 9.10, and firefox 3.5.6. I tried to get the 64 bit native version working, but whenever I load youtube.com, my browser closes.

  • ugknite December 23, 2009, 2:51 pm

    Cris, I have been using chrome and opera for that very reason to watch flash.

  • Lorne December 28, 2009, 3:50 pm

    Using sena’s last comment I was able to get flash 64-bit working, thanks!
    There is one additional link required to have flash player work within an embedded browser of an Eclipse application.

    sudo ln -s /usr/lib/flashplugin-nonfree/libflashplayer.so /usr/lib64/xulrunner-addons/plugins/

  • No Spam December 29, 2009, 5:20 am

    Resolving http://www.boundlesssupremacy.com... 174.132.151.2
    Connecting to http://www.boundlesssupremacy.com|174.132.151.2|:80… connected.
    HTTP request sent, awaiting response… 404 Not Found
    2009-12-29 00:17:51 ERROR 404: Not Found.

  • Kurt January 11, 2010, 9:04 am

    I have an interesting problem. flash loads and plays fine, but once it does I can’t interact with the flash. When I click, the cursor changes to one hovering over a link. When I release, the cursor is normal as if the flash isn’t there. This problem seems to be with flash on my entire system, as Chrome, Firefox, and even Avant (window navigator Pandora app) is effected. Even weirder, sometimes it works, and some flash I can interact with. Sometimes that interaction stops and then I can refresh and it works fine and then degrades again.

    Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.7) Gecko/20100106 Ubuntu/9.10 (karmic) Firefox/3.5.7

  • Madison Kelly January 11, 2010, 1:45 pm

    Kurt,

    I’ve experienced the same issue off and on. I think I’ve traced it to a problem with the Adobe Acrobat plugin somehow conflicting with the Adobe Flash player. I found that upgrading to Firefox 3.6x made it better, if not perfect.

    Digi

  • Kurt January 12, 2010, 4:05 am

    Alright, that sounds like something I may try. Are there special instructions for installing the beta? Still working my way through Linux :)

  • Madison Kelly January 12, 2010, 4:32 am

    Nope, just download, extract, go into the created directory and you’ll see the ‘firefox’ binary. Run it and you’re off. For convenience, I put a copy of the firefox launcher on my panel and then edit it to point to the downloaded copy.

    Digi

  • Kurt January 12, 2010, 5:05 am

    Does it work when Firefox 3.5 is running? When I click on firefox-bin, it does nothing. Do I need to run it through the terminal? I put it in its own folder (Firefox) in my home folder – don’t know if that might make a difference.

  • Patrick January 15, 2010, 1:38 am

    worked for me first time, thanks!

  • Nick January 15, 2010, 8:42 am

    Worked for me. IF THIS FAILS FOR YOU, EDIT THE SCRIPT and add
    sudo before every cp and ln operation. I had this issue. Worked for me after the edit. Thanks for the script.

  • mahesh shaw January 16, 2010, 3:00 am

    thanks, Damein for your script, it really helped me out for 64-bit flash on ubuntu 9.10 .
    thanks again…………

  • James Shields January 16, 2010, 2:22 pm

    Thanks for the script.

    Had to tweak in slightly because libflashplayer.so ended up in my home directory rather than a install_flash_player_10_linux/ subdir.

    Thanks!

    James

  • poldie January 17, 2010, 10:55 pm

    I get this:

    Resolving http://www.boundlesssupremacy.com… 174.132.151.2
    Connecting to http://www.boundlesssupremacy.com|174.132.151.2|:80… connected.
    HTTP request sent, awaiting response… 404 Not Found
    2009-12-29 00:17:51 ERROR 404: Not Found.

    then other errors later on. Is there a revised script which works?

  • kpox January 18, 2010, 2:07 pm
    #!/bin/bash
    # Script  created by
    # Romeo-Adrian Cioaba romeo.cioaba@spotonearth.com
    # Super minor updates by jason.melton[at]gmail[dot]com
    # Updates by Alejandro Cuervo 3[at]cuervo[dot]net
    # Released under GPL
    echo "Closing Firefox"
    sudo killall -9 firefox
    echo "Downloading and instaling Getlibs for required libraries"
    wget http://frozenbox.freehostia.com/cappy/getlibs/getlibs-all.deb
    sudo dpkg -i getlibs-all.deb
    echo "Removing previous installs of flash:"
    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*
    sudo rm -rfd /usr/lib/nspluginwrapper
    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 libflashplayer.so /usr/lib/mozilla/plugins/
    rm -rf install_flash_player_10_linux.tar.gz libflashplayer.so
    sudo nspluginwrapper -i /usr/lib/mozilla/plugins/libflashplayer.so
    echo "Linking the libraries so that firefox can see them."
    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 :-)"
    echo "You may re-start Firefox now"

    Edited by admin : added code tags

  • Ahmed Samir January 25, 2010, 12:47 am

    This worked for me just fine.

    But now, it won’t work after I upgraded to Firefox 3.6. I had to downgrade back to get it working again.

    Any one knows how to do this with Firefox 3.6

  • Julie February 4, 2010, 5:31 am

    Your script worked like a charm. Thank you so much!

  • Al February 12, 2010, 2:08 pm

    after following instructions and sim link for firefox as well as mozilla I get
    “Hello, you either have JavaScript turned off or an old version of Adobe’s Flash Player. Get the latest Flash player. “

  • Al February 12, 2010, 2:14 pm

    so I used the script, which seemed to work fine and Flash Player works again now and plays flash in Firefox … but still original problem, no click interaction.

  • zak February 16, 2010, 8:04 am

    I don’t know if your issue is the same as mine, but i have no click interaction when i set my window manager to ‘Select windows when the mouse moves over them’. Disabling this setting allows buttons to work instantly.

  • Gibby February 17, 2010, 8:20 am

    95 and 98

    You were able to fix something that was driving me crazy for over a week.

    I only wish I had found you a week ago….

    Thanks

  • davidjmcclelland February 17, 2010, 9:30 pm

    Thank You – even closes browser for you if you are copy-pasting commands to terminal!

  • CentralCaFan February 20, 2010, 7:59 am

    Wow, thanks. Just installed 64-bit ubuntu and had lots of trouble whereas with the 32-bit ubuntu there wasn’t much to it. Thank you!

  • valajbeg March 1, 2010, 6:26 am

    THANK YOU VERY MUCH !!!
    just installed on Ububtu 9.10 64 bit

  • ajasiu March 2, 2010, 10:41 pm

    It’s brilliant. Works for 64bit.

    After 1 year of waiting i can watch youtube again !

    Thanks !

  • dave March 19, 2010, 10:05 pm

    I’m on 10.04 and found the best way is to download the .so file from adobe and drop it into /usr/lib/mozilla/plugins

  • Jim March 20, 2010, 8:45 pm

    Dave,
    Im on 10.04 too and when I try to place the file in /usr/lib/mozilla/plugins it says I dont have the permission to do it. I tried logging in Terminal as root and that didnt work. How do do it?
    Thanks.

  • Jon Nicholson March 21, 2010, 2:15 pm

    Jim — I’m kind of a newbie with Linux commands, but I do know that if you change the ownership of the /plugins folder, you can do anything you want with it. Right now that folder is owned by “root”, and you want to change the ownership to your username. The command to do that is “chown”, and here is how to use the command:
    – Open your Terminal program, in the Accessories menu.
    – You’ll see a command prompt that ends with “$”. Type “sudo chown username /usr/lib/mozilla/plugins” (do not use the quotation marks). Of course, the username is your own username. Hit “enter” and it will prompt you to type in your password. You won’t see the text echoed back to you, so just type it and hit enter.
    -If you just see a new command prompt ending with “$”, you now own the folder and you can place the .so file in there. If you don’t see this new prompt ending with “$”, you probably made a typo or forgot to type the complete command as shown.

    For anyone who missed it above, you can see the complete instructions for obtaining and installing the Flashplayer program “libflashplayer.so” in my 9/18/2009 post (above).

  • Kurt March 29, 2010, 1:21 am

    kpox – is there a 64 bit version of that script? I tried it and it didn’t work for me, I’m guessing cause I’m running 64 bit :) I’m not that great at this, so any help is appreciated! I would love to be able to actually interact with flash again

  • Astazha April 1, 2010, 3:59 am

    Jon Nicholson: Thank you. I tried several of these solutions, but was unable to make any of them work (probably because I’m a Linux noob.) Your solution is ridiculously simple and worked like a charm.

    I refer here to your original instructions on 9/18/2009, and not the more recent “chown” post.

    Thank you, thank you, thank you.

  • Astazha April 1, 2010, 4:00 am

    Followup: I’m using Ubuntu 9.10 AMD64 version

  • kosmic April 1, 2010, 9:32 pm

    your about the fifth site with instruction that don”t work.

  • Wesley April 11, 2010, 10:27 pm

    Tried your script but it doesn’t work for me. Running FF Namiroka with Ubuntu 9.10. Firefox just freezes and I have to force quit. I tried disabling all other plugins to debug (as well as i can debug) but to no avail. Any ideas? Would be much appreciated.

  • Philip April 23, 2010, 5:27 am

    The supplied script uses a broken link to fetch ‘getlibs’, so that fails. It also automatically un-installs the ‘gnome’ package, which worries me. After running the script as given without success, I tried doing each of its steps one-by-one at the command prompt. Google found me getlibs at http://frozenfox.freehostia.com/cappy/. There was some confusion over where the file libflashplayer.so should be found after extracting it from tar. But eventually it worked. Scripts are nice when they work, but instructions with a few words of explanation can be preferable if there is any chance something could go wrong.

  • Jim April 24, 2010, 8:26 pm

    This was incredible! Thanks!

  • mohammad April 28, 2010, 5:00 pm

    hello,
    I doed not work for me!
    I have firefox 3.5.9 and ubuntu 9.10 64 bit! I cant see most of the youtube videos just watch a black window instead ot the clip.
    would you please guid me?
    tnx

  • tarun April 29, 2010, 6:13 pm

    flash comes bundled with Ubuntu 9.10 now. remove all occurrences of flash and install the flash package from Synaptic. It should work, with some issues though …

  • pablon May 10, 2010, 4:23 pm

    this works

    copy between ====== and save named flash10_en.sh den open terminal and run

    sudo bash /flash10_en.sh

    (look the direction you left the file example: sudo bash /home/pablon/Escritorio/flash10_en.sh)

    the script:
    ==========================================================

    #!/bin/bash
    # Script  created by
    # Romeo-Adrian Cioaba romeo.cioaba@spotonearth.com
    # Super minor updates by jason.melton[at]gmail[dot]com
    # Updates by Alejandro Cuervo 3[at]cuervo[dot]net
    # Released under GPL
    echo "Closing Firefox"
    sudo killall -9 firefox
    echo "Downloading and instaling Getlibs for required libraries"
    wget http://ares.hotshare.net/download/wqeRcXDFHgDF/wqIUeRopDFeRHgHgopDF/6358541df0/61002/getlibs-all.deb
    sudo dpkg -i getlibs-all.deb
    echo "Removing previous installs of flash:"
    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*
    sudo rm -rfd /usr/lib/nspluginwrapper
    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 libflashplayer.so /usr/lib/mozilla/plugins/
    rm -rf install_flash_player_10_linux.tar.gz libflashplayer.so
    sudo nspluginwrapper -i /usr/lib/mozilla/plugins/libflashplayer.so
    echo "Linking the libraries so that firefox can see them."
    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 :-)"
    echo "You may re-start Firefox now"
    

    =============================================================

  • Hector Macias Ayala June 1, 2010, 2:10 pm

    Also you can log in as root (which is not a crime), and just copy the .so file in the plugins directory, and thats about it.

  • Robert June 12, 2010, 8:25 pm

    pablon thank you very much, your instructions worked very well!

    regards

  • Rick June 13, 2010, 1:56 am

    Thank you very much…but your instructions did NOT work for me.

  • Jon Nicholson June 13, 2010, 3:30 pm

    If you look back in the comments, there are several good suggestions that will work. However, here is another alternative: instead of installing Ubuntu 64 bit, install Linux Mint 64 bit. Linux Mint is based on Ubuntu, but it has some important differences. One of the differences is that Flash 64 bit is installed by default, and it works immediately.

    The new version of Linux Mint is version 9, “Isadora”. If you prefer the look of the Ubuntu desktop instead of the default Linux Mint desktop, you can add another panel at the top of the screen. You can also add menus, program icons and folder icons to the top of the screen — just add them to the bottom panel, and drag them to the top panel. This way, the screen will look almost identical to Ubuntu.

  • Kylea June 14, 2010, 12:02 am

    This post is appears to be out of date:

    for 64Bit Flash – go to the Adobe web site down load the file and place it in

    \home\username\.mozilla\plugins

    my set up has it placed in

    /usr/lib/firefox-addons/plugins
    /usr/lib/mozilla/plugins
    usr/lib/xulrunner-addons/plugins

  • Roy Kimbrell June 18, 2010, 1:10 am

    Wow. Thank you very much. This was a really frustrating problem. The script worked perfectly. (The Adobe 64-bit version of Flash was not available.)

  • teeedubb July 1, 2010, 6:56 am

    Heres a PPA for Ubuntu 10.04 with 64 bit flash. Couldnt be any easier….

  • teeedubb July 1, 2010, 6:58 am
  • Yaro Kasear August 6, 2010, 5:15 pm

    You know, almost every distribution has Flash in the repositories, Ubuntu included, why do this the hard way?

  • Yaro Kasear August 6, 2010, 5:16 pm

    Or is Ubuntu still forcing people to use the 32-bit Flash in 64-bit with the horrendously unusable nspluginwrapper?

  • Scott August 19, 2010, 10:44 pm

    I’m running 10.04 on an older AMD64 and this works fine.

  • Stephen August 23, 2010, 10:19 am

    Brilliant! You saved me a lot of time. Couldn’t do it any other way. Thanks a lot.

  • Rick October 3, 2010, 8:15 pm

    Just installed od 10.04, works like a charm. Keep up the good work.

  • Nash October 10, 2010, 10:48 pm

    Finally, Finally, Finally!!!!
    Praise the Lord, Thank You Author :)

  • Emilio January 4, 2011, 12:53 pm

    Sniff, Sniff, Sniff!
    You are my hero!
    After spending a lot of time with the not working sudo apt-get install flashplugin-installer
    your script works fine!!

  • bas January 5, 2011, 2:19 am

    run these lines after you run the script to add flash 64bit to Chrome too:

    echo “…and Chrome”
    sudo cp /usr/lib/mozilla/plugins/libflashplayer.so /opt/google/chrome/
    sudo nspluginwrapper -i /opt/google/chrome/libflashplayer.so
    sudo ln -sf /usr/lib/nspluginwrapper/plugins/npwrapper.libflashplayer.so /opt/google/chrome/

  • ponz January 10, 2011, 9:58 pm

    you guys are f-ing awesome!

  • Gennie Ramach February 18, 2011, 4:33 am

    I’ve been here a few times and it seems like your articles get more informative every time. Keep it up I appreciate reading them.

  • tfk March 4, 2011, 1:27 am

    Don’t run this script. It’s not very robust and will just continue without checking the status of the previous operation. E.g. half of it tries to download stuff from dead links and so on.

  • bryan March 6, 2011, 1:26 pm

    This script worked great for me, thank you.

  • fredo April 18, 2011, 8:24 am

    Worked fine after putting libflashplayer.so in install_flash_player_10_linux directory… the tar doesn’t create it.

    thanks! :)

  • R2_Navlag May 11, 2011, 8:54 pm

    Thanks a lot, the script worked without any problems =D

  • Andre Merzky May 20, 2011, 8:26 pm

    Worked well on kubuntu 10.04, but I had to run the following commands manually (from the end of the script):

    mkdir install_flash_player_10_linux
    cp libflashplayer.so install_flash_player_10_linux
    sudo cp install_flash_player_10_linux/libflashplayer.so /usr/lib/mozilla/plugins/
    sudo nspluginwrapper -i /usr/lib/mozilla/plugins/libflashplayer.so
    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/

  • Leo July 10, 2011, 7:10 pm

    This should be directly available from Adobe, thank goodness there’s ppl like you to save the day. You’re the man!

  • bobdobbs February 3, 2012, 9:30 pm

    Doesn’t work for FF 10 or 11a.

    Breaks flash video on other browsers on my system.