Firefox/Flash on FreeBSD


by ross at 13:25:37 on January 5, 2017


Note: Firefox and nspluginwrapper can be installed via pkg instead. But flashplayer fails for some reason but works via make install.

# cd /usr/ports/www/firefox
# make install clean

# cd /usr/ports/www/nspluginwrapper
# make install clean

# cd /usr/ports/www/flashplayer
# make install clean


# cd /usr/ports/www/firefox-i18n
# make install clean

Add linux support

Add to /ets/sysctl.conf:


Add to /boot/loader.conf:


Add to /etc/fstab:

linprocfs               /compat/linux/proc linprocfs rw         0       0


# kldload linux
# sysctl compat.linux.osrelease=2.6.32
# mount /compat/linux/proc

Activate plugins

Run as target user:

> nspluginwrapper -v -a -i

And that's it.


I don't think we need flash anymore as most of sites like dailymotion, youtube, metcafe, vimeo, etc now support html5.

For java we have icedtea plugin.
You can now have a clean FreeBSD installation without any Linux module.
-- mzs
Friday, June 12, 2015, 10:37:10
it worked in my laptop adding compat.linux.osrelease=2.6.32 because (2.6.18) gives me an error "FATAL: kernel too old"
Wednesday, August 5, 2015, 1:21:41
Because it does not react to an application when you click on it? Click on firefox and will not open.
-- nex
Wednesday, December 21, 2016, 11:22:49