HomeLesson ListMember EntryNewsSupportAbout Us

Getting Flash to work on Linux



Getting Flash to work in Konqueror (KDE) or Netscape if you have root access

Instructions for KDE 2.2.x (KDE 3.0 doesn't seem to work).
With Netscape, you don't need KDE installed.

Thanks go to Josh Berkus for his feedback on getting this to work with SuSE, and for the steps to tell KDE to look for Netscape plug-ins at startup.

After following these instructions and installing the Flash plug-in you'll need to restart KDE (i.e. log out then in again) or Netscape for it to be available.  There doesn't seem to be any way to skip the need to restart it.

  1. Go to the Macromedia Flash plug-in download site and download the plug-in for Linux:
    http://www.macromedia.com/shockwave/download/alternates/#linux

  2. Save the plugin file to your filesystem in a temporary location. This file is a compressed archive of the Flash Player plug-in files.

  3. Extract the files from this archive:

    $ tar zxfv flash_linux.tar.gz
      flash_linux/
      flash_linux/libflashplayer.so
      flash_linux/README
      flash_linux/ReadMe.htm
      flash_linux/ShockwaveFlash.class

  4. Create the directory where Konqueror or Netscape expect to find the Flash plug-ins, then move the files into place.

    An important note for SuSE users (and possibly other linux distributions)
    With SuSE, the standard Netscape plug-in directory of /usr/lib/netscape/plugins is
    not
    used.  For SuSE users it is /opt/netscape/plugins instead.  When you're following the instructions on the next few lines, use /opt/netscape/plugins instead of /usr/lib/netscape/plugins.

    $ su
    Password: type in your root password

    # mkdir -p /usr/lib/netscape/plugins
    # cd flash_linux
    # mv libflashplayer.so /usr/lib/netscape/plugins
    # mv ShockwaveFlash.class /usr/lib/netscape/plugins

    If you're using Linux, change the file ownership like this:
    # chown -R root.root /usr/lib/netscape

    If you're on Solaris INTEL, use this command instead:
    # chown -R root:root /usr/lib/netscape

    Continuing on...
    # chmod 644 /usr/lib/netscape/plugins/*

    If you'd like to read Macromedia's README file, do so:
    # more README

    # exit

    $ rm -rf flash_linux

  5. If you're using Konqueror you need to tell it to look for Netscape plug-ins whenever KDE starts up.
    • Start Konqueror
    • From the menu bar, select Settings then Configure Konqueror.
    • In the window that pops up (it may take a while), scroll down until you find the icon for Netscape Plugins.
    • When you select it, you should see in the screen on the right a button labeled Scan for New Plugins.
    • Make sure that button is turned on (ticked, marked, etc).

  6. Then you need to restart KDE (log out of KDE then log in again) or Netscape.

  7. The Flash plug-in should now load automatically when needed, so have fun!


Getting Flash to work in Konqueror (KDE) or Netscape without root access

Instructions for KDE 2.2.x (KDE 3.0 doesn't seem to work).
With Netscape, you don't need KDE installed.

Thanks go to Josh Berkus for his feedback on getting this to work with SuSE, and for the steps to tell KDE to look for Netscape plug-ins at startup.

After following these instructions and installing the Flash plug-in you'll need to restart KDE (i.e. log out then in again) or Netscape for it to be available.  There doesn't seem to be any way to skip the need to restart.

  1. Go to the Macromedia Flash plug-in download site and download the plug-in for Linux:
    http://www.macromedia.com/shockwave/download/alternates/#linux

  2. Save the plugin file to your filesystem in a temporary location.  This file is a compressed archive of the Flash Player plug-in files.

  3. Extract the files from this archive:

    $ tar zxfv flash_linux.tar.gz
      flash_linux/
      flash_linux/libflashplayer.so
      flash_linux/README
      flash_linux/ReadMe.htm
      flash_linux/ShockwaveFlash.class

  4. Change to your home directory then create the directory where Konqueror or Netscape expect to find the Flash plug-ins, then move the files into place:

    $ cd
    $ mkdir -p .netscape/plugins
    $ cp <the name of your temporary directory>/flash_linux/libflashplayer.so .netscape/plugins
    $ cp <the name of your temporary directory>/flash_linux/ShockwaveFlash.class .netscape/plugins
    $ chmod 644 .netscape/plugins/*

    If you'd like to read Macromedia's README file, do so:
    $ more <the name of your temporary directory>/flash_linux/README
    $ rm -rf <the name of your temporary directory>/flash_linux/

  5. If you're using Konqueror you need to tell it to look for Netscape plug-ins whenever KDE starts up.
    • Start Konqueror
    • From the menu bar, select Settings then Configure Konqueror.
    • In the window that pops up (it may take a while), scroll down until you find the icon for Netscape Plugins.
    • When you select it, you should see in the screen on the right a button labeled Scan for New Plugins.
    • Make sure that button is turned on (ticked, marked, etc).

  6. Then you need to restart KDE (log out of KDE then log in again) or Netscape.

  7. The Flash plug-in should now load automatically when needed, so have fun!


Getting Flash to work in Mozilla if you have root access

Did this with Mozilla 0.9.8, as supplied with Mandrake Linux 8.2.
It'll likely work with other versions too.

After following these instructions and installing the Flash plug-in you'll need to restart Mozilla for it to be available.  There doesn't seem to be any way to skip the need to restart.

  1. Go to the Macromedia Flash plug-in download site and download the plug-in for Linux:
    http://www.macromedia.com/shockwave/download/alternates/#linux

  2. Save the plugin file to your filesystem in a temporary location. This file is a compressed archive of the Flash Player plug-in files.

  3. Extract the files from this archive:

    $ tar zxfv flash_linux.tar.gz
      flash_linux/
      flash_linux/libflashplayer.so
      flash_linux/README
      flash_linux/ReadMe.htm
      flash_linux/ShockwaveFlash.class

  4. Create the directory where Mozilla expects to find the Flash plug-ins, then move the files into place:

    $ su
    Password: type in your root password

    # mkdir -p /usr/lib/mozilla/plugins
    # cd flash_linux
    # mv libflashplayer.so /usr/lib/mozilla/plugins
    # mv ShockwaveFlash.class /usr/lib/mozilla/plugins

    If you're using Linux, change the file ownership like this:
    # chown -R root.root /usr/lib/mozilla

    If you're on Solaris INTEL, use this command instead:
    # chown -R root:root /usr/lib/mozilla

    Continuing on...
    # chmod 644 /usr/lib/mozilla/plugins/*

    If you'd like to read Macromedia's README file, do so:
    # more README

    # exit

    $ rm -rf flash_linux

  5. Then you need to restart Mozilla.

  6. The Flash plug-in should now load automatically when needed, so have fun!


Getting Flash to work in Mozilla without root access

Did this with Mozilla 0.9.8, as supplied with Mandrake Linux 8.2.
It'll likely work with other versions too.

After following these instructions and installing the Flash plug-in you'll need to restart Mozilla for it to be available.  There doesn't seem to be any way to skip the need to restart.

  1. Go to the Macromedia Flash plug-in download site and download the plug-in for Linux:
    http://www.macromedia.com/shockwave/download/alternates/#linux

  2. Save the plugin file to your filesystem in a temporary location. This file is a compressed archive of the Flash Player plug-in files.

  3. Extract the files from this archive:

    $ tar zxfv flash_linux.tar.gz
      flash_linux/
      flash_linux/libflashplayer.so
      flash_linux/README
      flash_linux/ReadMe.htm
      flash_linux/ShockwaveFlash.class

  4. Change to your home directory then create the directory where Mozilla expects to find the Flash plug-ins, then move the files into place:

    $ cd
    $ mkdir -p .mozilla/plugins
    $ cp <the name of your temporary directory>/flash_linux/libflashplayer.so .mozilla/plugins
    $ cp <the name of your temporary directory>/flash_linux/ShockwaveFlash.class .mozilla/plugins
    $ chmod 644 .mozilla/plugins/*

    If you'd like to read Macromedia's README file, do so:
    $ more <the name of your temporary directory>/flash_linux/README
    $ rm -rf <the name of your temporary directory>/flash_linux/

  5. Then you need to restart Mozilla.

  6. The Flash plug-in should now load automatically when needed, so have fun!

© 2003-2005 Digital Distribution Global Training Services Pty. Ltd.  A.B.N. 81 106 688 528  All rights reserved. Privacy Policy Contact Us