Friday, December 04, 2009

Linux: Installing the Debug Version of Flash on Ubuntu

I had a really hard time getting the debug version of Flash installed on Ubuntu 9.10. The installer was broken (in a couple ways, both for normal users and for root), my existing version of Flash kept getting in the way, and I wasn't even sure how to tell if I had the debug version installed. I finally figured out the extremely ugly instructions below. If you can improve on these, please tell me!

As your normal user:
cd ~/Downloads
wget http://download.macromedia.com/pub/flashplayer/updaters/10/flash_player_10_linux_dev.tar.gz
tar xvfz flash_player_10_linux_dev.tar.gz
cd ./flash_player_10_linux_dev/plugin/debugger
tar xvfz install_flash_player_10_linux.tar.gz
As root:
cd /usr/lib/flashplugin-installer
mv libflashplayer.so libflashplayer.so.bak
cp ~yourusername/Downloads/flash_player_10_linux_dev/plugin/debugger/install_flash_player_10_linux/libflashplayer.so .
As your normal user:
rm ~/.mozilla/firefox/bk6yk8mo.default/xpti.dat
Start Firefox. Go to http://www.adobe.com/software/flash/about/. Right click on the Flash example. You should see "Debugger" in the context menu.

No comments: