Install the Macromedia Plug-in in a Flash

Add Flash and Shockwave support to Mozilla-based browsers and Konqueror.

Flash and Shockwave plug-ins have a rather mixed reputation among Internet users. Some people think that Flash and Shockwave are overused on web sites and, as the name itself suggests, offer more flash than substance. Others enjoy the ability to view interactive content on the Web like games and animated cartoons. Whichever side of this debate you rest on, if you want to view Flash-or Shockwave-based content on the Web under Linux, you need to install the Flash Player web browser plug-in.

Certain distributions have prepackaged installers to automate Flash player installation, but for the purposes of this hack, I’ll describe the all-purpose, all-distribution method. The first step is to download the Flash Player package from http://www.macromedia.com/shockwave/download/alternates. Scroll down to the Other Operating Systems table, choose the newest Flash Player package listed for Linux x86, and save it to your hard drive.

Next, open a terminal and extract the tarball you have downloaded:

	$ tar xvzf flash_player_7_linux.tar.gz

There is a shell script installer you can run; however, it’s just as easy to copy the two plug-in files to your Mozilla plug-in directory. Change to the extracted directory and copy the following two files to your Mozilla plug-in directory as root (change the plugins directory to match your Mozilla plug-ins directory):

	[root@localhost ~]# cd install_flash_player_7_linux ...

Get Linux Multimedia Hacks now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.