E: Package 'wine1.5' has no installation candidate

I'm trying to install wine

But I'm getting this error:

E: Package 'wine1.5' has no installation candidate

And ideas?


Solution 1:

There isn't a package named wine1.5 in any currently supported version of Ubuntu.

In Ubuntu 18.04 and later:

sudo apt install wine-stable   

In Ubuntu 16.04 and later the wine-development package is a newer version than wine1.6 and the wine-stable package. For example in Ubuntu 19.04 wine-stable is version 3.0.1 and wine-development is version 4.2.

sudo apt install wine-development   

In Ubuntu 14.04-22.04:

sudo apt install wine1.6

In Ubuntu 12.04:

sudo apt-get install wine1.4

If you search for Wine in the Software application, you may find that multiple versions of Wine are available. Before you install Wine, look up the Windows app that you want to run in the Wine Application Database to find out if your app requires a specific version of Wine.