PDA

View Full Version : Fix flash problems in 64-bit


undecim
November 25th, 2009, 07:44 PM
I had been having some problems with flash in 64 bit Karmic. Whenever I clicked, there would be about a 9/10 chance that flash wouldn't detect it.

To fix this, I installed flash from the files at adobe.com. Since I couldn't find a 64-bit flash player debian package at adobe.com, I downloaded Adobe's 32-bit .deb and replaced the libflashplayer.so inside of it with Adobe's 64-bit libflashplayer.so, and modified the package control info, giving me a 64-bit version of adobe-flashplayer (and also my first ever debian package)

Here are the instructions to do it:

First, download and extract the 32-bit package and 64-bit libflashplayer.so:
wget http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_10_linux.deb
wget http://download.macromedia.com/pub/labs/flashplayer10/libflashplayer-10.0.32.18.linux-x86_64.so.tar.gz
dpkg -x install_flash_player_10_linux.deb install_flash_player_10_linux
dpkg -e install_flash_player_10_linux.deb install_flash_player_10_linux/DEBIAN/
tar -xzf libflashplayer-10.0.32.18.linux-x86_64.so.tar.gz -C install_flash_player_10_linux/usr/lib/adobe-flashplugin/
that will extract each file to its necessary directory, including overwriting the 32-bit flash player with the 64-bit.

Next, edit the control file.
nano install_flash_player_10_linux/DEBIAN/controlNow, change the architecture to amd64, and add flashplugin-installer to the replace list

ChangeArchitecture: i386to becomeArchitecture: amd64and changeReplaces: flashplugin (<< 6)to becomeReplaces: flashplugin (<< 6), flashplugin-installerNow, update the md5sum for libflashplayer.sonano install_flash_player_10_linux/DEBIAN/md5sumsChanged4a8e246003d273cc6093fbaa5da6b10 usr/lib/adobe-flashplugin/libflashplayer.soto become9903881108ff7cd954a3adf0d00185d3 usr/lib/adobe-flashplugin/libflashplayer.soBuild the new packagedpkg -b install_flash_player_10_linuxAnd finally, install itsudo dpkg -i install_flash_player_10_linux.deb