Home > Can Linux Programs Be Installed On Macos?
Question

Can Linux programs be installed on macOS?

Answers
02/25/2022
Layman Levee

If they are command-line programs and you recompile them, yes - after all, Mac OS-X and later versions really are a BSD Unix inside. But taking the already-compiled binary from a website won't do you any good.

If they're X-Window programs there's a chance that recompiling them will let them run, but it's not 100% certain.

04/12/2022
Adis

Directamente no, a menos que estemos hablando de aplicaciones multiplataforma. Ni siquiera un simple programa en C compilado en GNU/Linux se podría ejecutar en OS X (a pesar de ser dos sistemas tipo UNIX) porque los binarios son incompatibles. Sin embargo hay por lo menos dos proyectos cuyo objetivo es tener paquetes de software típicos de GNU/Unix en OS X: MacPorts (The MacPorts Project) y Homebrew (Homebrew).

Reply
Which Linux distribution is best for a programmer? :: How to uninstall programs in Linux Ubuntu?
Useful Links