我尝试使用以下方法安装 wine:
sudo apt-get install winehq-devel 2.8.0~xenial
我得到了这个错误:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package 2.8.0~xenial
E: Couldn't find any package by glob '2.8.0~xenial'
E: Couldn't find any package by regex '2.8.0~xenial'
我该如何修复它?
答案1
我想知道你为什么在命令中添加“2.8.0~xenial”。官方安装页面建议安装:
sudo apt-get install --install-recommends winehq-devel
您是否有特殊原因要尝试强制使用特定版本(我猜这就是您想要的)?