pyecm command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
pyecm: command not found
or when using sudo you get the following error message
sudo: pyecm: command not found
Solutions to pyecm: command not found
How To Fix pyecm: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu pyecm is provided by pyecm package.
pyecm is:
pyecm is a Python program to factor numbers using the Elliptic Curve Method (ECM). It is relatively fast in that it can quickly factors numbers up to 50 digits.
Because it is written in Python, pyecm is very portable. It is also fairly easy to use. Use of python-gmpy and/or python-psyco will speed it up immensely.
To fix this problem, we can install more using the command below.
sudo apt-get -y install pyecm
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install pyecm.
sudo apt -y install pyecm
Or if you have aptitude installed you can use the following command.
sudo aptitude install pyecm
Summary
In this tutorial we learn how to fix pyecm command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.