BC command not working in CYGWIN

后端 未结 3 1260
無奈伤痛
無奈伤痛 2021-01-12 15:12

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\'

相关标签:
3条回答
  • 2021-01-12 15:37

    I believe that bc is not installed by default on Cygwin, and you will need to install it manually. This link might help you.

    DISCLAIMER: I have never used Cygwin.

    0 讨论(0)
  • 2021-01-12 15:38

    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

    0 讨论(0)
  • 2021-01-12 15:38

    On Windows Cygwin, run setup.exe and search for "bc" in the "Math" category, click on it and hit Next to install.

    On Unix/Linux you'll probably be needed to install this package Using:

    sudo apt install bc
    
    0 讨论(0)
提交回复
热议问题