Box64 logoBox64 Download Box64
v0.4.4 ARM64 · RISC-V · LoongArch

Box64 - Run x86_64 Apps on ARM

Box64 translates x86_64 Linux programs into native instructions as they run, so Raspberry Pi boards, ARM laptops, servers and Android phones can open software that was only ever built for Intel and AMD processors.

MITopen-source licence
4host architectures
0.4.4latest tagged release
ARM single-board computer that runs x86_64 programs through Box64
$ box64 ./app ✓ running
What is Box64

A bridge between two instruction sets

Box64 is a free, open-source user-space emulator that runs x86_64 Linux executables on 64-bit processors from other families, chiefly ARM64. Most software for desktop Linux is compiled only for Intel and AMD chips; Box64 lets that same software start on a Raspberry Pi 5, a Rockchip board, an ARM server or an Android phone.

What makes Box64 unusual is that it does not attempt to emulate everything. It translates the program's own code with a fast dynamic recompiler, but whenever the program calls a well-known system library, Box64 passes that call to the native ARM version already on your system. Graphics, audio and windowing therefore run at full host speed, which is why Box64 is often far quicker than a traditional emulator.

ptitSeboriginal author
Linuxprograms it runs
Cwritten in
0x02 · features

What Box64 brings to ARM hardware

Six design choices explain why Box64 has become the default way to run x86_64 Linux software on ARM boards and Android devices.

0x01DR

Dynamic recompiler

Box64 translates blocks of x86_64 machine code into native ARM64, RISC-V or LoongArch instructions at run time, then caches the result so hot loops run at close to native speed.

0x02WR

Native library wrapping

Calls into common system libraries such as libc, libm, SDL2, OpenGL, Vulkan, GTK and OpenAL are passed straight to the host versions, so only the program itself needs translating.

0x03US

Linux userspace focus

Box64 emulates a process, not a whole machine. It needs no virtual disk, no guest kernel and no separate desktop, which keeps memory use low and start-up quick.

0x04WN

Wine and Proton ready

Paired with 64-bit Wine, Box64 opens the door to Windows applications and games on ARM hardware, and it powers popular Android front ends such as Winlator.

0x05RC

Per-program profiles

A plain-text box64rc file lets you store tuned settings for each executable, so a demanding game and a quiet command-line tool can each run with their own options.

0x06OS

Open source, MIT licensed

The full Box64 source code is public on GitHub under the permissive MIT licence, with frequent releases, readable commit history and an active issue tracker.

0x03 · pipeline

How Box64 works, step by step

From the moment you type box64 ./program, four stages turn foreign machine code into something your processor understands.

01

Load the ELF

Box64 reads the x86_64 executable, maps its segments into memory and resolves which libraries it expects, exactly as the Linux loader would.

02

Wrap or emulate

Each requested library is checked against the wrapped list. Known libraries go to native host code; unknown ones are loaded as x86_64 and emulated.

03

Translate blocks

When execution reaches new code, the Dynarec converts that block into host instructions, applies safe optimisations and stores it in a cache.

04

Run natively

The translated block now runs directly on your ARM64, RISC-V or LoongArch processor. Repeated paths skip translation entirely, which is where the speed comes from.

Terminal showing Box64 loading wrapped native libraries

Reading the Box64 start-up log

  • The banner confirms the version and whether the Dynarec is active.
  • "Using native(wrapped)" lines show which libraries run at host speed.
  • "Using emulated" lines show libraries Box64 must translate instead.
  • Set BOX64_LOG=1 for more detail and BOX64_NOBANNER=1 to silence it.
Installation

Install Box64 on the device you own

Choose your platform. Each path ends with the same result: a box64 command that runs x86_64 programs. Building from source takes roughly ten to twenty minutes on a modern board.

box64 · setup

Build on ARM64 Linux

1. Install the build tools first. Box64 needs Git, CMake, a C compiler and Python 3.

sudo apt update sudo apt install git cmake build-essential python3

2. Fetch the source and configure a generic ARM64 build with the Dynarec enabled.

git clone https://github.com/ptitSeb/box64 cd box64 && mkdir build && cd build cmake .. -D ARM_DYNAREC=ON -D CMAKE_BUILD_TYPE=RelWithDebInfo

3. Compile, install and let binfmt pick up the new interpreter.

make -j$(nproc) sudo make install sudo systemctl restart systemd-binfmt

Raspberry Pi 5 / 4

1. Use a 64-bit operating system. On a Raspberry Pi 5, select the 4K-page kernel for the widest compatibility.

# /boot/firmware/config.txt kernel=kernel8.img

2. Configure with the board profile that matches your hardware.

cmake .. -D RPI5ARM64=1 -D CMAKE_BUILD_TYPE=RelWithDebInfo # Raspberry Pi 4: -D RPI4ARM64=1

3. Build with all cores, install, then confirm the version.

make -j4 && sudo make install sudo systemctl restart systemd-binfmt box64 --version

Android with Termux

1. Install Termux from F-Droid or its GitHub releases, then add a Linux userland.

pkg update && pkg install proot-distro git proot-distro install debian proot-distro login debian

2. Inside Debian, build Box64 with the generic ARM64 options shown above, or use a script you trust that packages it.

apt install git cmake build-essential python3 git clone https://github.com/ptitSeb/box64

3. Run an x86_64 Linux program by placing box64 in front of it.

box64 ./my-x86_64-program

Box64 for Winlator

1. Winlator already bundles Box64. Open a container, go to its settings and choose the Box64 version and preset there.

# Container > Settings > Advanced Box64 version: latest available Box64 preset: Compatibility | Stability | Performance

2. Newer Box64 builds are published as .wcp component packages. Import one through Winlator's content manager, then select it per container.

# Settings > Contents > Install package box64-x.y.z.wcp

3. Start with the Compatibility preset for a new game, then move to Performance once it is stable.

# Environment variables (optional) BOX64_DYNAREC_BIGBLOCK=1 BOX64_DYNAREC_STRONGMEM=1
0x05 · use cases

Where people put Box64 to work

Box64 started as a way to play x86 games on ARM boards, but it now appears in phones, workstations and data centres.

Box64 for gaming: pc games on arm handhelds
Gaming

PC games on ARM handhelds

Through Wine, DXVK and a Vulkan driver, Box64 lets ARM handhelds and single-board computers run a growing list of Windows and Linux games.

Box64 for android: desktop software on phones
Android

Desktop software on phones

Front ends such as Winlator wrap Box64 in a friendly interface, letting Android phones launch x86_64 programs without a separate PC.

Box64 for developers: legacy tools on new hardware
Developers

Legacy tools on new hardware

Engineers moving to ARM workstations can keep closed-source x86_64 compilers, SDKs and command-line utilities working while they migrate.

Box64 for servers: x86-only binaries on arm clouds
Servers

x86-only binaries on ARM clouds

Box64 helps ARM servers run a vendor binary that has no ARM64 build, which avoids keeping an x86 machine around for one task.

Download Box64

Get the latest Box64 source

The download below is the official main-branch archive from the ptitSeb repository on GitHub. It always contains the newest Box64 code, including every fix merged since the v0.4.4 release. Extract it on your ARM64, RISC-V or LoongArch device and follow the installation steps above to compile it.

Using Android? Winlator already includes Box64, so you only need this archive if you build your own Termux environment or want to study the code.

Package
box64-main.zip (source)
Release
main branch · after v0.4.4
Licence
MIT, free
Hosts
ARM64, RISC-V, LoongArch
Source
GitHub · ptitSeb/box64
Download Box64 ZIP

The file opens on GitHub's servers. No installer or account is required.

0x07 · compatibility

Box64 compared with other translators

Several projects solve the same problem in different ways. This comparison shows where Box64 stands against FEX-Emu, QEMU user mode and Apple's Rosetta 2.

Box64FEX-EmuQEMU userRosetta 2
ApproachUser-space Dynarec with native library wrappingUser-space JIT with thunks for selected librariesGeneric user-mode translation (TCG)Ahead-of-time plus JIT translation
Host CPUsARM64, RISC-V 64, LoongArch64, PPC64LE (in progress)ARM64Many architecturesApple silicon only
Host OSLinux and AndroidLinuxLinux and BSDmacOS
32-bit x86Via Box86 or the Box32 build optionYes, built inYesLimited
Windows softwareWith Wine / Proton (WoW64 work ongoing)With Wine / ProtonWith Wine, slowlyWith CrossOver or Game Porting Toolkit
Android front endsWinlator, Termux-based projectsSome community buildsRareNone
LicenceMITMITGPL-2.0Proprietary
● ARM64 · Dynarec● RISC-V 64 · Dynarec● LoongArch64 · Dynarec● PPC64LE · in progress● Other 64-bit · interpreter
0x08 · troubleshooting

Fix common Box64 problems

Select a symptom to see what usually causes it and the steps that resolve it in most cases.

"libXXX.so: cannot open shared object file"

Library not found

The program needs an x86_64 library that is neither wrapped nor installed. Box64 cannot translate a file it cannot find.

  1. Collect the missing x86_64 library from the program's own folder or from an x86_64 package of your distribution.
  2. Place it in a dedicated folder, for example ~/x64libs.
  3. Point Box64 at it with export BOX64_LD_LIBRARY_PATH=~/x64libs and run the program again.
SIGSEGV or SIGBUS soon after launch

Random crashes

Aggressive Dynarec optimisations sometimes clash with programs that rely on strict memory ordering or self-modifying code.

  1. Run once with BOX64_LOG=1 to read where the crash happens.
  2. Try BOX64_DYNAREC_STRONGMEM=1 and BOX64_DYNAREC_BIGBLOCK=0.
  3. If the crash persists, test with BOX64_DYNAREC=0 to confirm whether translation is the cause, then report it on GitHub.
Box64 refuses to start on a 16K kernel

Page-size error

Some kernels, including the default one on the Raspberry Pi 5 and certain Apple silicon Linux builds, use 16K memory pages, while many x86_64 programs assume 4K.

  1. On a Raspberry Pi 5, add kernel=kernel8.img to /boot/firmware/config.txt and reboot.
  2. Check the page size with getconf PAGESIZE; 4096 is ideal.
  3. On other boards, use a Box64 build configured for 16K pages or switch to a 4K kernel.
Low frame rate or long stalls

Poor performance

Slow results usually come from an interpreter-only build, a missing GPU driver or a game that needs safer, slower settings.

  1. Confirm the banner says "with Dynarec"; if not, rebuild with the correct board option.
  2. Make sure a native OpenGL or Vulkan driver is installed for your GPU.
  3. Experiment with BOX64_DYNAREC_BIGBLOCK=2, BOX64_DYNAREC_CALLRET=1 and BOX64_DYNAREC_FASTROUND=1.
"wine: could not load kernel32.dll"

Wine will not open

The Wine build is the wrong architecture, is incomplete or is being launched without Box64 in front of it.

  1. Use an x86_64 Wine build (wine64) extracted to a folder you control.
  2. Launch it as box64 ~/wine/bin/wine64 winecfg the first time.
  3. Delete a broken prefix with care and let Wine create a fresh one.
Box64 terminal resolving a missing library error
0x09 · requirements

Box64 system requirements

Box64 itself is light. The real demands come from the software you run through it, so the recommended column assumes games or heavy desktop applications.

Minimum command-line tools

Processor
64-bit ARMv8-A, RISC-V RV64GC or LoongArch64
Operating system
64-bit Linux (Debian, Ubuntu, Fedora, Arch) or Android via Termux
Memory
2 GB RAM
Storage
About 500 MB for source and build files
Page size
4K kernel preferred
Build tools
Git, CMake, GCC or Clang, Python 3

Recommended games & Wine

Processor
Cortex-A76 class or newer (Raspberry Pi 5, RK3588, Snapdragon 8 series)
Graphics
Native Vulkan or OpenGL driver (Mesa Panfrost, Turnip, V3DV)
Memory
8 GB RAM or more
Storage
NVMe or fast UFS storage with room for Wine and games
Cooling
Active cooling for sustained loads
Android
Snapdragon device with Winlator for best results
Safety

Is Box64 safe to use?

Box64 is open-source software with a long public history, and its code is reviewed by many contributors. Running it is no riskier than running any other user-level program. The sensible precautions concern where you obtain it and what you choose to run through it.

  • 01
    Download from the official repositoryTake Box64 from the ptitSeb GitHub repository or a trusted distribution package, not from unknown APK or file-sharing sites.
  • 02
    Avoid unofficial "Box64 APK" filesBox64 has no standalone Android app; files sold or shared under that name may contain unwanted code.
  • 03
    Run as a normal userBox64 needs no root privileges to run programs, so keep everyday use outside administrator accounts.
  • 04
    Respect software licencesBox64 runs software you already have the right to use; it does not unlock or license anything.
Verifying the Box64 source archive with a checksum before building
sha256 ✓ verified
0x0B · verdict

Box64 pros and cons

A balanced look at what Box64 does well and where it still falls short.

Strengths

  • Wrapped native libraries make graphics-heavy software surprisingly fast.
  • Supports ARM64, RISC-V and LoongArch, with PowerPC work under way.
  • Free, MIT-licensed and actively maintained, with regular releases.
  • Per-program profiles allow precise tuning without rebuilding.
  • Low overhead compared with full-system virtual machines.
  • Forms the engine behind Winlator and many Android projects.

Limitations

  • Runs Linux programs only; Windows software needs Wine on top.
  • Some anti-cheat and heavily protected games will not run.
  • Compute-heavy code without library calls can be markedly slower.
  • Building from source can be daunting for newcomers.
  • 16K-page kernels and missing GPU drivers cause extra setup work.
FAQs

Box64 questions, answered

Box64 is an open-source program that lets x86_64 Linux software run on 64-bit processors that are not x86, mainly ARM64 but also RISC-V and LoongArch. It translates the program's instructions into native ones while it runs and hands common library calls to the host system.

Yes. Box64 is released under the MIT licence, so anyone can download, use, study and modify it at no cost. The only expense is the hardware you run it on.

Box64 was created by Sebastien Chevalier, known online as ptitSeb, and is developed on GitHub with contributions from a wide group of volunteers and companies working on ARM, RISC-V and LoongArch support.

It is best described as a user-space emulator built around a binary translator. Instead of simulating a full PC, Box64 emulates one Linux process and recompiles its x86_64 code into host code on the fly.

Box86 runs 32-bit x86 programs on 32-bit ARM, while Box64 runs 64-bit x86_64 programs on 64-bit hosts. Recent Box64 releases also include an optional Box32 mode for 32-bit programs, reducing the need to keep Box86 alongside it.

Not on its own, because Box64 only understands Linux executables. It runs Windows software indirectly by running Wine, which in turn loads the Windows program. That combination is what Winlator and similar projects rely on.

At the time of writing, the newest tagged release is Box64 v0.4.4, published in August 2026. The main branch on GitHub moves faster than tagged releases, so a fresh source download often contains newer fixes.

The dependable method is to build it from source: install Git, CMake and a compiler, clone the repository, run CMake with the option for your board, then run make and make install. Several distributions and community repositories also offer ready-made packages.

No. Box64 is a Linux program, not an Android app, so the project does not publish an APK. On Android it arrives inside apps such as Winlator or through Termux-based setups, and any standalone "Box64 APK" should be treated with suspicion.

The simplest route is Winlator, which ships Box64 together with Wine and graphics drivers. More technical users can install Termux, add a Debian or Ubuntu environment with proot-distro and build or install Box64 inside it.

Download a newer Box64 component package in the .wcp format from a trusted source, import it in Winlator's content manager, then choose that version in the container's advanced settings. Keep the older version installed until the new one proves stable.

Box64 offers profiles such as RPI4ARM64, RPI5ARM64, RK3588, SD845 and M1, plus generic switches like ARM_DYNAREC, RV64 and LARCH64. Choose the one closest to your hardware; the generic ARM64 build is a safe fallback.

Building and running Box64 does not require root, though installing it system-wide and registering it with binfmt does. On Android, neither Winlator nor Termux needs a rooted phone.

It points to the ZIP archive of the main branch in the official ptitSeb/box64 repository on GitHub. That archive contains the full source code, which you compile on your own device.

Speed depends heavily on the workload. Programs that spend most of their time inside wrapped libraries such as graphics or audio can feel close to native, while code that stays inside the translated program usually runs noticeably slower than a true ARM build.

Many games run through Steam, Wine or Proton on top of Box64, particularly on capable ARM boards with good Vulkan drivers. Results vary by title, so community compatibility lists and per-game box64rc profiles are worth checking first.

BOX64_LOG controls diagnostic output, BOX64_LD_LIBRARY_PATH adds x86_64 library folders, BOX64_DYNAREC turns translation on or off, and the BOX64_DYNAREC_* family, such as BIGBLOCK, STRONGMEM and SAFEFLAGS, trades speed for stability.

The source code is public, reviewed by many contributors and distributed through GitHub, which makes it a low-risk download when taken from the official repository. The greater risk lies in third-party repacks, so verify where any prebuilt file comes from.

Box64 contains no telemetry or analytics. It does not send information anywhere; it simply translates and runs the program you give it on your own machine.

A black window usually points to the graphics stack rather than to Box64. Confirm that a native OpenGL or Vulkan driver is present, try a different DXVK or renderer setting under Wine, and check the log for failed library loads.

No. Box64 runs as an ordinary user process and cannot change your hardware. Heavy games can raise temperatures on small boards and phones, so sensible cooling and battery care are the only practical concerns.