← All tools

vladik50/simpleC

Popularity 75 Updated Network & Systems

A lightweight terminal calculator for quick everyday calculations. No external dependencies. Supports parentheses, percentages, and unary minus.

githubauto-collected

Installation

A directly usable install command is not verified yet. Check the project documentation or releases.

simpleC — Simple Calculator

A lightweight terminal calculator for quick everyday calculations. Supports arithmetic expressions, parentheses, percentages, and unary minus.

Features

  • Basic arithmetic: addition (+), subtraction (-), multiplication (), division (/)
  • Operator precedence: 2+34 equals 14, not 20
  • Parentheses: (2+3)4 for grouping expressions
  • Unary minus: -5+3 for negative numbers at the start of expressions
  • Percentages: 100+10% calculates 10% of 100 and adds it, giving 110
  • REPL mode: interactive prompt for continuous calculations
  • Error handling: clear messages for division by zero and syntax errors

Installation

Debian / Ubuntu / Linux Mint (.deb)

Download the latest .deb package from the Releases page and install it:

sudo dpkg -i simplec1.0-1amd64.deb

Or install from the terminal:

wget https://github.com/vladik50/simpleC/releases/download/v1.0/simplec1.0-1amd64.deb sudo dpkg -i simplec1.0-1amd64.deb

Fedora / RHEL / CentOS (.rpm)

Download the latest .rpm package from the Releases page and install it:

sudo dnf install simplec-1.0-1.fcXX.x8664.rpm

Or using rpm directly:

sudo rpm -i simplec-1.0-1.fcXX.x8664.rpm

Arch Linux / Manjaro (.pkg.tar.zst)

Download the latest .pkg.tar.zst package from the Releases page and install it: