PDA

View Full Version : nobbie question


08-14-2005, 12:16 AM
hey guys downloading c-bsd as we speak but my question is can you install linux software on bsd os,sorry for the noobism here but i just would like toknow thanks

sblevin
08-14-2005, 03:13 AM
hey guys downloading c-bsd as we speak but my question is can you install linux software on bsd os,sorry for the noobism here but i just would like toknow thanks
A LOT of linux software will run, but you have to install support for it. Linux under FreeBSD is an interesting thing, the linux software gets exectuted natively under something that is more like "FreeBSD that feels like linux" rather than emulation. For basic support you need to install Linux compatability (there is a PBI here under emulators).

That PBI contains two freebsd packages, linux_base-8 (I think it's that one - there are several different flavors of compat), and linuxXFree86-libs for linux X11 support. That's enough to run the linux version of UT2004, RTCW, Doom3 and Enemy territory. These are all lovely and nice and statically like good software should be, so they run perfectly with only the LinuxBinaryCompatability PBI installed. Other programs will start wanting more linux compat installed, like linux-sdl, linux mesa, it goes on but there is a lot available. The real trouble is finding out WHAT you need to install to make linux software run.

The Linux installs into a different location that it uses as it's own person "root" structure, /compat/linux/ and ends up looking like /compat/linux/bin, /compat/linux/usr, /compat/linux/lib, etc.

Once you have the basic compat installed, just type

/linux/compat/bin/sh

and up comes your linux bash prompt.

I hope any of that helps.