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?
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?
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
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.