Last active
February 19, 2017 19:02
-
-
Save lewisgoddard/6223985 to your computer and use it in GitHub Desktop.
This one single method will work in both 64bit and 32bit systems by using the 32bit flash natively, or emulating it. Either way, it uses nspluginwrapper, which will pull in a lot of libraries (packages), but most of them should be quite small. You can download and execute this file or just copy and paste the whole block into your terminal, then …
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
clear && | |
echo 'Installing Flash for Midori' && | |
read -p 'Press Enter to continue, or abort by pressing CTRL+C' nothing && | |
mkdir -p ~/.mozilla/plugins && | |
wget https://fpdownload.adobe.com/get/flashplayer/pdc/11.2.202.626/install_flash_player_11_linux.i386.tar.gz && | |
tar -zxvf install_flash_player_11_linux.i386.tar.gz libflashplayer.so && | |
rm install_flash_player_11_linux.i386.tar.gz && | |
if [ $(getconf LONG_BIT) = '64' ] | |
then | |
mv libflashplayer.so ~/.mozilla/plugins/libflashplayer.32.so && | |
sudo apt install nspluginwrapper:i386 libnss3:i386 | |
else | |
mv libflashplayer.so ~/.mozilla/plugins/libflashplayer.so && | |
sudo apt install nspluginwrapper | |
fi && | |
nspluginwrapper -a -v -n -i |
You need to update the wget command for current version: https://get.adobe.com/flashplayer/
As shown for version 11.2.202.569 current to date on this fork: https://gist.github.com/TomKellyGenetics/2210a5aa0ccf603d5f58
Updated to 11.2.202.626
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
link should now be http://fpdownload.macromedia.com/get/flashplayer/pdc/11.2.202.442/install_flash_player_11_linux.i386.tar.gz