Reputation: 8564
How to install dc
(desktop calculator) in Cygwin?
dc
is not found among Cygwin packages. Should it be compiled from the sources? What is the proper way?
Upvotes: 2
Views: 592
Reputation: 1
dc is wrong in cygwin. The command dc -e "2i B.Cp"
does a number clamping to 1.5
, which is default in bc
but not in dc
. The correct value would be 17
.
Do not install it.
Upvotes: 0
Reputation: 8564
dc
is included into the package of bc
(basic calculator). See the list of installed binaries at Cygwin Package Search website.
So, the command to install dc
is:
apt-cyg install bc
Upvotes: 3