BC命令在CYGWIN中不工作 [英] BC command not working in CYGWIN
问题描述
我已经下载了 CygWin(32位)
并安装了 Windows 7 32位系统
运行shell脚本,但我发现一个问题,bc命令不工作。
我得到错误 -bash:bc:command not found
。所以,请帮助我!
I have downloaded CygWin(32-bit)
and installed (on Windows 7 32 bit System
) today to run shell script but i found one problem that bc command isn't working.
I am getting error -bash: bc: command not found
. So please help me out!
< img src =https://i.stack.imgur.com/dI8vN.pngalt =enter image description here>
推荐答案
您需要从选择软件包窗口中选择 bc
软件包进行安装。
默认情况下,基本类别为〜50包,
,而完整可用性为〜4000。
You need to select the bc
package for installation from the "Select Packages" window.
By default setup installs only base category that is ~ 50 packages,
while the full availability is ~ 4000.
https://cygwin.com/packages/x86/bc/bc-1.06.95-2
这篇关于BC命令在CYGWIN中不工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!