I have recently installed Ubuntu ARM on my M1 MacBook Air on a virtual machine (using Parallels), and unlike Windows ARM and macOS ARM, Ubuntu ARM does not seem to include a translation layer for x86 apps, which makes the system almost unusable as many Linux software do not support ARM yet.
For example, I got this error while trying to install VSCode with Gdebi:
I cannot believe there is no translation layer on Linux ARM yet, considering it is an open source OS which often makes developing those kind of things easier and faster than on other operating systems.
There is a translation layer out there which I could install?
102 Answers
Box86 and Box64 are emulators that can be used to run traditional x86 apps in ARM.
Here is how to install Box64, so that you will be able to run amd64 binaries in arm64 (note that you won't be able to install amd64 .deb files this way. .deb files are not designed like that. However, you may still be able to extract the binary from a .deb file and run it.). These instructions are based on this guide.
First, install git and the necessary compilers, download the source with git, and enter the source directory.
sudo apt install git build-essential cmake
git clone
cd ~/box64Now create a directory named build, and generate the makefile using cmake.
mkdir build
cd build
cmake .. -DRPI4ARM64=1 -DCMAKE_BUILD_TYPE=RelWithDebInfoNow compile, with all the available cores.
make -j$(nproc)Now install the compiled software
sudo make installNow restart the systemd-binfmt service.
sudo systemctl restart systemd-binfmtFinally, restart the computer.
Now, you should be able to run binaries compiled for the amd64 architecture.
However, native arm64 builds for VSCode are available at its official website, you don't need to emulate it.
many Linux software do not support ARM yet...
You seem to be misinformed. Since most of the software in the repositories are Free and Open source, they have already been compiled, and readily available for ARM. According to , the arm64 repository for Debian Sid has 62542 packages, whereas the amd64 repository has 63568 packages (as of 18th Nov, 2021). People usually use box64 to emulate proprietary software created for Windows.
Qemu user emulation provides a very nice way to seamlessly run programs from other architectures. I have no practical experience with graphical programs however, so there may be dragons that way.
It also integrates with apt/dpkg by registering a foreign architecture.
3