# emerge life

Calc - A command-line calculator

Calc is an interactive calculator which provides for easy large numeric calculations, but which also can be easily programmed for difficult or long calculations.

I don’t do advanced math myself, but if you like command-line tools and need to do math (advanced or not) this application should be something for you.

It features both a CLI and a simple TUI. The TUI looks like this:

$ calc
C-style arbitrary precision calculator (version
Calc is open software. For license details type:  help copyright
[Type "exit" to exit, or "help" for help.]

; 3 * (4 + 1)
; 3 * 19^43 - 1
; . % (2^127-1)

And the CLI looks about the same:

$ calc '3 * (4 + 1)'

Since I’m not into math I’m not going to talk about all the features, but you can read more about them on their webpage ‘What is Calc?’.


The package seems to be named calc in most distributions, except for the Debian family where it’s named apcalc.


I don't have a commenting system on my blog since there's no good solutions that works without JavaScript, is user friendly and respects both the users freedom and privacy. So for now, all feedback and hellos can be done via either e-mail, XMPP or Mastodon.