PDA

View Full Version : flash on linux


elfboy999
August 14th, 2003, 04:05 PM
I got this off a website on how to get flash working in mozilla.

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.


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


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


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


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


Then you need to restart Mozilla.


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



WTF, i have not a clue what any of that is. Can someone plese siplify this for me.

d0nk`
August 14th, 2003, 04:30 PM
sure, as best i can.

1. open a console/terminal window, or ctrl+alt+F1 - then type "cd ~" to make sure youre in your home directory

2. type "su" and hit enter.
3. enter your root password (will not show that anything is being entered)


4. type "mkdir flash"
5. type "cd flash/"
6. type "wget sluglug.ucsc.edu/macromedia/apt/redhat/9/RPMS.macromedia/flash-plugin-6.0.79-1.i386.rpm"

now you will be downloading the plugin (wait for it to finish, then: )

6. type "rpm -i flash-plugin-6.0.79-1.i386.rpm"
7. Then you should restart mozilla, and it should work

Note: I have never used an RPM in my life, i just did "man rpm" to figure this out. but
i reccomend rpms if you dont know what youre doing, they are like self installers.

elfboy999
August 14th, 2003, 06:36 PM
thanks man for all the help your givin me ill go see if this does it and be back to tell you.

elfboy999
August 14th, 2003, 06:45 PM
yeah that worked. I got a book on how to do some linux stuff so maybe this will teach me what the things are like rpms and the use of the terminal. thanks again.

d0nk`
August 16th, 2003, 05:57 PM
Yah00! i was hoping it would work. i was half thru a manual walkthru (based on what you posted) then i thought "hey, an rpm would be easier" so i found an rpm for you (link to the flash page from you).

(w00t)(w00t)