Flash 11 Beta 64bit on Ubuntu

Adobe has finally coughed up a 64bit Flash 11 beta for Linux. Woo hoo!

If you’re on 64bit Ubuntu, download and extract libflashplayer.so, put this script in the same location and run it.

1
#!/bin/bash
echo "Remove old crap"
sudo apt-get remove -y --purge flashplugin-nonfree gnash gnash-common mozilla-plugin-gnash swfdec-mozilla libflashsupport nspluginwrapper
sudo rm -f /usr/lib/mozilla/plugins/*flash*
sudo rm -f ~/.mozilla/plugins/*flash*
sudo rm -f /usr/lib/firefox/plugins/*flash*
sudo rm -f /usr/lib/firefox-addons/plugins/*flash*
sudo rm -rfd /usr/lib/nspluginwrapper

echo "Installing Flash Player 10"
sudo cp libflashplayer.so /usr/lib/mozilla/plugins/

echo "Linking the libraries so Firefox and apps depending on XULRunner (vuze, liferea, rsswol) can find it."
sudo ln -sf /usr/lib/mozilla/plugins/libflashplayer.so /usr/lib/firefox-addons/plugins/
sudo ln -sf /usr/lib/mozilla/plugins/libflashplayer.so  /usr/lib/xulrunner-addons/plugins/

If you called it, say, flash.sh, make it executable and run it as root.

1
chmod +x flash.sh
sudo ./flash.sh

So far, so good. It’s still Flash - expect sputtering and screen tearing on fullscreen - but it seems to be pretty stable.