nrngui command not found

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

Introduction

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

nrngui: command not found

or when using sudo you get the following error message

sudo: nrngui: command not found

Solutions to nrngui: command not found

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

In Ubuntu nrngui is provided by neuron package.

neuron is:

NEURON is a simulation environment for modeling individual neurons and networks of neurons. It provides tools for conveniently building, managing, and using models in a way that is numerically sound and computationally efficient. It is particularly well-suited to problems that are closely linked to experimental data, especially those that involve cells with complex anatomical and biophysical properties.

NEURON offers

  • “natural syntax”, which allows one to specify model properties in familiar idioms
  • efficient and painless spatial and temporal discretization
  • several different, user-selectable numerical integration methods
  • convenient user interface (interpreters + GUI)
  • user-extendable library of biophysical mechanisms

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

sudo apt-get -y install neuron

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

You can also use apt command to install neuron.

sudo apt -y install neuron

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

sudo aptitude install neuron

Summary

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