-
-
Save laszlomiklosik/2857310 to your computer and use it in GitHub Desktop.
# 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 | |
sudo killall -9 firefox | |
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 ia32-libs nspluginwrapper libcurl3 libnss3-1d libnspr4-0d | |
cd ~ | |
wget http://fpdownload.macromedia.com/pub/flashplayer/updaters/11/flashplayer_11_plugin_debug.i386.tar.gz | |
tar zxvf flashplayer_11_plugin_debug.i386.tar.gz | |
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 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/ |
Thanks for the script, finally worked for me as well
There are some problems that I found...
First of all I had to create missing directory.
mkdir flashplayer_11_plugin_debug.i386 && tar -zxvf flashplayer_11_plugin_debug.i386.tar.gz -C flashplayer_11_plugin_debug.i386
The second problem I had with nspluginwrapper. In my case I got script call error on "sudo nspluginwrapper -i /usr/lib/mozilla/plugins/libflashplayer.so" call.
To fix the problem try this solution
ls /usr/lib/nspluginwrapper/noarch
cat /usr/lib/nspluginwrapper/i386/linux/npviewer
the last line should have ".sh" at the end if you have "npviewer.sh" in "/usr/lib/nspluginwrapper/noarch" folder.
Edit npviewer by adding missing ".sh"
sudo nano /usr/lib/nspluginwrapper/i386/linux/npviewer
This how it looks the last line for me now.
. /usr/lib/nspluginwrapper/noarch/npviewer.sh
@vmasalov thanks, ran into the same issues and used your solution
Hello
i followed your instructions but firefox doesnt recognize flash! it says missing plugin :/ help please?
thanks!
Hi, thanks for sharing!
Used your instructions to configure it on Ubuntu 14.04 64 bits. There are basically two differences:
- ia32-libs isn't available on Ubuntu 14.04, so I added "deb http://ubuntu.c3sl.ufpr.br/ubuntu/ precise main universe" at the end of /etc/apt/sources.list, then "sudo apt-get update" and "sudo apt-get install ia32-libs";
- I had to install firefox:i386, which is the 32 bits version of Firefox.
Thanks for the script, it worked for me, except one little thing.
/usr/lib/nspluginwrapper/plugins/
might not exists so it must be created first.