back to cdrmack

linuxulator

FreeBSD can run some GNU/Linux binaries thanks to the binary compatibility, commonly referred to as Linuxulator, =linux(4)=.

  sysrc linux_enable="YES"
  service linux start

Double check if service is running.

  service -e | grep linux

Kernel modules and filesystems should be visible under /compat/linux.

There are some binaries already available in packages, names start with “linux-“.

  pkg search ^linux

I decided to check “Discord” which is not available on FreeBSD 14.3-RELEASE.

  pkg install linux-discord

In my case there are over 550MB to be downloaded. This is because GNU/Linux binaries require userland which is downloaded and installed automatically alongside the package.