Thursday, March 29, 2012

How to Install Flash Player 11.2 on Ubuntu 64-bit ...like a noob

Today I installed flash player 11.2 on my Ubuntu box.  In the past when I've tried to install Flash Player it's been a huge mess because the instructions in the README don't work, or I don't know where the right plugins directory is so I end up copying files willy nilly into every location I find mentioned in my "flash player install linux ubuntu how to" google search until finally it works but I have no idea which was the right location.
So this time, I decided to clean up.  First I deleted every file I could find that had the words flash and player  in the name.  Also, to make sure I didn't have Gnash (a flash player alternative) installed, I typed the following into Terminal:

sudo apt-get remove gnash*

After confirming that Flash no longer worked in Firefox and Chrome I did the following:

1. Download Flash Player from http://get.adobe.com/flashplayer.  I chose the tar.gz option.
2. Extract the tar.gz package to ~/temp
3. in Terminal:
    sudo cp -r ~/temp/usr/* /usr
4. One by one, tried each directory that looked like it could be a firefox plugins directory until finally found the one that worked.  What finally worked was:
    sudo cp ~/temp/libflashplayer.so /usr/lib64/mozilla/plugins/libflashplayer.so

Now I've got 64-bit flash player running and my filesystem is much cleaner!

3 comments:

  1. UUHHH!!! WHY OH WHY can't I get the file to extract??

    ReplyDelete
    Replies
    1. not sure. How are you attempting to extract it?
      http://www.pendrivelinux.com/how-to-open-a-tar-file-in-unix-or-linux/

      Delete