Run 32-bit.exe on Raspberry Pi OS 12 (Bookworm)
Run 32-bit.exe on Raspberry Pi OS 12 (Bookworm)
Hello
I'm trying to workout what is needed in order to use Wine to run a 32-bit Windows .exe on a Raspberry Pi 5 running the latest Raspberry Pi OS (v12 / Bookworm).
Through initial Google searches, some guides mention installing box86 alongside Wine as part of the solution for running a 32-bit exe. Others I have come across don't mention box86 and say to install the below to add 32-bit support and install wine32 version:
sudo dpkg --add-architecture i386
sudo apt install wine64 wine32
I'd be grateful if someone can put me right on what is needed at a bare minimum or what people have found has been a working solution for them.
Thanks in advance.
I'm trying to workout what is needed in order to use Wine to run a 32-bit Windows .exe on a Raspberry Pi 5 running the latest Raspberry Pi OS (v12 / Bookworm).
Through initial Google searches, some guides mention installing box86 alongside Wine as part of the solution for running a 32-bit exe. Others I have come across don't mention box86 and say to install the below to add 32-bit support and install wine32 version:
sudo dpkg --add-architecture i386
sudo apt install wine64 wine32
I'd be grateful if someone can put me right on what is needed at a bare minimum or what people have found has been a working solution for them.
Thanks in advance.
-
- Level 5
- Posts: 368
- Joined: Tue Dec 24, 2019 3:23 pm
Re: Run 32-bit.exe on Raspberry Pi OS 12 (Bookworm)
Hi, fellow user here. For me, on a debian-based distro, I would go the sudo dpkg --add-architecture route, but I don't know if it being a rpi would change my course. Also, I'm not familiar with box86, so not really a fair opinion from me : D
Re: Run 32-bit.exe on Raspberry Pi OS 12 (Bookworm)
The Raspberry Pi 5 has an ARM processor and cannot run i386 programs. However, you can install the armel or armhf wine32 Debian packages.
Note: Wine is not an emulator, so i386/amd64 Windows programs will not run on ARM. You will need an emulator, such as Box86/64, for this.
Note: Wine is not an emulator, so i386/amd64 Windows programs will not run on ARM. You will need an emulator, such as Box86/64, for this.
Re: Run 32-bit.exe on Raspberry Pi OS 12 (Bookworm)
Thanks very much for the replies @invisible kid and @jkfloris.
I was unable to get wine installed successfully running any of the above, but believe this was down to Raspberry Pi requiring specific packages.
For anyone else that's struggled with this, I was able to get wine successfully installed via Pi-App:
1. Install Pi-Apps:
wget -qO- https://raw.githubusercontent.com/Botsp ... er/install | bash
2. Launch Pi-Apps (from terminal ,enter: pi-apps)
3. In Pi-Apps, go to : Tools > Emulation. Select "Wine (x64)" and click Install (will take some considerable time to fully install - took around 5-10 mins on a Pi5 for me)
From doing the above I was able to launch a Windows .exe successfully by entering below terminal:
wine <executable>
I was unable to get wine installed successfully running any of the above, but believe this was down to Raspberry Pi requiring specific packages.
For anyone else that's struggled with this, I was able to get wine successfully installed via Pi-App:
1. Install Pi-Apps:
wget -qO- https://raw.githubusercontent.com/Botsp ... er/install | bash
2. Launch Pi-Apps (from terminal ,enter: pi-apps)
3. In Pi-Apps, go to : Tools > Emulation. Select "Wine (x64)" and click Install (will take some considerable time to fully install - took around 5-10 mins on a Pi5 for me)
From doing the above I was able to launch a Windows .exe successfully by entering below terminal:
wine <executable>
-
- Level 5
- Posts: 368
- Joined: Tue Dec 24, 2019 3:23 pm
Re: Run 32-bit.exe on Raspberry Pi OS 12 (Bookworm)
@jkfloris
So no Windows Programms will run with Wine on an RPi5?
So no Windows Programms will run with Wine on an RPi5?
Re: Run 32-bit.exe on Raspberry Pi OS 12 (Bookworm)
Pi-Apps installs Box64 when you install Wine.
So your Windows programs should work!
So your Windows programs should work!
Re: Run 32-bit.exe on Raspberry Pi OS 12 (Bookworm)
Or you could use https://github.com/AndreRH/hangover
But you then need a 4k page size kernel according to https://github.com/AndreRH/hangover/issues/144
But you then need a 4k page size kernel according to https://github.com/AndreRH/hangover/issues/144