E: 包 'wine1.5' 没有安装候选

ali*_*ger 2 wine

我正在尝试安装 wine

但我收到此错误:

E: Package 'wine1.5' has no installation candidate
Run Code Online (Sandbox Code Playgroud)

和想法?

kar*_*rel 8

在任何当前支持的 Ubuntu 版本中都没有名为 wine1.5 的包。

在 Ubuntu 18.04 及更高版本中:

sudo apt install wine-stable   
Run Code Online (Sandbox Code Playgroud)

在 Ubuntu 16.04 及更高版本中,wine-development 包是比 wine1.6 和 wine-stable 包更新的版本。例如在 Ubuntu 19.04 中,wine-stable 是 3.0.1 版,wine-development 是 4.2 版。

sudo apt install wine-development   
Run Code Online (Sandbox Code Playgroud)

在 Ubuntu 14.04-21.04 中:

sudo apt install wine1.6
Run Code Online (Sandbox Code Playgroud)

在 Ubuntu 12.04 中:

sudo apt-get install wine1.4
Run Code Online (Sandbox Code Playgroud)

如果您在软件应用程序中搜索 Wine,您可能会发现有多个版本的 Wine 可用。在安装 Wine 之前,请在Wine 应用程序数据库中查找要运行的 Windows 应用程序,以确定您的应用程序是否需要特定版本的 Wine。