how to install gnash firefox plugin on ubuntu amd64
DISCLAIMER: Use this tutorial at your own risk. Although these steps worked for me, there is no guarantee that it will work for you. Also it can break your system. I take no responsibilities for any problems that arise. Read all steps first before starting to execute any!
You will need many libraries and the build-essential package for this to work. You can see what dev libraries are missing when you follow the tutorial.
TESTED ON: AMD64, running Xubuntu Feisty Fawn, Kernel Linux 2.6.20-15-generic, with Gnash cvs version from June, 11th 2007.
Gnash 0.8.0 (alpha) was finally released on June 9, 2007 and supports playing some (all?) youtube videos.
http://www.gnu.org/software/gnash/
To get the current version from cvs run:
Code:
export CVS_RSH="ssh"
cvs -z3 -d:pserver:anonymous@cvs.sv.gnu.org:/sources/gnash co gnash
as stated on the official web page above.
Just hit enter if there is a password prompt (there was none for me). This will download the current cvs sources of gnash to ./gnash/ in the current directory.
Next read the accompanying README, README_CVS and INSTALL files to get an idea of what options you have when configuring. I chose --enable-media=GST first which did not work, or the random youtube video just would not work with gnash. Anyway, I tried ffmpeg next and it worked.
So run:
Code:
./configure --enable-renderer=opengl --enable-media=ffmpeg
which will take quite a while to configure all options.
If any libraries are missing the configure script will tell you at the end of it's execution, so carefully read the output (just the part at the end when it finished) to see what dev packages you might be missing.
The configure script is very nice and will tell you the exact package names needed to install with apt-get. So if anything is missing just install with apt-get (just write "sudo apt-get install" and then add all missing package names by marking with the mouse and pasting with either ctrl-c/v or middle-mouse-click, don't forget to separate package names with a space) and re-run the configure command above. (The last three warnings about missing dev packages was only for debugging output of gnash that you might not need so just ignore them or install the packages if you want). If there is more packages who's names are not explicitly listed then use "apt-cache search NAME" to find out what the package you need might be (typically it starts with "lib" and ends with "-dev", so something like "libblablabla1.2-dev")
Ok, if configure finished successfully you can run:
Code:
make
which will start to compile the sources together with the options you set with ./configure.
This will take even longer and scroll a lot of messages on your console. Just be patient and wait. This should not bring up any errors, if it does then make will abort and you will have to fix those. Then run make again (it will not rebuild successfully compiled parts of gnash, only the things that it did not compile yet).
If you have problems post them here so someone can help. But normally after you configured successfully there should be no problems.
When everything is done, you can run
Code:
sudo make install
to install gnash into the default location /usr/local/bin/gnash and the gnash firefox plugin into .mozilla/plugins/libgnashplugin.so.
WARNING: If you chose to remove gnash later you need to keep the build directory to do it easily. To uninstall gnash later run
Code:
sudo make uninstall
from the build directory to remove any files installed. If you lose the build directory you will have to remove the installed files by hand. This can lead to problems if not done correctly and when installing packaged versions of gnash later on.
Now if everything worked fine, open firefox and youtube.com and watch some video of a space shuttle lift-off, I just did ;-D
Enjoy!
Similar Posts:
- How to Install Gnash for YDL on PS3
- How to Configure Flash Plugins: Firefox
- install scripts for Adobe Flash install information for AMD64
- How to install gnash in Debian 5.0
- How to Install Flash CS on Ubuntu
- How To Install Adobe Flash Player 10 into Firefox 3 under Fedora 9
- Install Flash 10 linux shell script
- how to install the Adobe Flash Player on Debian systems
- HOW TO Flash10 plugin, Firefox3 and FreeBSD 7.2 or higher
- How to install Google Chrome in Fedora