XNU Linux Lets macOS Userspace Processes Run On Linux

Written by Michael Larabel in Apple on 23 November 2026 at 08:14 AM EST. 8 Comments
APPLE
XNU Linux is a new opens-source project allowing macOS user-space software to run on Linux by loading the macOS kernel into it. XNU Linux builds off Apple's open-source XNU kernel components of macOS while adapted to serve as a loadable Linux kernel module. Besides this XNU kernel module, this works on an otherwise unmodified ARM64 Linux system.

This XNU Linux effort allows for macOS processes to run natively alongside Linux processes without relying on any hypervisor:
"xnulinux builds XNU, the open-source kernel of macOS, from Apple's published sources and runs it as a loadable kernel module (xnu.ko) inside an unmodified arm64 Linux kernel. The hosted XNU drives the CPU and MMU directly, so macOS processes run natively next to Linux processes on the same CPUs, with no hypervisor between them. Linux lends XNU its memory, timers, files, network and GPU through a small interface module (fki.ko).

With a stock Ubuntu kernel, insmod xnu.ko boots a macOS 27 system disk made by Apple's own installer to the desktop: loginwindow, WindowServer, Dock, Finder, Safari and Chrome."

XNU Linux relies on the open-source Apple kernel code of XNU. Getting any macOS binaries is left up to the user from their own macOS installations or otherwise.

XNU Linux


This XNU Linux also only is working on ARM64 Linux and not x86_64 Linux. The macOS 27 release is where all the user-space testing has been occurring.

XNU Linux working


Those curious about XNU Linux can learn more via the project's GitHub.
Related News
About The Author

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week