wine:未找到命令

wine:未找到命令

我无法在 Ubuntu 终端中使用 Wine 安装 Windows 程序。我已通过软件中心安装了 Wine。当我尝试在终端中安装程序(即 1StarCraft-Setup.exe)时,系统显示:

No command 'wine' found, did you mean:
Command 'xine' from package 'xine-ui' (universe)
Command 'line' from package 'util-linux' (main)
Command 'twine' from package 'twine' (universe)
Command 'wipe' from package 'wipe' (universe)
Command 'win' from package 'wily' (universe)
Command 'wing' from package 'wing' (universe)
wine: command not found

之后

dpkg-查询-l wine*

Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version      Architecture Description
+++-==============-============-============-=================================
un  wine           <none>       <none>       (no description available)
un  wine-amd64     <none>       <none>       (no description available)
un  wine-binfmt    <none>       <none>       (no description available)
ii  wine-developme 1.9.6-1ubunt all          Windows API implementation - stan
un  wine-gecko     <none>       <none>       (no description available)
ii  wine-gecko2.21 2.21-0ubuntu amd64        Microsoft Windows compatibility l
ii  wine-gecko2.21 2.21-0ubuntu i386         Microsoft Windows compatibility l
un  wine-i386      <none>       <none>       (no description available)
un  wine-mono      <none>       <none>       (no description available)
ii  wine-mono0.0.8 0.0.8-0ubunt all          Microsoft Windows compatibility l
ii  wine-stable    2.0.1~xenial amd64        WINE Is Not An Emulator - runs MS
ii  wine-stable-am 2.0.1~xenial amd64        WINE Is Not An Emulator - runs MS
ii  wine-stable-i3 2.0.1~xenial i386         WINE Is Not An Emulator - runs MS
un  wine1.0        <none>       <none>       (no description available)
un  wine1.2        <none>       <none>       (no description available)
un  wine1.3        <none>       <none>       (no description available)
un  wine1.4        <none>       <none>       (no description available)
un  wine1.4-amd64  <none>       <none>       (no description available)
un  wine1.4-i386   <none>       <none>       (no description available)
un  wine1.5        <none>       <none>       (no description available)
un  wine1.5-amd64  <none>       <none>       (no description available)
un  wine1.5-i386   <none>       <none>       (no description available)
ii  wine1.6        1:1.6.2-0ubu amd64        Microsoft Windows Compatibility L
ii  wine1.6-amd64  1:1.6.2-0ubu amd64        Microsoft Windows Compatibility L
ii  wine1.6-i386:i 1:1.6.2-0ubu i386         Microsoft Windows Compatibility L
ii  wine32-develop 1.9.6-1ubunt i386         Windows API implementation - 32-b
un  wine32-develop <none>       <none>       (no description available)
ii  wine64-develop 1.9.6-1ubunt amd64        Windows API implementation - 64-b
un  wine64-develop <none>       <none>       (no description available)
ii  winetricks     0.0+20141009 all          Microsoft Windows Compatibility L

答案1

返回软件中心并验证 wine 是否已安装。错误消息似乎表明它没有安装(根本没有安装或安装不正确)。如果您无法通过软件中心安装它,请尝试从命令行安装它。打开终端并输入sudo apt install wine-stable winetricks稳定版本或sudo apt install wine-development winetricks更新(但可能不稳定)的版本。

相关内容