2

我正在尝试在 64 位 Debian Jessie 上安装 32 位 Wine。我尝试过以下建议: Can't build 32bit Wine on 64bit linux 和: Installing wine in debian

但我一直得到:

apt-get install libcapi20-dev:i386 libcups2:i386 libdbus-1-3:i386 libfontconfig:i386 libfreetype6:i386 libglu1-mesa:i386 libgnutls26:i386 libgphoto2-2:i386 libncurses5:i386 libosmesa6:i386 libsane:i386 libxcomposite1:i386 libxcursor1:i386 libxi6:i386 libxrandr2:i386 libxslt1.1:i386 ocl-icd-libopencl1:i386
Note, selecting 'libfontconfig1:i386' instead of 'libfontconfig:i386'
Package libgphoto2-2:i386 is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source
    However the following packages replace it:
      libgphoto2-l10n

    Package libgnutls26:i386 is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source

    E: Package 'libgnutls26:i386' has no installation candidate
    E: Package 'libgphoto2-2:i386' has no installation candidate

我还尝试从源代码和之后构建 wine 1.4:

./configure --disable-win64

我收到了发生错误的消息。

你能建议我多尝试什么吗?

4

3 回答 3

0

首先执行以下两个步骤后,您可能能够实现您想要的效果:

1)更新你的/etc/apt/sources.list文件,然后运行apt-get update

我建议以下内容/etc/apt/sources.list

deb http://ftp.us.debian.org/debian/ jessie main contrib non-free
deb-src http://ftp.us.debian.org/debian/ jessie main contrib non-free
deb http://security.debian.org/ jessie/updates main contrib non-free
deb-src http://security.debian.org/ jessie/updates main contrib non-free
deb http://ftp.us.debian.org/debian/ jessie-updates main contrib non-free
deb-src http://ftp.us.debian.org/debian/ jessie-updates main contrib non-free
deb http://ftp.debian.org/debian jessie-backports main contrib non-free
deb-src http://ftp.debian.org/debian jessie-backports main contrib non-free

apt-get update更新列表后别忘了运行

2)在您的计算机上安装32位架构,运行apt-get updatereboot

dpkg --add-architecture i386 && apt-get -y update && apt-get -y install -f && reboot

完成上述两个步骤后,再次尝试安装/运行wine32 位。我希望这有帮助!

编辑:对于大多数人来说,最好的安装方法wine是安装包playonlinux。该软件包与一个有用的界面一起playonlinux安装,可以在其上运行东西——最初是为游戏设计的(因此得名),但它可以“运行”各种软件。它使使用变得更加容易。要安装,我建议:wineguiplayonlinuxwineplayonlinux

apt-get update && apt-get -y install playonlinux

成功后,playonlinux在您的计算机上查找(通常它被分组在“游戏”类别中),打开程序并等待它更新其数据库(它会自动完成,在程序窗口底部查看文本“刷新PlayOnLinux”和一个状态栏;当状态栏到达末尾时,它将消失,“PlayOnLinux”将完全更新)。之后,它应该可以使用了。

于 2017-05-08T22:17:53.597 回答
0

谢谢你的回复。我已经按照你的建议做了,但还是有一些问题,这次是 X-server:

configure: error: X 32-bit development files not found. Wine will be built
without X support, which probably isn't what you want. You will need
to install 32-bit development packages of Xlib/Xfree86 at the very least.

我以前安装了一些 nvidia 驱动程序,因此我害怕将驱动程序恢复到 Nouveau。

于 2017-05-09T12:47:13.847 回答
0

该软件包libgphoto2-2:i386在 debian jessie 上不可用,它仅在 debian wheezy 上可用libgphoto2-l10n替换它。

仅适用于libgnutls26:i386debian Wheezy 和 Sid,它不能安装在 debian jessie 上。

wine程序可在具有多架构支持的jessie backports上使用 ( Architecture=All)

编辑您的sources.list,打开终端并运行以下命令:

sudo apt edit-sources

添加以下行:

deb http://httpredir.debian.org/debian jessie-backports main

保存文件然后运行:

sudo dpkg --add-architecture i386
sudo apt update

安装 32 位版本的 wine:

sudo apt install -t jessie-backports wine32
于 2017-05-10T19:04:40.943 回答