Sunday, January 3, 2010

How to Install Adobe Flash Player on Google Chrome Linux [Deprecated]

This post is for older version of google chrome. Nowadays google chrome is bundled with flash player. So flash player is no more required to be installed separately. For older versions of chrome which doesn't have flash pleas follow instructions below. First determine if flash player is already installed. Apply following command.

# sudo locate libflashplayer.so
/usr/lib/flash-plugin/libflashplayer.so
/usr/lib/mozilla/plugins/libflashplayer.so
If there is no output it means flash player is not installed. In that case you have to install it.

To install flash player, open a terminal. Press Alt + F2. Type gnome-terminal. Hit Enter.

Command for Ubuntu

# sudo aptitude install flashplugin-installer

For Fedora core, login as root. For example, type su and provide root password and apply following commands.

# rpm -Uvh http://linuxdownload.adobe.com/adobe-release/adobe-release-i386-1.0-1.\
noarch.rpm
warning: adobe-release-i386-1.0-1.noarch.rpm: Header V3 DSA signature: NOKEY, key ID
f6777c67
Preparing...                ########################################### [100%]
   1:adobe-release-i386     ########################################### [100%]

# yum install flash-plugin
Loaded plugins: presto, refresh-packagekit
adobe-linux-i386                                         |  951 B     00:00     
adobe-linux-i386/primary                                 |  12 kB     00:00     
adobe-linux-i386                                                          17/17
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package flash-plugin.i386 0:10.0.42.34-release set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package          Arch     Version                   Repository            Size
================================================================================
Installing:
 flash-plugin     i386     10.0.42.34-release        adobe-linux-i386     3.9 M

Transaction Summary
================================================================================
Install       1 Package(s)
Upgrade       0 Package(s)

Total download size: 3.9 M
Is this ok [y/N]: y
Downloading Packages:
Setting up and reading Presto delta metadata
Processing delta metadata
Package(s) data still to download: 3.9 M
flash-plugin-10.0.42.34-release.i386.rpm                 | 3.9 MB     03:05     
warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID f6777c67
adobe-linux-i386/gpgkey                                  | 3.4 kB     00:00 ... 
Importing GPG key 0xF6777C67 "Adobe Systems Incorporated (Linux RPM Signing Key)
<secure@adobe.com>" from /etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux
Is this ok [y/N]: y
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB has been altered since the last yum transaction.
  Installing     : flash-plugin-10.0.42.34-release.i386                     1/1 

Installed:
  flash-plugin.i386 0:10.0.42.34-release                                        

Complete!

Press y if asked for confirmation.

Restart your browser. Whether it is Google Chrome or Mozilla Firefox no manual configuration is required. Tested on Google Chrome 4.0.249.43 beta.

[Click image to enlarge]

If you still get trouble with Google Chrome make symbolic link after creating plugins directory.

# sudo mkdir /opt/google/chrome/plugins
# sudo ln -s /usr/lib/flashplugin-installer/libflashplayer.so \
/opt/google/chrome/plugins/libflashplayer.so

No comments:

Post a Comment