FreeBSD: Adobe Flash w/ Firefox

From Wiki³
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.


IconUNDER CONSTRUCTION: The document is currently being modified!
# $Id: Flash10_Firefox35-HOWTO,v 1.2 2009/10/20 16:20:01 k Exp $
#
# Flash10 w/ Firefox35 HOWTO


  [1] LINUX EMULATION

  First and formost you are going to need to install linux emulation 
  on your machine. This will consist of first enabling the basic 
  FreeBSD linux emulation, adding version sticking to make.conf, 
  installing the base port, then enabling linux's procfs.

	sh# sudo $EDITOR /etc/rc.conf

	linux_enable="YES"

	sh# sudo /etc/rc.d/abi start
	sh# sudo /etc/rc.d/sysctl start
	sh# sudo $EDITOR /etc/make.conf

	OVERRIDE_LINUX_BASE_PORT=f10
	OVERRIDE_LINUX_NONBASE_PORTS=f10

	sh# sudo $EDITOR /etc/fstab

	linproc	/compat/linux/proc linprocfs rw 0 0


  [2] FLASH10 INSTALL

  Next you will need to install flash10 and the linux plugin wrapper. 
  After you make a symlink for the current version of firefox.

	sh# cd /usr/ports/www/linux-f10-flashplugin10
	sh# sudo make install clean
	sh# cd ../nspluginwrapper
	sh# sudo make install clean
	sh# sudo mkdir -p /usr/local/lib/browser_plugins/
	sh# cd /usr/local/lib/browser_plugins/
	sh# sudo ln -s /usr/local/lib/npapi/linux-f10-flashplugin/libflashplayer.so \
		libflashplayer.so

  For the next step you must make sure that all instances of firefox 
  are first closed before you execute it. Make sure you do not run 
  this command as super-user as you want it to set your user plugins.

	sh# nspluginwrapper -v -a -i


  [3] ENJOY FLASH!~

  Load up YouTube and give it a try!


------------------------------------------------------------------------

  [A] REFERENCES

  http://forums.freebsd.org/showthread.php?t=5786