Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
By j.todd at 2008-10-25 13:48
This is my guide on installing gnash on Debian testing (i386). I'm assuming you know how to use aptitude, basic busybox tools, and how to trouble shoot in case something here doesn't work. I am not liable for any damage caused by following this guide. In blocks of code, # means root, and $ means normal user.
Note: I do not use gnash to play .swf videos on my desktop, I use it purely for watching youtube, Google video, etc flash movies, hence why I'm not going to talk about using gnash on the desktop. There's plenty of guides for that.
First, install gnash (without recommands). You need gnash, gnash-common, gnash-cygnal, gnash-tools. If you're using KDE, you also need klash and konqueror-plugin-gnash. I don't know how to set the KDE plugins up, so Google> around to find how to set them up.
This installs gnash without recommends (you don't need all of them, that's why I didn't; and don't, install recommends). This is gnash with AGG (antigrain) rendering, if you want to use OpenGL for rendering, install gnash-common-opengl also.
Now, install gstreamer0.10-alsa, gstreamer0.10-ffmpeg, gstreamer0.10-fluendo-mp3, gstreamer0.10-gnomevfs, gstreamer0.10-plugins-base, and gstreamer0.10-plugins-good. These are codecs that are needed to play flash videos.
Now, on my system, mozilla-plugin-gnash didn't put the gnash plugins in my iceweasel directory, which is why I didn't suggest you install it. I'm going to show you how to get gnash to work by copying the files to the right directories.
Use su to obtain root access and cd to /usr/lib. Now, go to the gnash directory. Once in the gnash directory, type ls and make sure that libgnashamf-0.8.3.so, libgnashbase.so, libgnashnet.so, libgnashserver-0.8.3.so, libgnashamf.so, libgnashmedia-0.8.3.so, libgnashnet.so.0, libgnashserver.so, libgnashbase-0.8.3.so, libgnashmedia.so, libgnashplugin.so, and libgnashnet.so.0.0.0 are all there. If not, then something went wrong during installation, purge and reinstall. Now, copy libgnashplugin.so to iceweasel/plugins.
Now, startup iceweasel and go to Tools>Addons>Plugins and turn on Shockwave Flash 9.0 r999 (this is the gnash version). If you have any other flash plugins there, disable them. Now go to youtube or where-ever and test it out. If everything went as planned, you should be able to watch flash videos. If not, please post here and I will try to help you and figure out what's wrong.
This is what you need to type into the command line to get gnash working.