Linux Binary Compatibility in FreeBSD
September 15 201870 words, ~1 min. read
freebsd, Linux
FreeBSD provides binary compatibility with Linux. For more details, refer to the FreeBSD documentation.
- Try to load the Linux kernel module
# kldload linux64
- Verify the kernel was loaded successfully
# kldstat
- Install Linux emulator
# pkg install linux_base-c6 # for CentOS 6
# # or
# pkg install linux_base-c7 # for CentOS 7
To enable Linux compatibility at boot time, add the following line in /etc/rc.conf.
linux_enable="YES"
References