Hello I cannot install wine32 on debian, if I try to do
apt install wine32
I get an error "wine32 doesn't have candidate to installation".
I already tryed the solutions I found online but I still cannot install win32 just win264. Please help, thank you
CodePudding user response:
I can't mark it as a duplicate, since the answer is on https://askubuntu.com/.
https://askubuntu.com/questions/1182590/how-can-i-install-wine-i386-on-ubuntu-19-10 :
Paste for a moment (for Ubuntu, but can be inspired by for Debian):
sudo dpkg --add-architecture i386
wget -qO - https://dl.winehq.org/wine-builds/winehq.key | sudo apt-key add -
sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ disco main'
sudo apt-get update
sudo apt install --install-recommends winehq-stable
For a newer releases the issue may persist with no workaround:
- https://wiki.winehq.org/FAQ:
Debian/Ubuntu-based systems require the i386 and x86_64 versions of a package to be exactly the same, the user is unable to install the i386 version needed by Wine because no matching version can be found
- The solution above is based on fact, that i386 version is installed from previous
disco
disto (19.04). Starting from 19.10 Ubuntu is dropping i386 support. So, the further time goes the more packages diverge.
You may try to install old wine versions, but such hassle doesn't worth it (may encounter a huge amount of incompatibility).
EDIT:
for Debian 11 (bullseye) the instructions are at: https://wiki.winehq.org/Debian
CodePudding user response:
There are instructions on how to do this on the wine website. https://wiki.winehq.org/Debian It will show you how to add the repository to apt so you can install wine32. If all else fails, there are instructions on how to build wine from source at https://wiki.winehq.org/Building_Wine.