elca (Extended Line CAlculator) evaluates mathematical expressions (more precisely Perl expressions). What makes it different from all other line calculators is that expressions are evaluted immediately as you type them.
You can also specify expressions on command line; in this case elca prints their results, one per line, and terminates.
Old version(s):
For last version of modules see CPAN Term modules
sudo apt-get install libterm-readkey-perl sudo apt-get install libterm-readline-gnu-perl cd /tmp wget http://physics.muni.cz/~polcar/elca/Opt-0.2.tar.gz tar -xzvf Opt-0.2.tar.gz cd Opt-0.2/ perl Makefile.PL make sudo make install cd /tmp wget http://physics.muni.cz/~polcar/elca/elca-1.6.tar.gz tar -xzvf elca-1.6.tar.gz cd elca-1.6/ perl Makefile.PL make sudo make install