如何在Ubuntu Linux 64bit上安装Wine

如果我们正在运行64位Ubuntu Linux系统以安装Wine,请先启用I386架构。
否则任何安装 Wine 的尝试都会导致:

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:
 wine : Depends: wine1.6 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

使用以下Linux命令在64位Ubuntu Linux系统上安装Wine。

首先,启用I386架构:

# dpkg --add-architecture i386

更新存储库:

# apt-get update

安装 Wine :

# apt-get install wine

另一种替代方案是通过Ubuntu Wine 团队PPA存储库安装 Wine 。
请注意,我们仍然需要启用I386存储库:

# add-apt-repository ppa:ubuntu-wine/ppa
apt-get update
apt-get install wine1.7
日期:2020-07-07 20:55:32 来源:oir作者:oir