Sunday, January 8, 2012

Install Flash Player in Backtrack

Greetings..

I'm sure that the reason why you arrive here is because you want to watch some video in Backtrack's Firefox, But unfortunatelly your flash player didn't work properly because it need to be updated.  :P

Here's a way to make your Firefox can play flash :
1. First, we need to remove the current installed version. Perform these commands in Terminal.
# apt-get purge flashplugin-nonfree flashplugin-installer gnash gnash-common mozilla-plugin-gnash swfdec-mozilla
# rm -f /usr/lib/firefox/plugins/*flash*

# rm -f /usr/lib/firefox-addons/plugins/*flash*

# rm -f /usr/lib/mozilla/plugins/*flash*

# rm -f ~/.mozilla/plugins/*flash*so

# rm -rfd /usr/lib/nspluginwrapper

2. Download new flash player package from Adobe official site. here.

3. Then Setup the Flash Player using these commands.
~ Extract the package
# tar xvfz install_flash_player_10_linux.tar.gz
~ Make plugins directory in ./mozilla
# mkdir ~/.mozilla/plugins
~ Moving the libflashplayer.so to the plugins directory
# mv -f libflashplayer.so ~/.mozilla/plugins/
~ Set up symbolic link
# ln -s /usr/lib/mozilla/plugins/libflashplayer.so /usr/lib/firefox-addons/plugins/
# ln -s 
/usr/lib/mozilla/plugins/libflashplayer.so /usr/lib/xulrunner-addons/plugins/

Finish.
After that you can test the flash player by go to some site that require flash player like youtube. 

Note that this tutorial only works for 32 bit version. 
For the 64 bit version you can go here.

Hope this helps..
Enjoy..