pykig.py command not found

In this troubleshooting guide we learn how to fix pykig.py command not found error message

Introduction

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

pykig.py: command not found

or when using sudo you get the following error message

sudo: pykig.py: command not found

Solutions to pykig.py: command not found

How To Fix pykig.py: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu pykig.py is provided by kig package.

kig is:

Kig is an application for interactive geometric construction, allowing students to draw and explore mathematical figures and concepts using the computer.

Kig supports macros and is scriptable using Python. It can import and export files in various formats, including SVG, Cabri, Dr. Geo, KGeo, KSeg, and XFig.

This package is part of the KDE education module.

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

sudo apt-get -y install kig

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

You can also use apt command to install kig.

sudo apt -y install kig

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

sudo aptitude install kig

Summary

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