ngp2 command not found

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

Introduction

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

ngp2: command not found

or when using sudo you get the following error message

sudo: ngp2: command not found

Solutions to ngp2: command not found

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

In Ubuntu ngp2 is provided by ngraph-gtk package.

ngraph-gtk is:

Ngraph is the program to create scientific 2-dimensional graphs for researchers and engineers. This program can create advanced graphs which can’t be created by spreadsheets. Graphs can be exported to postscript.

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

sudo apt-get -y install ngraph-gtk

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

You can also use apt command to install ngraph-gtk.

sudo apt -y install ngraph-gtk

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

sudo aptitude install ngraph-gtk

Summary

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