我已经安装了Cygwin DLL 2.10.0
最新版本的 Cygwin,来自https://www.cygwin.com/。但是,我正在努力使一些基本命令正常工作,例如:
cygcheck
、mount
以及 Cygwin 实用程序中其文档中列出的任何其他包 (https://cygwin.com/cygwin-ug-net/using.html)。我查看了他们的安装说明,似乎 Cygwin 应该很简单:通过选中一些框来选择要安装的软件包,然后单击“下一步”。我已经在工作笔记本电脑上设置了可运行的 Cygwin 安装,但很难在我的个人 Windows 10 PC 上执行同样的事情。
在 Cygwin 中,我收到如下错误:
$ mount
-bash: mount: command not found
我阅读了有关which
帮助调试的命令,但不太确定如何解读输出:
$ which cygcheck
which: no cygcheck in (/usr/local/bin:/usr/bin:/cygdrive/c/Program Files (x86)/Intel/iCLS Client:/cygdrive/c/Program Files/Intel/iCLS Client:/cygdrive/c/RailsInstaller/Git/cmd:/cygdrive/c/RailsInstaller/Ruby2.3.3/bin:/cygdrive/c/ProgramData/Oracle/Java/javapath:/cygdrive/c/Program Files/Common Files/Microsoft Shared/Windows Live:/cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/Windows/ System32/Wbem:/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0:/cygdrive/c/Program Files/MySQL/MySQL Server 5.6/bin:/cygdrive/c/Program Files (x86)/QuickTime /QTSystem:/cygdrive/c/Program Files (x86)/NVIDIA Corporation/PhysX/Common:/cygdr ive/c/WINDOWS/System32/WindowsPowerShell/v1.0:/cygdrive/c/Program Files (x86)/Sk ype/Phone:/cygdrive/c/Program Files (x86)/Google/Cloud SDK/google-cloud-sdk/bin: /cygdrive/c/Program Files (x86)/Common Files/Apple/Internet Services:/cygdrive/c /Program Files/MiKTeX 2.9/miktex/bin/x64:/cygdrive/c/Program Files (x86)/Intel/U CRT:/cygdrive/c/Program Files/Intel/UCRT:/cygdrive/c/Program Files (x86)/Intel/I ntel(R) Management Engine Components/DAL:/cygdrive/c/Program Files/Intel/Intel(R ) Management Engine Components/DAL:/cygdrive/c/Program Files (x86)/Intel/Intel(R ) Management Engine Components/IPT:/cygdrive/c/Program Files/Intel/Intel(R) Mana gement Engine Components/IPT:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/c ygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/WINDOWS/System32/WindowsPowerShell/v 1.0:/cygdrive/c/Users/alohakid/AppData/Local/Microsoft/WindowsApps:/usr/lib/l apack)
任何资源或故障排除技巧都将受到赞赏。
也许相关的是,当我在个人电脑上启动 Cygwin 时,出现以下错误:
-bash: /usr/bin/locale: No such file or directory
-bash: /usr/bin/tzset: No such file or directory
并且我的backspace
按钮被解释为space
命令。我没有在工作笔记本电脑的 Cygwin 安装上观察到任何此类行为。我没有运行 Mintty。