Linux HOWTOs

About | Home | Search

HOWTO: flashplayer
Description: Adobe flash player plugin for Mozilla and compatible browsers
Click here for ChangeLog
NOTE: I use GNU tar >= 1.13.25 so it's -j for .tar.bz2 files,
it's safe to assume that make, gcc, binutils, fileutils/coreutils, gawk, sed, and grep are prerequisites for almost everything

# Adobe Flash Player for Linux (version as of my last update)
# ============================
# Naturally, every distribution, source tarball, and binary tarball all
# put each browser somewhere else, so we try several common locations.
# If your browser's plugins directory isn't listed below, let me know.

# Make sure you upgrade if you have or less installed:

test -f installed/mozilla/install_flash_player_9_linux.tar.gz &&
 mv installed/mozilla/install_flash_player_9_linux.tar.gz .
test -f installed/install_flash_player_9_linux.tar.gz &&
 mv installed/install_flash_player_9_linux.tar.gz .
wget -N\
mkdir -p -m 0700 src/mozilla
cd src/mozilla
find -maxdepth 1 -type d -name "install_flash_player_*" -exec rm -r {} \;
tar xzvf ~/install_flash_player_9_linux.tar.gz
cd install_flash_player_9_linux
test $UID = 0 && chown -R root:root .
chmod -R u+w .

# Become root to install it

for browserdir in \
 /usr/lib/firefox \
 /usr/lib/firefox-?.* \
 /usr/lib/mozilla \
 /usr/lib/mozilla-?.* \
 /usr/lib/mozilla-firefox \
 /usr/lib/netscape \
 /usr/lib/seamonkey-?.* \
 /usr/local/firefox \
 /usr/local/lib/mozilla-?.* \
 /usr/local/mozilla \
 /usr/local/netscape \
 /usr/local/seamonkey ; do
  test -d "${browserdir}/plugins" &&
   install flashplayer.xpt "${browserdir}/plugins/"

# Become yourself again

# Make sure you don't also have an older version in ~/.mozilla/plugins/

# To see info about plugins in a mozilla-based browser, go to
# "about:plugins"

mkdir -p -m 0700 installed/mozilla
rm -f installed/mozilla/install_flash_player_*.tar.gz \
mv -f install_flash_player_9_linux.tar.gz installed/mozilla/

Back to the list

Last updated: Wed, 29 Apr 2020 22:04:50 -0400
Jason Englander <jason at englanders dot us>