Skip to content
September 7, 2012 / alancads

Install Last Version Flash in Linux x64

[1] – Criando um arquivo shellscript pelo comando:

$ sudo gedit x64-flash-install-11.2.202.238.sh

[2] – Dentro dele copie o texto abaixo e salve-o.

#!/bin/bash

echo “Stopping any Firefox that might be running”
sudo killall -9 firefox

echo “Removing any other flash plugin previously installed:”
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 rm -rfd /usr/lib/nspluginwrapper

echo “Installing Flash Player 11.2.202.238”
cd ~
wget http://fpdownload.macromedia.com/get/flashplayer/pdc/11.2.202.238/install_flash_player_11_linux.x86_64.tar.gz
tar zxvf install_flash_player_11_linux.x86_64.tar.gz
sudo cp libflashplayer.so /usr/lib/mozilla/plugins/

echo “Linking the libraries so Firefox and apps depending on XULRunner (vuze, liferea, rsswol) can find it.”
sudo ln -sf /usr/lib/mozilla/plugins/libflashplayer.so /usr/lib/firefox-addons/plugins/
sudo ln -sf /usr/lib/mozilla/plugins/libflashplayer.so /usr/lib/xulrunner-addons/plugins/

# now doing some cleaning up:
sudo rm -rf libflashplayer.so
sudo rm -rf install_flash_player_11_linux.x86_64.tar.gz

[3] – Dê permissão de execução para o arquivo.

$ sudo chmod +x x64-flash-install-11.2.202.238.sh

[4] – Execute-o para finalizar a instalação.

$ sudo ./x64-flash-install-11.2.202.238.sh

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: