Difference between revisions of "Flash Plugin"

From LFScript
(Created page with "Adobe's Flash Player is closed source software. If you run the commands on this page, only a script is installed which facilitates the installation of the actual plugin. <scr...")
 
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
Adobe's Flash Player is closed source software. If you run the commands on this page, only a script is installed which facilitates the installation of the actual plugin.
+
[[Category:Deleted Scripts]]
 +
'''This software is included in BLFS and therefore no longer maintained here.'''
 +
 
 +
Flash plugin for firefox.
  
 
<scriptname>flash-plugin</scriptname>
 
<scriptname>flash-plugin</scriptname>
  
== Dependencies ==
+
== Sources ==
* <dependency>wget</dependency>
+
* <sourcecode>https://fpdownload.adobe.com/pub/flashplayer/pdc/25.0.0.127/flash_player_npapi_linux.i386.tar.gz</sourcecode> (for 32-bit systems)
 +
* <sourcecode>https://fpdownload.adobe.com/pub/flashplayer/pdc/25.0.0.127/flash_player_npapi_linux.x86_64.tar.gz</sourcecode> (for 64-bit systems)
  
You might also want to install <code>firefox</code>...
+
<md5>90f020bbee838657ee8ef5ff93557380  flash_player_npapi_linux.i386.tar.gz
 +
dd8a19ea0aaa0e532d5c72f4309a67ae  flash_player_npapi_linux.x86_64.tar.gz</md5>
  
 
== Installation ==
 
== Installation ==
 +
<build user="root">ARCH="x86_64"
 +
case `uname -m` in
 +
  i?86)
 +
    ARCH="i386"
 +
    ;;
 +
esac
  
<build user="root">cat > /usr/sbin/install-flash-plugin << "EOF"
+
mkdir flash
#!/bin/sh
+
pushd flash
# This script downloads and installs Adobe Flash Player.
+
tar -xf ../../flash_player_npapi_linux.*${ARCH}.tar.gz
set -e
 
 
 
getFlashPlayer() {
 
    local ARCH="$(uname -m)"
 
    case $(uname -m) in
 
        i?86) local ARCH="i386" ;;
 
    esac
 
 
 
    local FILENAME="install_flash_player_11_linux.${ARCH}.tar.gz"
 
    local URL="http://fpdownload.macromedia.com/get/flashplayer/pdc/11.1.102.55/${FILENAME}"
 
 
 
    local TEMP_DIR="$(mktemp -d)"
 
    pushd "${TEMP_DIR}"
 
 
 
    wget "${URL}"
 
    tar xf "${FILENAME}"
 
 
 
    cp -vR usr /
 
    mkdir -p /usr/lib/mozilla/plugins
 
    cp -v libflashplayer.so /usr/lib/mozilla/plugins
 
 
 
    popd
 
    rm -rf "${TMP_DIR}"
 
 
 
    echo "Done!"
 
}
 
 
 
getFlashPlayer
 
EOF</build>
 
 
 
<build user="root">chmod 755 /usr/sbin/install-flash-plugin</build>
 
  
== Usage ==
+
cp -vR usr /
After you have booted your OS for the first time, run the following command as '''root''' to install the flash plugin:
+
mkdir -p /usr/lib/mozilla/plugins
 +
cp -v libflashplayer.so /usr/lib/mozilla/plugins
  
<pre>install-flash-plugin</pre>
+
popd</build>

Latest revision as of 19:03, 20 March 2017

This software is included in BLFS and therefore no longer maintained here.

Flash plugin for firefox.

LFScript can find this software under the name flash-plugin.

Sources


MD5 Checksums:

90f020bbee838657ee8ef5ff93557380  flash_player_npapi_linux.i386.tar.gz
dd8a19ea0aaa0e532d5c72f4309a67ae  flash_player_npapi_linux.x86_64.tar.gz

Installation

As the root user:

ARCH="x86_64"
case `uname -m` in
  i?86)
    ARCH="i386"
    ;;
esac

mkdir flash
pushd flash
tar -xf ../../flash_player_npapi_linux.*${ARCH}.tar.gz

cp -vR usr /
mkdir -p /usr/lib/mozilla/plugins
cp -v libflashplayer.so /usr/lib/mozilla/plugins

popd