Install calc-stats by entering the following commands in the terminal:
sudo apt update sudo apt install calc-stats
Description:
run standard statistics operations on a file or stdin using awk
This package provides a number of useful utilities which can efficiently perform statistic calculations on files or standard input containing numbers (integers or floats). This includes: min, max, mean, avg, median, mode, stdev, histogram, summate
Homepage: http://launchpad.net/calc-stats
Version: 1.6-0ubuntu1
Section: universe/admin