|[Home] [Credit Search] [Category Browser] [Staff Roll Call]||The LINUX.COM Article Archive|
|Originally Published: Thursday, 26 April 2001||Author: Kristina Pfaff-Harris|
|Published to: howtos/howto||Page: 1/1 - [Std View]|
Installing Macromedia Flash
Kristina teaches us where to get Macromedia's flash plugins for linux and how to install them on various browsers.
Here is a very short guide to installing the Macromedia Flash/Shockwave player under Linux. I suggest that you get the versions of the browsers listed, since I can't guarantee that Flash will work under any others. All testing was done under kernel 2.2.16, so your mileage may vary under lower or higher kernel revisions. However, it seemed to be pretty easy to get Flash to work, assuming that the rest of your system (sound, etc) is configured correctly. I'll explain how to get Flash working in Netscape, Mozilla, and Konqueror. There is a section here on Opera 5, but this version of Opera does not yet support plugins.
First, you'll want to go to http://www.macromedia.com/shockwave/download/download.cgi and get the flash player for Linux. I suggest you use Netscape to download it, since with other browsers, I got a "Your operating system is not supported" message.
You'll end up with a file called "flash_linux.tar.gz". Save it to an appropriate directory (I used /usr/src.) and unpack the package:
cd /usr/srcThis will create a directory "/usr/src/flash_linux" with two important files in it: libflashplayer.so and ShockwaveFlash.class. We'll be copying these files into various plugin directories for the browsers.
gunzip < flash_linux.tar.gz | tar -xvf -
First, you need to copy the files to the Netscape plugin directory. On my system, this is "/usr/lib/netscape/plugins." If you don't have such a directory, try:
find / -name plugins -print | grep -i netscapeNote: If you're not root, you'll get a lot of "Permission denied" messages. Ignore them. One of the directories you "find" should be /something/something/netscape/plugins. I'm going to use /usr/lib/netscape/plugins for my example, though:
cp /usr/src/flash_linux/libflashplayer.so /usr/lib/netscape/pluginsOnce you've copied the files, if you're running Netscape, get out of it and restart it. You should now be able to view your favorite Flash site.
cp /usr/src/flash_linux/ShockwaveFlash.class /usr/lib/netscape/plugins
First of all, Opera 5 for Linux does not handle Flash nor Java. From the way it's configured, I assume that it *will* one day support Flash and/or Java, and at that time, you might be able to configure the plugin as follows. For now, though, I recommend you get a free browser such as Netscape or Mozilla for those times when you'd like to view Flash.
If you run Opera 5, and click Help, About, under Configuration Information it will tell you the Plugin Directory. (On mine, this is /usr/lib/opera/plugins.) However, the install from rpm of Opera did not make this directory (probably because this version has no support for plugins), so first, try:
mkdir /usr/lib/operaThen, copy the same flash files as above into this directory like so:
cp /usr/src/flash_linux/libflashplayer.so /usr/lib/opera/pluginsAt any rate, perhaps when Opera supports plugins someday, you'll be ready.
cp /usr/src/flash_linux/ShockwaveFlash.class /usr/lib/opera/plugins
Mozilla 0.8.1 on my system wanted to have its plugins in /usr/local/mozilla/plugins. I found this with our old friend "find". Mozilla, not surprisingly, works just as happily with the Netscape plugins as does Netscape:
cp /usr/src/flash_linux/libflashplayer.so /usr/local/mozilla/pluginsClose Mozilla, re-run it, and you have Flash there too!
cp /usr/src/flash_linux/ShockwaveFlash.class /usr/local/mozilla/plugins
First, bring up the KDE "Control Center" and go to "Web Browsing", "Konqueror Browser", and click on the "Java" tab. In the Java area, check "Enable Java globally" at the top, and in "Path to Java executable" toward the bottom, put the path to your Java binary. (Mine is "/usr/bin/java". If you're not sure where your java is located, try 'find / -name java -print'. If nothing comes up, you'll need a Java interpreter. Konqueror.org recommends Blackdown's 1.3 release, IBM's 1.3 release, or Sun's 1.22 release. There are problems with Sun's JRE 1.3.)