Forked from laszlomiklosik/Install flash player debug version on Ubuntu 64 bit
Last active
November 23, 2015 13:42
-
-
Save fcecagno/b710f01125511f51ff09 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -xe | |
# no 64 bit version of the flash debug player is available, thus we will use the 32 bit version and use nspluginwrapper to make it work | |
set +e | |
sudo killall -9 firefox | |
set -e | |
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 apt-get install -y firefox:i386 ia32-libs nspluginwrapper libcurl3 libnss3-1d libnspr4-0d | |
cd /tmp | |
wget http://fpdownload.macromedia.com/pub/flashplayer/updaters/11/flashplayer_11_plugin_debug.i386.tar.gz | |
mkdir -p flashplayer_11_plugin_debug.i386 | |
tar zxvf flashplayer_11_plugin_debug.i386.tar.gz -C flashplayer_11_plugin_debug.i386/ | |
sudo cp flashplayer_11_plugin_debug.i386/libflashplayer.so /usr/lib/mozilla/plugins/ | |
sudo chmod +rx /usr/lib/mozilla/plugins/libflashplayer.so | |
sudo nspluginwrapper -i /usr/lib/mozilla/plugins/libflashplayer.so | |
sudo mkdir -p /usr/lib/nspluginwrapper/plugins/ | |
sudo ln -sf /usr/lib/nspluginwrapper/plugins/npwrapper.libflashplayer.so /usr/lib/mozilla/plugins/ | |
sudo ln -sf /usr/lib/nspluginwrapper/plugins/npwrapper.libflashplayer.so /usr/lib/firefox-addons/plugins/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment