gf_poly command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
gf_poly: command not found
or when using sudo you get the following error message
sudo: gf_poly: command not found
Solutions to gf_poly: command not found
How To Fix gf_poly: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu gf_poly is provided by gf-complete-tools package.
gf-complete-tools is:
Galois Field arithmetic forms the backbone of erasure-coded storage systems, most famously the Reed-Solomon erasure code. A Galois Field is defined over w-bit words and is termed GF(2^w). As such, the elements of a Galois Field are the integers 0, 1, . . ., 2^w − 1. Galois Field arithmetic defines addition and multiplication over these closed sets of integers in such a way that they work as you would hope they would work. Specifically, every number has a unique multiplicative inverse. Moreover, there is a value, typically the value 2, which has the property that you can enumerate all of the non-zero elements of the field by taking that value to successively higher powers.
This package contains miscellaneous tools for working with gf-complete.
To fix this problem, we can install more using the command below.
sudo apt-get -y install gf-complete-tools
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install gf-complete-tools.
sudo apt -y install gf-complete-tools
Or if you have aptitude installed you can use the following command.
sudo aptitude install gf-complete-tools
Summary
In this tutorial we learn how to fix gf_poly command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.