Is there a way to run a Linux binary in macOS? I tried to run a binary but it said it isn't executable.
Run Linux Binary on macOS – Is It Possible?
binary
binary
Is there a way to run a Linux binary in macOS? I tried to run a binary but it said it isn't executable.
Best Answer
These answers are half correct, because virtualization is a choice but there is another. May I present...
History
How We Can Use This
BSD's traditionally use the Ports system for Package Management. The most widely used of these are the FreeBSD Ports. Ports are packages installed directly from source. Since the same Linux applications come from the same sources, you can run a Linux application if its port exists. Don't use these Ports on a Mac because...
Since all of Apple's GUI's are written using the Cocoa API - WikiEntry, bundled with XCode - OS X for Developers, the Ports can be tuned to take advantage of this:
Caveat
The ports system doesn't necessarily do dependency checking, unless the port was well written. I lightly touched on the problem in what does elibc_FreeBSD mean in gentoo portage overlays?