How to Install the Flash Plugin in Elementary OS Luna

Last updated: November 28, 2013

The Elementary OS Luna – Ubuntu 12.04 Precise based system – comes with lightweight browser Midori. To get Flash working for it, you’ll need to install ndiswrapper and do some tweaking. It’s not difficult, just folow the below steps, copy and paste commands into terminal and hit enter to run.

1.) To get started, press Ctrl+Alt+T on your keyboard to open terminal. When it opens, run command to install the flashplugin-installer.

sudo apt-get install flashplugin-installer nspluginwrapper

install flash for eos

2.) Then run below commands one by one to get the flash working.

sudo nspluginwrapper -i /usr/lib/flashplugin-installer/libflashplayer.so

nspluginwrapper -v -a -n -i

enable flash for eos

That’s it. Restart your browser and enjoy!

UPATE: As KW said, if previous commands does not work, just move the libflashplayer.so file to the /usr/lib/mozilla/plugins folder

Twitter

I'm a freelance blogger who started using Ubuntu in 2007 and wishes to share my experiences and some useful tips with Ubuntu beginners and lovers. Please comment to let me know if the tutorial is outdated! And, notify me if you find any typo/grammar/language mistakes. English is not my native language. Contact me via [email protected] Buy me a coffee: https://ko-fi.com/ubuntuhandbook1 |

7 responses to How to Install the Flash Plugin in Elementary OS Luna

  1. I tried. Returns error:

    nspluginwrapper: no appropriate viewer found for /usr/lib/flashplugin-installer/libflashplayer.so

    Running Luna amd64 on VirtualBox 4.1.26

  2. It returns an error.. “Unable to locate package”

  3. Read about Elementary OS in RSS feed today. Downloaded and installed in a VMWare machine. First thing to try was YouTube in browser and found these instructions.

    This type of experience is exactly why Linux will never take over the masses. Regular users don’t want to have to use the CLI for *anything at all.* As soon as a Linux variant comes out where you need the CLI as often as you do in Mac OS X, then you’ll have something.

    On top of that, following these instructions on a fresh install produces errors and no working flash:

    root@elementary:~# nspluginwrapper -i /usr/lib/flashplugin-installer/libflashplayer.so
    nspluginwrapper: no appropriate viewer found for /usr/lib/flashplugin-installer/libflashplayer.so
    root@elementary:~# nspluginwrapper -v -a -n -i
    Auto-install plugins from /usr/lib/mozilla/plugins
    Looking for plugins in /usr/lib/mozilla/plugins
    *** NSPlugin Viewer *** ERROR: /usr/lib/mozilla/plugins/flashplugin-alternative.so: wrong ELF class: ELFCLASS64
    Auto-install plugins from /root/.mozilla/plugins
    Looking for plugins in /root/.mozilla/plugins
    root@elementary:~#

  4. just move the the libflashplayer.so file to the /usr/lib/mozilla/plugins folder……..youtube videos should be first to test try.

    • after copy libflashplayer.so file to the /usr/lib/mozilla/plugins folder

      nspluginwrapper -v -a -n -i
      Auto-install plugins from /usr/lib/mozilla/plugins
      Looking for plugins in /usr/lib/mozilla/plugins
      *** NSPlugin Viewer *** ERROR: /usr/lib/mozilla/plugins/libnpsoplugin.so: wrong ELF class: ELFCLASS64
      *** NSPlugin Viewer *** ERROR: /usr/lib/mozilla/plugins/libflashplayer.so: wrong ELF class: ELFCLASS64
      *** NSPlugin Viewer *** ERROR: /usr/lib/mozilla/plugins/libtotem-mully-plugin.so: wrong ELF class: ELFCLASS64
      *** NSPlugin Viewer *** ERROR: /usr/lib/mozilla/plugins/libtotem-gmp-plugin.so: wrong ELF class: ELFCLASS64
      *** NSPlugin Viewer *** ERROR: /usr/lib/mozilla/plugins/libjavaplugin.so: wrong ELF class: ELFCLASS64
      *** NSPlugin Viewer *** ERROR: /usr/lib/mozilla/plugins/flashplugin-alternative.so: wrong ELF class: ELFCLASS64
      *** NSPlugin Viewer *** ERROR: /usr/lib/mozilla/plugins/libtotem-narrowspace-plugin.so: wrong ELF class: ELFCLASS64
      *** NSPlugin Viewer *** ERROR: /usr/lib/mozilla/plugins/libtotem-cone-plugin.so: wrong ELF class: ELFCLASS64
      *** NSPlugin Viewer *** ERROR: /usr/lib/mozilla/plugins/libvlcplugin.so: wrong ELF class: ELFCLASS64
      Auto-install plugins from /usr/lib/firefox/plugins
      Looking for plugins in /usr/lib/firefox/plugins
      Auto-install plugins from /home/lux/.mozilla/plugins
      Looking for plugins in /home/lux/.mozilla/plugins

    • How do I do that?