1

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

Kulfy
  • 18,154

2 Answers2

3

try:

sudo apt-get install wine-stable

-1

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 enabled

Lastly, run sudo apt-get update && sudo apt-get install --install-recommends wine-stable to install wine-stable.