planarity command not found

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

Introduction

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

planarity: command not found

or when using sudo you get the following error message

sudo: planarity: command not found

Solutions to planarity: command not found

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

In Ubuntu planarity is provided by planarity package.

planarity is:

This package contains a command-line reference implementation of the Edge Addition Planarity Algorithm, which is the best linear-time method to embed a planar graph and isolate planarity obstructions.

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

sudo apt-get -y install planarity

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

You can also use apt command to install planarity.

sudo apt -y install planarity

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

sudo aptitude install planarity

Summary

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