Running on Ubuntu Desktop 17.10, I tried to install wine
but I always get the following error message:
root@abdrzj-VPCEH26EA:/etc/apt# apt-get install wine
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package wine is a virtual package provided by:
winehq-devel 2.22.0~xenial
wine-stable 2.0.2-2ubuntu1
wine-development 2.18-1
You should explicitly select one to install.
E: Package 'wine' has no installation candidate
try:
sudo apt-get install wine-stable
Run command to install the key:
wget https://dl.winehq.org/wine-builds/Release.key && sudo apt-key add Release.key
Also add the Wine repository via command:
sudo apt-add-repository https://dl.winehq.org/wine-builds/ubuntu/
run
sudo dpkg --add-architecture i386
to make sure 32 bit architecture is enabledLastly, run
sudo apt-get update && sudo apt-get install --install-recommends wine-stable
to install wine-stable.