primorial command not found
In this troubleshooting guide we learn how to fix primorial command not found error message
Introduction
When you run more command in linux terminal / console, you get the following error message
primorial: command not found
or when using sudo you get the following error message
sudo: primorial: command not found
Solutions to primorial: command not found
How To Fix primorial: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu primorial is provided by mathomatic-primes package.
mathomatic-primes is:
This package contains the integer math tools from Mathomatic to:
- quickly generate any amount of consecutive prime numbers
- calculate large primorials
- sum and multiply large integers
- calculate and display Pascal’s triangle
- find the minimum number of positive integers that when squared and added together, equal the given number
To fix this problem, we can install more using the command below.
sudo apt-get -y install mathomatic-primes
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install mathomatic-primes.
sudo apt -y install mathomatic-primes
Or if you have aptitude installed you can use the following command.
sudo aptitude install mathomatic-primes
Summary
In this tutorial we learn how to fix primorial command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.