我正在尝试在我的 Linux vps 上打开 .exe 文件,但是当我尝试时出现此错误:
hitleap@STEFAN:~/Desktop$ wine Hitleap+Viewer.exe
it looks like multiarch needs to be enabled. as root, please
execute "dpkg --add-architecture i386 && apt-get update && apt-get install wine32"
wine: Bad EXE format for Z:\home\hitleap\Desktop\HitLeap+Viewer.exe.
hitleap@STEFAN:~/Desktop$ Application tried to create a window, but no driver could be loaded.
Make sure that your X server is running and that #DISPLAY is set correctly.
如何做到这一点?
根据您的留言:
看起来需要启用多架构。作为 root,请 执行“
”dpkg --add-architecture i386 && apt-get update && apt-get install wine32
以 root 身份输入以下命令并按 Enter:
dpkg --add-architecture i386 && apt-get update && apt-get install wine32
在 ubuntu 14.04 中,通过安装 32 位版本的 libSM6 解决了这个问题:
sudo apt-get install libsm6:i386
听起来很傻。关闭然后打开我的笔记本电脑对我来说很有效:)
但是你看,你必须这样写:“wine ./setup.exe”。输入“wine setup.exe”不好。