Life's random bits By b1thunt3r (aka Ishan Jain)…
Flash on Karmic

Flash on Karmic

Ishan jain
When Karmic (Ubuntu 9.10) came out I installed it as my main OS, due to solvable but time eating problems I decided to go back to Windows 7. The biggest problem I had was with Adobe Flash.

First problem was to get it installed on 64-bit OS. It took me over ten hours just to find out how to install Adobe Flash, and when I tried to download the package from Adobe's site, it was gone (A couple of days later I did find the official page for Flash on 64-bit Linux), then it took another two hours to find a package. When I finally got it installed then there were more problems.

It seemed like I was running a ripped of version of official flash. And with Compiz turned on, you couldn't even click on the flash applet.

This problem with flash and some other small problems made me to switch back to Windows. It looks like Linux is not the Desktop OS for me, while I love it on server.

Here is a little script i found to get Adobe Flash on Karmic.

#!/bin/bash
# Script  created by
# Romeo-Adrian Cioaba romeo.cioaba@spotonearth.com
# Jaša Bartelj jasa.bartelj@gmail.com
#
# Updated By
# Ishan @ Jain.se
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."
sudo cd /tmp
sudo wget http://labs.adobe.com/downloads/flashplayer10_64bit.html
sudo wget `cat flashplayer10.html | egrep -o "http:.*"|cut -d\" -f1|grep linux-x86_64.so.tar.gz`
ARCHIVE=`ls libflashplayer-*.linux-x86_64.so.tar.gz`
echo "Version is $ARCHIVE."
sudo tar zxvf $ARCHIVE
sudo cp libflashplayer.so /usr/lib/mozilla/plugins/

echo "Linking the libraries so Firefox and apps built on XULRunner 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/
# now doing some cleaning up:
sudo rm -rf flashplayer10.html
sudo rm -rf libflashplayer.so
sudo rm -rf $ARCHIVE

Just copy it into a text file and run it.