Review your favorite Linux distribution.
Go Back > Linux Answers > Applications / GUI / Multimedia
User Name


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,,,,,,,,,,, and are all there. If not, then something went wrong during installation, purge and reinstall. Now, copy 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.

$ su
# aptitude -R install gnash gnash-common gnash-common gnash-cygnal gnash-tools
# aptitude install gstreamer0.10-alsa gstreamer0.10-ffmpeg gstreamer0.10-fluendo-mp3 gstreamer0.10-gnomevfs gstreamer0.10-plugins-base gstreamer0.10-plugins-good
# cd /usr/lib/gnash
# cp ../iceweasel/plugins
# exit


All times are GMT -5. The time now is 05:08 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration