Skip to content

Instantly share code, notes, and snippets.

@ezhov-da
Created November 19, 2020 09:23
Show Gist options
  • Save ezhov-da/432a7405475ba8ff6e7ea6c46bd98ed7 to your computer and use it in GitHub Desktop.
Save ezhov-da/432a7405475ba8ff6e7ea6c46bd98ed7 to your computer and use it in GitHub Desktop.
Установка bc
==> https://stackoverflow.com/questions/55141267/how-to-install-and-where-to-install-bash-bc-on-windows
GIT Bash uses MINGW compilation of GNU tools.
It uses only selected ones.
You can install the whole distribution of the tools from https://www.msys2.org/ and run a command to install bc.
And then copy some files to installation folder of Git.
This is what you do:
1. Install before-mentioned msys2 package and run msys2 shell.
2. Install bc using the following command: pacman -S bc
3. Go to msys2 directory, for me it's C:\msys64\usr\bin
4. Copy bc.exe to your Git for Windows directory, for me this is C:\Users\\AppData\Local\Programs\Git\usr\bin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment