Sunday, February 01, 2015

Install flash player in Kali linux

Iceweasel is default browser for Kali linux which is built upon mozilla's firefox. I will show two methods to install flash player in Kali linux but it can be also used for other linux distros.

Method 1 (Long Method):
This method is mentioned in readme.txt file which you will get after downloading flash tarball.

Here is the content given in that file:
Installation instructions
-------------------------

Installing using the plugin tar.gz:
    o Unpack the plugin tar.gz and copy the files to the appropriate location.
    o Save the plugin tar.gz locally and note the location the file was saved to.
    o Launch terminal and change directories to the location the file was saved to.
    o Unpack the tar.gz file.  Once unpacked you will see the following:
        + libflashplayer.so
        + /usr
    o Identify the location of the browser plugins directory, based on your Linux distribution and Firefox version
    o Copy libflashplayer.so to the appropriate browser plugins directory.  At the prompt type:
        + cp libflashlayer.so <BrowserPluginsLocation>
    o Copy the Flash Player Local Settings configurations files to the /usr directory.  At the prompt type:
        + sudo cp -r usr/* /usr

Installing the plugin using RPM:
   o As root, enter in terminal:
          + # rpm -Uvh <rpm_package_file>
          + Click Enter key and follow prompts

Installing the standalone player:
   o Unpack the tar.gz file
   o To execute the standalone player,
          + Double-click, or
          + Enter in terminal: ./flashplayer
1. Download flash from http://get.adobe.com/flashplayer/

2. Change directory and extract the tarball:
$ su -
# cd /home/devharsh/Downloads
# tar zxvf install_flash_player_11_linux.x86_64.tar.gz
You can also use softwares like Xarchiver to unzip.

3. Copy libflashplayer.so to browser directory
# cp libflashplayer.so /usr/lib/mozilla/plugins/

4. Copy user settings to usr directory
# cp -r usr/* /usr

You can then manually verify whether libflashplayer.so file is copied in /usr/lib/mozilla/plugins/ directory.


Method 2 (Short Method):
We will use terminal to install flash from repositories.

$ su -
# apt-get update (optional step)
# apt-get upgrade (optional step)
# apt-get dist-upgrade (optional step)
# apt-get update (optional step)
# install flashplugin-nonfree
# update-flashplugin-nonfree --install
# apt-get update (optional step)

After successful installation it will create flash-mozilla.so file with link target to /etc/alternatives/flash-mozilla.so in /usr/lib/mozilla/plugins directory.

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.