Sunday, August 22, 2010

Install Adobe Flash 32-bit in Debian 64-bit

Flash is a bit of a pain to get setup in Debian Squeeze 64-bit. Follow these commands and you'll be youtubing and huluing in no time.

In a terminal type:
sudo apt-get -y purge flashplugin-nonfree > /dev/null;

sudo apt-get -y install fakeroot binutils nspluginwrapper ia32-libs;

sudo wget http://people.debian.org/~bartm/flashplugin-nonfree/ia32-libs-workaround-499043-squeeze.sh; sh ia32-libs-workaround-499043-squeeze.sh;

sudo rm ia32-libs-workaround-499043-squeeze.sh;

sudo dpkg -i ia32-libs-workaround-499043_0.0.1+squeeze1_amd64.deb;

sudo rm "./ia32-libs-workaround-499043_0.0.1+squeeze1_amd64.deb";

sudo wget http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_10_linux.deb;

sudo mkdir "/usr/lib/adobe-flashplugin" 2> /dev/null;

sudo rm -rf "/usr/lib/flashplugin-nonfree" 2> /dev/null;

sudo rm "/usr/lib/adobe-flashplugin/libflashplayer.so" 2> /dev/null;

sudo rm "/usr/lib/adobe-flashplugin/flashplayer.xpt" 2> /dev/null;

sudo dpkg -i --force-architecture "./install_flash_player_10_linux.deb" > /dev/null;

sudo rm "./install_flash_player_10_linux.deb";

sudo chown root:root "/usr/lib/adobe-flashplugin/libflashplayer.so";

sudo chmod 644 "/usr/lib/adobe-flashplugin/libflashplayer.so"
sudo nspluginwrapper --native --install /usr/lib/adobe-flashplugin/libflashplayer.so 2> /dev/null

No comments:

Post a Comment