我试过了sudo apt-get install --install-recommends winehq-devel
但是它显示:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Unable to locate package winehq-devel
答案1
这是因为 Wine 的开发版本不在 vanilla 存储库中(原因很明显——它不稳定),您必须添加其 PPA。引用原文:
添加存储库:
sudo add-apt-repository ppa:wine/wine-builds
更新包列表:
sudo apt-get update
然后安装(以开发分支为例):
sudo apt-get install --install-recommends winehq-devel