|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/126.96.36.1996/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' ]|
|mv libflashplayer.so ~/.mozilla/plugins/libflashplayer.32.so &&|
|sudo apt install nspluginwrapper:i386 libnss3:i386|
|mv libflashplayer.so ~/.mozilla/plugins/libflashplayer.so &&|
|sudo apt install nspluginwrapper|
|nspluginwrapper -a -v -n -i|
milouse, as daviewales correctly says, it enables users to copy and paste into the terminal, a method i prefer.
chmerces, 64bit generally works faster for more memory intensive applications, possibly with less CPU use for things like HD Video, but the differences tend to be marginal.
can't install it
Installing Flash for Midori
100%[=====================================>] 6,923,530 979K/s in 7.1s
2013-08-21 05:44:23 (950 KB/s) - `install_flash_player_11_linux.i386.tar.gz' saved [6923530/6923530]
raedov, your flash plugin has installed from "/home/raedov/.mozilla/plugins/libflashplayer.so"
I tried it with a Raspberry pi
pi@raspberrypi ~ $ #!/bin/bash
100%[======================================>] 6,923,530 3.40M/s in 1.9s
2013-09-11 13:31:42 (3.40 MB/s) - `install_flash_player_11_linux.i386.tar.gz' saved [6923530/6923530]
Unfortunately this script relies on you having either a 32bit or 64bit system, while the raspberry pi is ARM. Flash has not been compiled for use on Debian with ARM, and so this would never work. Here, however, you have run into the same issue with the program nspluginwrapper, simply because this happens a little earlier in the script.
I got the same output as @raedov when I ran this script (as non-sudo in Elementary OS on my 32-bit machine)
after execution I couldn't find any flashplayer plugin in Midori's list of extensions, so I checked /usr/lib/midori and there were no flash related files there at all.
I tried copying some files there manually.
so I manually copied flashplugin.alternative.so and libflashplayer.so to the midori plugin directory. When opening Midori and checking the extension manager I found that the files were considered invalid.
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:
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 188.8.131.529 current to date on this fork: https://gist.github.com/TomKellyGenetics/2210a5aa0ccf603d5f58