Created
June 2, 2012 08:20
-
-
Save laszlomiklosik/2857310 to your computer and use it in GitHub Desktop.
Install Flash Player debug version in Ubuntu 12.04 64 bit
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
# 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/ |
@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.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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