🛠️How compile box64 (termux native):
pkg install glibc-repo glibc-runner -y
pkg install git cmake-glibc make-glibc python-glibc libandroid-spawn libandroid-sysv-semaphore -y
pkg install git cmake-glibc make-glibc python-glibc libandroid-spawn libandroid-sysv-semaphore -y
unset LD_PRELOAD; export GLIBC_PREFIX=/data/data/com.termux/files/usr/glibc
export PATH=$GLIBC_PREFIX /bin:$PATH
cd ~ /; git clone https://github.com/ptitSeb/box64; cd ~ /box64
sed -i ' s/\/usr/\/data\/data\/com.termux\/files\/usr\/glibc/g' CMakeLists.txt
sed -i ' s/\/etc/\/data\/data\/com.termux\/files\/usr\/glibc\/etc/g' CMakeLists.txt
cmake --install-prefix $PREFIX /glibc .. -DARM_DYNAREC=1 -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBAD_SIGNAL=ON -DSD845=ON
There is three type of wine intallation options
Native:- it can run apps based on your cpu architecture, like in arm based cpu you can only install windows arm apps
Mobox:- it can run x86_64 windows apps in aarch64 device with good performance
⚠️ You need to set up Mobox after the termux-desktop installation finishes From Here
Hangover-wine:- do the same thing like mobox