Friday, May 4, 2007

Get flash 9 working (very easy) with nspluginwrapper

Since the readers of this blog are all AMD64 users (in general), I would like to mention how I got flash to work under AMD64. It's not that hard, but it seems that sometimes the instructions are confusing or hard to find. This is going to be pretty much a blatant copy of what was on the Ubuntu Forums post here.

Ok. We need some basic 32-bit libraries available from the Ubuntu repositories. In a terminal:

sudo apt-get install ia32-libs ia32-libs-gtk linux32 lib32asound2

Now, if Janvitus' Repository isn't changed since I write this, type in this:

wget -O- | sudo apt-key add -

Now type in:

sudo gedit /etc/apt/sources.list

And in the text editor that opens up add on the bottom:

deb feisty-janvitus main-amd64
deb-src feisty-janvitus main-amd64

Save the file, close it and then type into terminal:

sudo apt-get update


sudo apt-get install nspluginwrapper gsfonts-x11

After everything is installed, download adobe flash player 9 from this website:


Double-click on the downloaded flash player archive and extract it somewhere. Then open up the extracted folder and:
move the 2 files “” and “flashplayer.xpt” from that folder into the /usr/lib/mozilla/plugins folder (quote from article)
Now I had problems about permissions when moving, and had to run a command in order to do it:

sudo mv [and now drag both files into the terminal window, then type this>>] /usr/lib/mozilla/plugins/

So it should look something like this:

gavin@gavin-desktop:~$ sudo mv '/home/gavin/Desktop/install_flash_player_9_linux/' '/home/gavin/Desktop/install_flash_player_9_linux/flashplayer.xpt' /usr/lib/mozilla/plugins/

Of course your username would be replaced with mine. After that is typed in, hit enter.

Now, finally, we are almost done. Type in:

nspluginwrapper -i /usr/lib/mozilla/plugins/

You shouldn't receive any error messages if you've done the right things.

Now open up your Home folder and choose in the view menu > Show hidden files. In the folder .mozilla/plugins/ you should see the file “”, created from the previous command.

Copy it into the folder /usr/lib/mozilla/plugins/ and copy it into the folder /usr/lib/mozilla-firefox/plugins/

Now try it out by going to Youtube or a flash-based website. If youtube doesn't work, try closing the browser and reopening it, it might work the second time.

If something goes wrong, visit the forum post and if you fix it comment on this blog so I can edit my post. Thanks! Good luck.

1 comment:

Anonymous said...

Perfect Gavin. Thanxs !!!