Home > AMD64, Debian, Linux, english > Flash Player 10 plugin working in a 64 bit Firefox.

Flash Player 10 plugin working in a 64 bit Firefox.

I installed the Debian AMD64 port in my new desktop. But there is a common problem when using a 64 bit system and the Firefox (or Iceweasel) browser: there aren’t plugins to Flash, Java and RealPlayer.

Before search a little bit about how solve this problem, I found some links ([1], [2] and [3]) that explain how to solve the problem. Basically, the articles recommend to use the nspluginwrapper, an Open Source plugin that allows you to use Netscape compatible (NPAPI) plugins on platforms that they were not built on.

[1] http://plugindoc.mozdev.org/linux-amd64.html
[2] http://www.cyberciti.biz/tips/linux-flash-java-realplayer-under-64bit-firefox.html
[3] http://www.debian-administration.org/articles/534

So, I decided to test the installation of the Flash plugin, using the nspluginwrapper. First, I wanted to know if there was the plugin as a DEB package in some of my apt-get repositories (see here my sources.list):

  1. raptor:~# apt-cache search nspluginwrapper
  2. nspluginwrapper – A wrapper to run Netscape plugins on other architectures
  3. raptor:~#

Very good! Better is impossible! So, I installed it and it’s depecencies: ia32-libs, ia32-libs-gtk, lib32gcc1, libc6, libc6-i386, libglib2.0-0, libx11-6, libxt6 and util-linux.

Installing the Flash Player

The next step was download the new Flash Player 10 from here. After the download has completed, I decompress the tarball, and copied the libflashplayer.so file to /usr/lib/mozilla/plugins:

  1. raptor:~# tar -xzvf flashplayer10_install_linux_051508.tar.gz
  2. install_flash_player_10_linux/
  3. install_flash_player_10_linux/libflashplayer.so
  4. install_flash_player_10_linux/flashplayer-installer
  5. raptor:~# cd install_flash_player_10_linux
  6. raptor:~/install_flash_player_10_linux# cp libflashplayer.so /usr/lib/mozilla/plugins/

Once the Flash plugin is in the browser directory, I ran the nspluginwrapper command, and the result was:

  1. raptor:~# cd /usr/lib/mozilla/plugins
  2. raptor:/usr/lib/mozilla/plugins# nspluginwrapper -i /usr/lib/mozilla/plugins/libflashplayer.so
  3. raptor:/usr/lib/mozilla/plugins# ls -ltr
  4. total 11344
  5. -rw-r–r– 1 root root    1067 2007-12-02 13:17 mplayerplug-in.xpt
  6. -rw-r–r– 1 root root    1067 2007-12-02 13:17 mplayerplug-in-wmp.xpt
  7. -rw-r–r– 1 root root    1067 2007-12-02 13:17 mplayerplug-in-rm.xpt
  8. -rw-r–r– 1 root root    1067 2007-12-02 13:17 mplayerplug-in-qt.xpt
  9. -rw-r–r– 1 root root    1067 2007-12-02 13:17 mplayerplug-in-dvx.xpt
  10. -rw-r–r– 1 root root  286640 2007-12-02 13:17 mplayerplug-in-wmp.so
  11. -rw-r–r– 1 root root  287120 2007-12-02 13:17 mplayerplug-in.so
  12. -rw-r–r– 1 root root  286640 2007-12-02 13:17 mplayerplug-in-rm.so
  13. -rw-r–r– 1 root root  286640 2007-12-02 13:17 mplayerplug-in-qt.so
  14. -rw-r–r– 1 root root  286640 2007-12-02 13:17 mplayerplug-in-dvx.so
  15. -rw-r–r– 1 root root    5400 2008-04-13 06:15 librhythmbox-itms-detection-plugin.so
  16. lrwxrwxrwx 1 root root      51 2008-05-05 09:06 libtotem-narrowspace-plugin.xpt -> ../../totem/default/libtotem-narrowspace-plugin.xpt
  17. lrwxrwxrwx 1 root root      50 2008-05-05 09:06 libtotem-narrowspace-plugin.so -> ../../totem/default/libtotem-narrowspace-plugin.so
  18. lrwxrwxrwx 1 root root      45 2008-05-05 09:06 libtotem-mully-plugin.xpt -> ../../totem/default/libtotem-mully-plugin.xpt
  19. lrwxrwxrwx 1 root root      44 2008-05-05 09:06 libtotem-mully-plugin.so -> ../../totem/default/libtotem-mully-plugin.so
  20. lrwxrwxrwx 1 root root      43 2008-05-05 09:06 libtotem-gmp-plugin.xpt -> ../../totem/default/libtotem-gmp-plugin.xpt
  21. lrwxrwxrwx 1 root root      42 2008-05-05 09:06 libtotem-gmp-plugin.so -> ../../totem/default/libtotem-gmp-plugin.so
  22. lrwxrwxrwx 1 root root      47 2008-05-05 09:06 libtotem-complex-plugin.xpt -> ../../totem/default/libtotem-complex-plugin.xpt
  23. lrwxrwxrwx 1 root root      46 2008-05-05 09:06 libtotem-complex-plugin.so -> ../../totem/default/libtotem-complex-plugin.so
  24. lrwxrwxrwx 1 root root      45 2008-05-05 09:06 libtotem-basic-plugin.xpt -> ../../totem/default/libtotem-basic-plugin.xpt
  25. lrwxrwxrwx 1 root root      44 2008-05-05 09:06 libtotem-basic-plugin.so -> ../../totem/default/libtotem-basic-plugin.so
  26. -rwxr-xr-x 1 root root 9953520 2008-05-18 16:32 libflashplayer.so
  27. lrwxrwxrwx 1 root root      60 2008-05-18 16:33 npwrapper.libflashplayer.so -> /usr/lib/nspluginwrapper/plugins/npwrapper.libflashplayer.so

After this, I restarted my Iceweasel, and tried to use a page that have flash, and voilá! I have a Flash plugin now! :-D

Categories: AMD64, Debian, Linux, english Tags: , , ,
  1. osiRis
    December 9th, 2008 at 08:39 | #1

    Thank you for your howto,

    but since an update from Adobe, you can get a beta of Adobe Flash Player 10 at http://labs.adobe.com/downloads/flashplayer10.html

    Just download it, untar it and copy the libflashplayer.so to /usr/lib/mozilla/plugins/.

    After that you can restart your Firefox and can enjoy Youtube and all the other flashcontents on the world wide web.

    peace out,
    osiRis

  2. December 9th, 2008 at 09:36 | #2

    osiRis,

    That is an interesting news, but I tried to apply the new 64 bits Flash plugin on my Fedora system at work and it didn’t work. :-(

    But I guess it’s a great news!!! :-D

    Regards,
    Paulo

  3. April 23rd, 2010 at 01:29 | #3

    Good job. I’m definitely going to bookmark you!

  1. No trackbacks yet.