Thursday, April 12, 2007

Flash Player 9 in Firefox 2.x on Edgy x86_64 with nspluginwrapper!

I am posting this here to keep it close at hand for my private usage on the diverse x86_64 boxes I use, but to be fair it is well documented on the Ubuntu Forums.

First you will need to download these files:
# setup your linux32 libraries.
$ sudo aptitude install ia32-libs ia32-libs-gtk linux32 lib32asound2

# Debianize rpm's with alien.
$ sudo aptitude install alien

# convert the downloaded packages.
$ cd [path-to-downloaded-rpms]
$ sudo alien nspluginwrapper-
$ sudo alien nspluginwrapper-i386-

# install the packages.
$ sudo dpkg -i nspluginwrapper_0.9.91.2-2_amd64.deb
$ sudo dpkg -i nspluginwrapper-i386_0.9.91.2-2_amd64.deb

# WARNING: now close all browsers!!!

# unpack your downloaded flash player tarball.
$ cd [download-location]
$ tar xzvf install_flash_player_9_linux.tar.gz
$ cd install_flash_player_9_linux
$ mv /usr/lib/mozilla/plugins/
$ mv flashplayer.xpt /usr/lib/mozilla/plugins/

# finally need to setup the nspluginwrapper stuff, after running
# command below you should see the results in
# /usr/lib/mozilla/plugins/
# and
# /usr/lib/mozilla/plugins/
$ nspluginwrapper -i /usr/lib/mozilla/plugins/

# link these to firefox plugins.
$ cd /usr/lib/mozilla-firefox/plugins
$ ln -s /usr/lib/mozilla/plugins/
$ ln -s /usr/lib/mozilla/plugins/

# finished, go try a flash site like with Firefox 2.x!

No comments:

Post a Comment