windows cygwin curl、Wget、wget 和 top“未找到命令”

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/6480482/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-09 08:31:44  来源:igfitidea点击:

cygwin curl, Wget, wget and top "command not found"

windowsunixcommandcygwin

提问by Benny Tjia

I am pretty sure I have already installed the cygwin default package including the "net" package, however the console kept saying that "command not found" every time I tried to run wgetand top.Do these commands come separately?

我很确定我已经安装了 cygwin 默认包,包括“net”包,但是每次我尝试运行时wget,控制台都一直说“找不到命令” ,top.这些命令是分开来的吗?

采纳答案by Tarek

Did you add the environment variables ?

你加环境变量了吗?

more info here : http://thehacklist.blogspot.com/2009/04/cygwin-ls-command-not-found.html

更多信息在这里:http: //thehacklist.blogspot.com/2009/04/cygwin-ls-command-not-found.html

回答by Benny Tjia

okay folks, thanks for your time, I have solved it; It seems that the default package that contains wget and curl was not really installed..which confused me since I am pretty sure I had them installed properly. well, the most important thing is that it is solved, so there's no problem now. Thanks again!

好的伙计们,感谢您的时间,我已经解决了;似乎没有真正安装包含 wget 和 curl 的默认包..这让我很困惑,因为我很确定我已经正确安装了它们。嗯,最重要的是解决了,所以现在没有问题了。再次感谢!

how to install pacakge

如何安装包