numsum command not found

In this troubleshooting guide we learn how to fix numsum command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

numsum: command not found

or when using sudo you get the following error message

sudo: numsum: command not found

Solutions to numsum: command not found

How To Fix numsum: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu numsum is provided by num-utils package.

num-utils is:

The ’num-utils’ are a set of programs for dealing with numbers from the Unix command line. Much like the other Unix command line utilities like grep, awk, sort, cut, etc. these utilities work on data from both standard in and data from files.

Includes these programs:

  • numaverage: A program for calculating the average of numbers.
  • numbound: Finds the boundary numbers (min and max) of input.
  • numinterval: Shows the numeric intervals between each number in a sequence.
  • numnormalize: Normalizes a set of numbers between 0 and 1 by default.
  • numgrep: Like normal grep, but for sets of numbers.
  • numprocess: Do mathematical operations on numbers.
  • numsum: Add up all the numbers.
  • numrandom: Generate a random number from a given expression.
  • numrange: Generate a set of numbers in a range expression.
  • numround: Round each number according to its value.

To fix this problem, we can install more using the command below.

sudo apt-get -y install num-utils

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install num-utils.

sudo apt -y install num-utils

Or if you have aptitude installed you can use the following command.

sudo aptitude install num-utils

Summary

In this tutorial we learn how to fix numsum command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.