polyimport command not found

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

Introduction

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

polyimport: command not found

or when using sudo you get the following error message

sudo: polyimport: command not found

Solutions to polyimport: command not found

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

In Ubuntu polyimport is provided by polyml package.

polyml is:

Poly/ML is an implementation of the Standard ML programming language Standard ML is a general-purpose, modular, type-safe, strict, functional programming language. Poly/ML is SML 97 compliant interpreter and compiler that supports the generation of stand-alone executables with an interactive toplevel (REPL).

This package provides the top-level interpreter and compiler.

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

sudo apt-get -y install polyml

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

You can also use apt command to install polyml.

sudo apt -y install polyml

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

sudo aptitude install polyml

Summary

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