mlucas command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
mlucas: command not found
or when using sudo you get the following error message
sudo: mlucas: command not found
Solutions to mlucas: command not found
How To Fix mlucas: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu mlucas is provided by mlucas package.
mlucas is:
mlucas is an open-source (and free/libre) program for performing Lucas-Lehmer test on prime-exponent Mersenne numbers, that is, integers of the form 2 ^ p - 1, with prime exponent p. In short, everything you need to search for world-record Mersenne primes! It has been used in the verification of various Mersenne primes, including the 45th, 46th, 48th, 49th and 50th found Mersenne prime.
You may use it to test any suitable number as you wish, but it is preferable that you do so in a coordinated fashion, as part of the Great Internet Mersenne Prime Search (GIMPS) https://www.mersenne.org/primes/.
To fix this problem, we can install more using the command below.
sudo apt-get -y install mlucas
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install mlucas.
sudo apt -y install mlucas
Or if you have aptitude installed you can use the following command.
sudo aptitude install mlucas
Summary
In this tutorial we learn how to fix mlucas command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.