-
-
Save lewisgoddard/6223985 to your computer and use it in GitHub Desktop.
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 |
The link is broken...
Connecting to fpdownload.macromedia.com (fpdownload.macromedia.com)|95.100.2.70|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2014-12-12 10:42:04 ERROR 404: Not Found.
Just download the .tar.gz archive manually into the folder of your midori-flash script (the script above copied and saved as midori-flash.sh e.g.), and edit the following line as below:
# wget http://fpdownload.macromedia.com/get/flashplayer/pdc/11.2.202.378/install_flash_player_11_linux.i386.tar.gz &&
Important: on the download site click "i need flash for another computer" and choose linux 32 bit, then the .tar.gz Version.
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
Midori requires a 32bit version, so it does.
Use https://www.adobe.com/uk/software/flash/about/ to check.