Archive

Archive for the ‘Debian’ Category

Flash Player 10 plugin working in a 64 bit Firefox.

May 19th, 2008 3 comments

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, english, Linux Tags: , , ,

My new machine.

April 28th, 2008 1 comment

About one week ago, I bought a new desktop machine for me. It’s a Intel® Core™2 Duo E4500 with 1Gb of RAM, DVD-RW and 160Gb SATA. The motherboard is a GigaByte™ one with all on-board.

But, the most important thing is that I could install the 64bits (AMD64 port) testing version of Debian, and once the processor has two cores, I can start to learn more about OpenMP and multithreaded programming. I’m writing the steps I used to install the Debian in this machine (AMD64+boot by USB), and it will be available soon.

Other important thing, was about the default operating system that the computer’s shop wanted install in this machine. Here in Brazil, it’s common the computer’s shops installs not original versions of Windows when you buy a new machine. But, in this case, the shop I bought the machine installs by default a version of Ubuntu (I don’t know which one) in all new machines if the customer didn’t buy a Windows license. I thought this a great initiative from them. :-D

Categories: Debian, english, Linux, Ubuntu Tags: , , ,