以下linux命令该过程可用于在Ubuntu Linux amd64上将Wine安装Microsoft Windows兼容层(二进制仿真器和库)。如果您正在运行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 Team PPA存储库安装Wine,在本文中,当前最新版本为1.7。请注意,您仍然需要启用i386存储库,如上所示:
# add-apt-repository ppa:ubuntu-wine/ppa
apt-get update
apt-get install wine1.7