Flash Player for Linux

I really hate Adobe’s stuff, I truely do.

If you’ve recently gotten screwed by the latest flash release, this post is for you. I know the update has been around forever, but it shows you how often I actually get on youtube or whatever to use flash.

If you’re using the RPM, stop right now. You fail.

If you’re using the .DEB, it might work. The deb is slightly less braindead than the RPM.

If you’re using Ubuntu you have your own set of issues to deal with and shouldn’t be fucking around on youtube anyway.

Everyone else – here’s what you do: The following is loosely based on the official adobe instructions. If you’re saying “I did follow them and I broke my firefox” you’re in the right place! It doesn’t work, at all, as it’s packaged.

Step 1: Go to the official website and get flash player. Or you can use this link, which does the same thing.

Step 2: As root, remove all previous versions of libflashplayer.so either through your package management application or simply ripping them out wholesale. find / -name libflashplayer.so will show you all the places it’s lurking.

Step 3: Grab the tar.gz version. Skip the deb, skip the rpm, skip whatever other crap you’re offered.

Step 4: As your user execute mkdir $HOME/.mozilla/plugins

Step 5: cd $HOME/.mozilla/plugins and then tar -zxvf $HOME/install_flash_player_10_linux.tar.gz

Restart your browser. You should be able to visit about:plugins and see shockwave flash and futuresplash. The reason we did it this way was because your user and only your user should have access to the flash.so so that if some weird remote exploit comes out, you don’t have to worry about polluting everyone’s shared libraries with your filth. More on the point if you ever have to write off your account entirely due to a remote exploit, we can ensure the only thing which the exploit can touch is your home directory. There’s no reason for adobe to be putting this in the shared libraries directory and more on the point I believe selinux doesn’t permit it’s execution anyway.

My guess is that Adobe either doesn’t know how it works or they want to prevent the forking of flash with competing products. If they make it so flash must be installed system wide then they keep the other forks of flash out of the system.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s