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 9.0.48.0 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 9.0.45.0 or less installed:
# http://www.us-cert.gov/cas/techalerts/TA07-192A.html

cd
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 http://fpdownload.macromedia.com/get/flashplayer/current/\
install_flash_player_9_linux.tar.gz
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
su

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 libflashplayer.so "${browserdir}/plugins/"
done

# Become yourself again
exit

# 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"

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

Back to the list


Last updated: Tue, 07 Aug 2018 12:06:17 -0400
Jason Englander <jason at englanders dot us>