Binary package “concalc” in ubuntu kinetic
console calculator
concalc is a calculator for the Linux console. It is just the
parser-algorithm of extcalc packed into a simple console program. You
can use it if you need a calculator in your shell. concalc is also able
to run scripts written in a C-like programming language.