SlackBuilds Repository

15.0 > System > qemu-static (9.2.0)

QEMU is a generic and open source machine emulator and virtualizer.

This build is only for the user-mode static version of the binaries.

The primary use-case is to run alien achitecture (aarch64)
docker containers on x86_64.

This package installs all compatible qemu binfmt descriptions
into /usr/share/binfmts

If you have installed (and activated in /etc/rc.d/)
the binfmt-support service, they will be loaded at machine start up.

Then you should be able to run all compatible docker images through
qemu emulation transparently.

/*
modprobe binfmt_misc
mount -t binfmt_misc none /proc/sys/fs/binfmt_misc
update-binfmts --import
update-binfmts --enable

docker run --platform=linux/arm64 --rm -it \
aclemons/slackware:current echo passed || echo failed

*/

See also:

https://ihlenfeldt.net/binfmt-misc/
https://www.kernel.org/doc/Documentation/admin-guide/binfmt-misc.rst
https://twdev.blog/2024/01/docker_multi_platform/

This requires: device-tree-compiler, qemu, python3-meson-opt

Maintained by: Lockywolf
Keywords: qemu,emulation,container,docker
ChangeLog: qemu-static

Homepage:
https://www.qemu.org

Source Downloads (64bit):
qemu-9.2.0.tar.xz (ece615b98642720430236e20237dd936)
pcre-8.45.tar.bz2 (4452288e6a0eefb2ab11d36010a1eebb)
glib-2.70.5.tar.xz (c59d43d79902312311cb7e6a1f449035)
glibc-2.33.tar.xz (390bbd889c7e8e8a7041564cb6b27cca)

Download SlackBuild:
qemu-static.tar.gz
qemu-static.tar.gz.asc (FAQ)

(the SlackBuild does not include the source)

Validated for Slackware 15.0

See our HOWTO for instructions on how to use the contents of this repository.

Access to the repository is available via:
ftp git cgit http rsync

© 2006-2026 SlackBuilds.org Project. All rights reserved.
Slackware® is a registered trademark of Patrick Volkerding
Linux® is a registered trademark of Linus Torvalds