Browser Plugins
From MediaWiki
Contents |
Overview
Its possible to use popular plugins like Real Audio, Flash, Java etc on FreeBSD natively or as emulation. I usually install the Linux version of Opera and FireFox in case the plugins dont work with the native version of the browser (though its becoming less and less a necessity to use Linux verions.
Linux Compat
- Enable compat.linux.osrelease=2.6.16 sysctl
- Install the latest linux_base from ports, at this time, Fedora 8 seems to be the latest.
portinstall emulators/linux_base-f8
Dont forget to mount /compat/linux/proc and /compat/linux/sys. See main wiki for details.
linprocfs on /usr/compat/linux/proc (linprocfs, local) linsysfs on /usr/compat/linux/sys (linsysfs, local)
Install Browsers
portinstall www/firefox3 www/linux-firefox www/opera www/linux-opera
Install Plugin Wrappers
portinstall www/nspluginwrapper www/opera-linuxplugins
Install Plugins
Java
$ sudo portinstall java/diablo-jdk16 $ ln -sf /usr/local/diablo-jdk1.6.0/jre/plugin/i386/ns7/libjavaplugin_oji.so ~/.mozilla/plugins/libjavaplugin_oji.so Java(TM) Plug-in 1.6.0_07-b02
Restart Firefox and browse to about:plugins
Shockwave Flash
portinstall www/linux-flashplugin9
Mplayer
portinstall www/mplayer-plugin/ ln -sf /usr/local/lib/browser_plugins/mplayerplug-in* ~/.mozilla/plugins/
Real Player
sudo portinstall multimedia/linux-realplayer
The mplayer plugin can handle it in anycase.

