Box86 with Wine on Android
Introduction
Run Windows apps (.exe) on Android without rooting your device using Box86 and Wine. Box86 emulates x86 apps on ARM systems, while Wine enables Windows app compatibility.
Prerequisites:
- 32-bit Architecture: Ensure your device has a 32-bit architecture. If you have a 64-bit architecture, you'll need to switch to 32-bit.
Installation Guide
Step 1: Log in to Your Linux Distribution
proot-distro login ubuntu
Note: The command may vary depending on your Linux distribution.
Step 2: Install Necessary Dependencies
sudo apt update ; sudo apt install python3 gcc build-essential cmake git wget -y
Step 3: Clone and Compile Box86
- Clone Box86:
cd ~ ; git clone https://github.com/ptitSeb/box86 ; cd box86
- Compile Box86:
mkdir build; cd build; cmake.. -DCMAKE_BUILD_TYPE=RelWithDebInfo ; make ; sudo make install
Step 4: Download and Set Up Wine
- Create a Wine directory and download the necessary files:
mkdir ~/wine ; wget https://www.playonlinux.com/wine/binaries/phoenicis/upstream-linux-x86/PlayOnLinux-wine-7.0-rc5-upstream-linux-x86.tar.gz ; tar -xvf PlayOnLinux-wine-7.0-rc5-upstream-linux-x86.tar.gz -C ~/wine/
- Configure environment variables:
echo "export BOX86_PATH=~/wine/bin/ export BOX86_LD_LIBRARY_PATH=~/wine/lib/ export BOX86_LOG=1" >> ~/.bashrc
Step 5: Apply Changes and Verify Installation
Re-login to your Linux distribution to apply the changes. You can now use Box86 with Wine.
box86 wine winrar.exe
Example: Run WinRAR using Box86 and Wine.
Important Note:
The provided steps are a general guide and may vary depending on your specific Linux distribution and setup.