Thursday, February 18, 2010

64 bit flash in Ubuntu Linux

I've updated the code located on a very useful post to give you this bash script. Open up your favorite text editor and paste the contents below. Save the file and (from the command line) use chmod +x to make it executable. After that, execute the file with: ./yourfilename

This version of 64bit flash allows the use of my USB webcam with - the bleeding edge just got a bit softer!!

# Script created by
# Romeo-Adrian Cioaba
# ...then adapted for latest version of 64 bit flash by voodoologic

echo "Stopping any Firefox that might be running"
sudo killall -9 firefox

echo "Removing any other flash plugin previously installed:"
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"
cd ~
tar zxvf
sudo cp /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/ /usr/lib/firefox-addons/plugins/
sudo ln -sf /usr/lib/mozilla/plugins/ /usr/lib/xulrunner-addons/plugins/

# now doing some cleaning up:
sudo rm -rf
sudo rm -rf

No comments: