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/
(编辑:李大同)
【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!
|