How to install flash

Asked by Afonso Silva

Since elementary OS Freya I am not able to install the flash plugin for midori. I used to run the following script (from http://howtoelementaryos.org/how-to-install-flash-for-midori-in-elementary-os) but now it seems that adobe does not let me download the flash plugin. Any thoughts about it?

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.macromedia.com/get/flashplayer/pdc/11.2.202.457/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-get install nspluginwrapper:i386 libnss3:i386
else
 mv libflashplayer.so ~/.mozilla/plugins/libflashplayer.so &&
 sudo apt-get install nspluginwrapper
fi &&
nspluginwrapper -a -v -n -i

Question information

Language:
English Edit question
Status:
Expired
For:
Midori Web Browser Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Nils (3c7) said :
#1
Revision history for this message
Afonso Silva (afonsojoao96) said :
#2

thanks for the reply, the script could find the flash player (with the new link), but i'm still not able to install it in midori

nspluginwrapper: no appropriate viewer found for /usr/lib/flashplugin-installer/libflashplayer.so
Auto-update plugins from /usr/lib/mozilla/plugins
Looking for plugins in /usr/lib/mozilla/plugins
Auto-update plugins from /home/afonso/.mozilla/plugins
Looking for plugins in /home/afonso/.mozilla/plugins
Processing triggers for libc-bin (2.19-0ubuntu6.6) ...
Auto-install plugins from /usr/lib/mozilla/plugins
Looking for plugins in /usr/lib/mozilla/plugins
*** NSPlugin Viewer *** ERROR: /usr/lib/mozilla/plugins/flashplugin-alternative.so: wrong ELF class: ELFCLASS64
Auto-install plugins from /home/afonso/.mozilla/plugins
Looking for plugins in /home/afonso/.mozilla/plugins
Install plugin /home/afonso/.mozilla/plugins/libflashplayer.32.so
  into /home/afonso/.mozilla/plugins/npwrapper.libflashplayer.32.so

I guess i'll just install chrome xD

Revision history for this message
Launchpad Janitor (janitor) said :
#3

This question was expired because it remained in the 'Open' state without activity for the last 15 days.