A little update of my previous post about box86 install. I found on ptitSeb github project a reference for apt install of precompiled box86 builds. With that everything should be easier.
So I'm posting here steps taken from https://github.com/ptitSeb/box86/blob/master/docs/COMPILE.md and https://github.com/fengxue-jrql/box86-and-box64-for-arm64. All credits to them, I just combined the two.
# dependency install
sudo dpkg --add-architecture armhf
sudo apt update
sudo apt install zenity:armhf libasound*:armhf libstdc++6:armhf mesa*:armhf
# apt install
sudo wget https://itai-nelken.github.io/weekly-box86-debs/debian/box86.list -O /etc/apt/sources.list.d/box86.list
wget -qO- https://itai-nelken.github.io/weekly-box86-debs/debian/KEY.gpg | sudo apt-key add -
sudo apt update && sudo apt install box86 -y
# additional steps in chroot
edit with text editor /etc/profile and put at the end this:
export BOX86_PATH=~/wine/bin/
export BOX86_LD_LIBRARY_PATH=~/wine/lib/wine/i386-unix/:/lib/i386-linux-gnu:/lib/aarch64-linux-gnu/
(Last part for box64:sudo apt install mesa* zenity*)
export BOX64_PATH=~/wine64/bin/
export BOX64_LD_LIBRARY_PATH=~/wine64/lib/i386-unix/:~/wine64/lib/wine/x86_64-unix/:/lib/i386-linux-gnu/:/lib/x86_64-linux-gnu:/lib/aarch64-linux-gnu/
# a note about mesa*:armhf install on arm64.
I read on ptitSeb github that installing it on arm64 without chroot can break GPU acceleration. Just a warning, I had so far no issues.