poly.x command not found
In this troubleshooting guide we learn how to fix poly.x command not found error message
Introduction
When you run more command in linux terminal / console, you get the following error message
poly.x: command not found
or when using sudo you get the following error message
sudo: poly.x: command not found
Solutions to poly.x: command not found
How To Fix poly.x: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu poly.x is provided by palp package.
palp is:
This package contains various tools to work with lattice polytopes:
- mori.x computes star triangulations of a polytope
- cws.x creates weight systems and combined weight systems
- class.x classifies reflexive polytopes
- poly.x computes data of a polytope
- nef.x computes Hodge numbers of nef-partitions
To fix this problem, we can install more using the command below.
sudo apt-get -y install palp
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install palp.
sudo apt -y install palp
Or if you have aptitude installed you can use the following command.
sudo aptitude install palp
Summary
In this tutorial we learn how to fix poly.x command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.