尝试在 Linux 上安装 wine for play

尝试在 Linux 上安装 wine for play

这是我第一次使用 Ubuntu,我试图让 Play On Linux 运行 Microsoft Office,但它需要 Wine。

但是当尝试使用此命令安装 Wine 时:

sudo apt-get install wine1.7

我得到这个输出:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 wine1.7 : Depends: wine1.7-i386 (= 1:1.7.18-0ubuntu1)
E: Unable to correct problems, you have held broken packages.

为什么会发生这种情况?我该如何解决?

答案1

添加 PPA 存储库:

通过启动Ubuntu 软件中心并选择编辑->软件源。 选择其他软件选项卡并单击添加

在此处输入图片描述

然后,复制和粘贴下面这行。

ppa:ubuntu-wine/ppa

警告:Beta 版软件包

此处的 1.7 软件包是测试版软件包。这意味着它们会定期出现退化,因此更新可能会破坏 Wine 的功能。如果稳定的 1.6 Wine 版本适合您,那么您可能不想使用这些测试版软件包。

安装 Wine:

添加存储库后,即可进行安装。

要获取最新的 Wine 1.7 beta,请粘贴apt://wine1.7到地址栏中。

要安装较旧、稳定的 Wine 1.6 版本,请粘贴apt://wine1.6到地址栏中。

安装 Wine 的替代命令行说明:

也可以添加 PPA 并通过终端安装。

sudo add-apt-repository ppa:ubuntu-wine/ppa; sudo apt-get update; sudo apt-get install wine1.7

答案2

相关内容