ncrystal_example_customphysics command not found

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

Introduction

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

ncrystal_example_customphysics: command not found

or when using sudo you get the following error message

sudo: ncrystal_example_customphysics: command not found

Solutions to ncrystal_example_customphysics: command not found

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

In Ubuntu ncrystal_example_customphysics is provided by libncrystal-bin package.

libncrystal-bin is:

This is a source distribution of NCrystal, a library and associated tools which enables calculations for Monte Carlo simulations of thermal neutrons in crystals.

This package contains the command-line utilities.

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

sudo apt-get -y install libncrystal-bin

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

You can also use apt command to install libncrystal-bin.

sudo apt -y install libncrystal-bin

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

sudo aptitude install libncrystal-bin

Summary

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