Home Download Ubuntu

How to install a working flash player on Ubuntu x64

As Adobe Flash Player will not be released official very soon, and alternate flash players are not working properly on Ubuntu x64 systems. The problem with adobe flash player x32 is that is not clickable under x64. So it might work, but it won't receive any mouse clicks. And there is a method which is working under x64 version.

Before you installing it, make sure that previous versions of Flash and nspluginwrapper are uninstalled and any instance of Firefox is closed.

1.First method:

To remove all flash plugins:

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


Now we download flash player, untar, copy and link libflashplayer.so to /usr/lib/mozilla/plugins by doing the following in the terminal:

wget http://download.macromedia.com/pub/labs/flashplayer10/libflashplayer-10.0.45.2.linux-x86_64.so.tar.gz
tar zxvf libflashplayer-10.0.45.2.linux-x86_64.so.tar.gz
sudo cp libflashplayer.so /usr/lib/mozilla/plugins/
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/


You are done!

2.Second method:

Alternatively you can run the following script in terminal:

We make a file:

sudo nano flash10_x64_en.sh


We paste the following:

#!/bin/bash
# Script created by
# Alejandro Cuervo 3[at]cuervo[dot]net
# Released under GPL

echo "Closing Firefox"
sudo killall -9 firefox
sudo killall -9 firefox-3.5

echo "Removing previous installs of flash:"
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 10 64 Bit ver 10.0.42.34"
cd ~
wget http://download.macromedia.com/pub/labs/flashplayer10/libflashplayer-10.0.45.2.linux-x86_64.so.tar.gz
tar zxvf libflashplayer-10.0.45.2.linux-x86_64.so.tar.gz
sudo cp libflashplayer.so /usr/lib/mozilla/plugins/

echo "Linking libraries "
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/

echo "cleaning up"
sudo rm -rf libflashplayer.so
sudo rm -rf libflashplayer-10.0.45.2.linux-x86_64.so.tar.gz
sudo rm -rf flash10_x64_en.sh

echo "Done :-)"
echo "You may re-start Firefox now and enjoy native 64 bit Flash!"


We save it, and make it executable:

sudo chmod +x flash10_x64_en.sh


We run it:

sudo sh ./flash10_x64_en.sh


Resources: quelleimporta

0 comments:

Post a Comment