本文主要是介绍Installing flashplayer debug Firefox plug-in on Ubuntu 10.4,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
Hey there.
I’ve been looking for a way to that would allow to easily switch between the original and the debug versions of flashplayer, without overwriting the original lib (as to not break the automatic updates), so here’s what I came up with.
- First, make sure you have installed the general plugin. I have done this through Ubuntu Software Center (yes, I avoided terminal here, much more visual, i like that). Make sure to get the original thing by Adobe.
- Make sure the original lib is there:
ivan@desk:~$ ls /usr/lib/adobe-flashplugin/
libflashplayer.so - For some reason, Flex4 OpenSource SDK does not include the debugging plugin (the thing provided in runtimes/10.1/lnx/ is a general version, not debugger), so get the “Flashplayer Plug-in content debugger” distro fromhttp://www.adobe.com/support/flashplayer/downloads.html
- Untar the archive and move the plugin somewhere you will store it
ivan@desk:~/Downloads$ tar -xvzf flashplayer_10_plugin_debug.tar.gz
ivan@desk:~/Downloads$ sudo mv libflashplayer.so /opt/flex4/runtimes/libflashplayer.debug.so - Now, install libflashplayer.debug.so as an alternative to libflashplayer.so
ivan@desk:~/Downloads$ sudo update-alternatives --install /usr/lib/adobe-flashplugin/libflashplayer.so firefox-flashplugin /opt/flex4/runtimes/libflashplayer.debug.so 60
- Ensure that now the symlink points to the newly installed alternative
ivan@desk:~/Downloads$ update-alternatives --display firefox-flashplugin
firefox-flashplugin - auto mode
link currently points to /opt/flex4/runtimes/libflashplayer.debug.so
/opt/flex4/runtimes/libflashplayer.debug.so - priority 60
/usr/lib/adobe-flashplugin/libflashplayer.so - priority 50
Current `best' version is /opt/flex4/runtimes/libflashplayer.debug.so. - Launch Firefox, type about:plugins into the addressbar and ensure that Firefox loaded the right flash plug-in.
转载地址:http://ivanbartsov.wordpress.com/2010/08/09/installing-flashplayer-debug-firefox-plug-in-on-ubuntu-10-4/
这篇关于Installing flashplayer debug Firefox plug-in on Ubuntu 10.4的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!