Linux Firefox - Install FlashPlayer HowTo

Linux Firefox and FlashPlayer

Installing Flash in Windows is straightforward, a few clicks and its done. Installing FlashPlayer in Linux is not so easy. If you visit a site with Flash content, Linux Firefox will offer to install the Flash driver, fail and offer to download it manually. If you get this far, this is howto finish the manual install.

Download the Linux Flash plug-in. It will be wrapped in a gzipped tar file. Save the file to your home directory. Unzip it and extract the file:

$ gunzip install_flash_player_9_linux.tar.gz
$ tar xfv install_flash_player_9_linux.tar

change into the newly created directory:

$ cd install_flash_player_9_linux

You'll see a file "libflashplayer.so". The flash plugin your after. Copy the plugin to Firefox's plugin directory.

Here's the tricky part. There is no stock plugin directory, far as I can tell. What's more, the Firefox developers keep moving it to a new location with each release.

I googled and found references to /usr/lib/firefox/plugins/ or /usr/lib/mozilla/plugins/ or /usr/lib/mozilla-firefox/plugins/.

In my Debian install I don't any of the above. As a result of the politicking, Debian re-brands "Firefox" as "Iceweasel" You can read all about the spat at internetnew.com. On my Debian box, I have /usr/lib/iceweasel/ but it has no plugins directory. I googled and found a few results and it appears you can create your own, either in /usr/lib/firefox/plugins/ or under the home directory /home/myname/.mozilla/plugins/. Lets do that.

$ cd /home/myname/.mozilla/
$ mkdir plugins
$ cd plugins;

Copy the plugin to the newly created plugins directory:

$ cp /home/myname/install_flash_player_9_linux/libflashplayer.so .

To play safe, we can copy it to the mozilla/firefox/iceweasel plugins directory, so lets do that.

As root:

# cd /usr/lib/iceweasel/
# mkdir plugins
# cd plugins

Copy the plugin to the newly created plugins directory:

# cp /home/myname/install_flash_player_9_linux/libflashplayer.so .

Now restart Firefox (or Iceweasel or whatever your version is now called).

Go to youtube.com and enjoy Flashplayer in Linux Firefox.

Thats about it.