Install bifrost-emu on Linux to run Android games and ARM64 apps

bifrost-emu runs on x86_64 Linux and is experimental. The one-command install below is new and has not been confirmed on every distribution; the support matrix says what has been checked.

Requirements

An x86_64 Linux PC with SSE4.1 and FMA3 (the JIT refuses to start without them; --no-jit runs on any x86-64 CPU). A GPU with OpenGL or Vulkan drivers, and about 1.3 GB to download plus about 1.3 GB on disk for the Android runtime. Android windows use SDL3: where the distribution has none (Debian 12, Ubuntu 24.04) bootstrap builds it, and the Debian and Ubuntu package route below needs Debian or Ubuntu 25.10 or newer for Android windows.

One command

From a fresh clone this installs the host packages (apt, dnf, zypper or pacman; it asks for sudo only if some are missing), builds the emulator, then downloads and installs the Android runtime (Asgard) under ~/.local:

git clone https://github.com/sloppyman2567/bifrost-emu && cd bifrost-emu
make bootstrap       # about 1.3 GB of pinned downloads; PREFIX=DIR to install elsewhere

Add ~/.local/bin to your PATH for the bifrost-emu and asgard commands. On a minimal system without make or Python, run Scripts/Setup/install-deps.sh first. An interrupted download is kept and the next run resumes it.

Or run sh install.sh in the clone and answer two questions: the emulator alone (with an optional Linux rootfs) or the emulator with Asgard. Where the distribution has no SDL3 package, it builds SDL3 from source.

Run something

bifrost-emu game.apk          # installs and runs an Android app (.apk .apkm .apks .xapk)
asgard launcher               # desktop library of installed apps
bifrost-emu ./program-arm64   # runs an ARM64 Linux binary

Dynamically linked Linux programs need a guest root filesystem: bifrost-emu --setup-rootfs installs one (about 235 MB), and --setup-rootfs --games adds the libraries Linux games need. Android apps do not use it. See the rootfs guide.

Debian and Ubuntu package

Build the packages from the clone, then install them:

sudo apt install build-essential debhelper pkg-config libavcodec-dev libavutil-dev libswscale-dev \
     libegl-dev libffi-dev libgl-dev libsdl3-dev libsdl2-dev libwayland-dev libx11-dev
make deb
sudo apt install ../bifrost-emu_*.deb ../bifrost-emu-asgard_*.deb
asgard-setup                  # once: about 1.3 GB of downloads
bifrost-emu --setup-rootfs    # once, for Linux programs

Bazzite and other immutable Fedora

Build and run inside a Distrobox container, since the emulator links the container's libraries:

distrobox create --name bifrost --image registry.fedoraproject.org/fedora-toolbox:44
distrobox enter bifrost
sh install.sh

On the host itself, sh install.sh stops and shows these commands instead of trying to install packages on a read-only system. make bootstrap works inside the container too.

Updating and removing

Pull the new code, then repeat the install you used. For make bootstrap that is make bootstrap again. For a system-wide install it is make as yourself, then sudo make install and sudo make install-asgard; the second one rebuilds whatever the update changed. Updating only one of the emulator and Asgard makes Asgard print a warning. The steps, with removing and what to do when something goes wrong, are in Install and update.

Per-app settings and asgard commands are in the APK guide. If Bifrost is already installed elsewhere, such as /usr/local, bootstrap makes a second copy that takes over when ~/.local/bin comes first on your PATH.

Full details, including building only the emulator and every option, are in the README quick start. Something not working? See the games list for what has run, and open an issue.