nd_freeze command not found

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

Introduction

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

nd_freeze: command not found

or when using sudo you get the following error message

sudo: nd_freeze: command not found

Solutions to nd_freeze: command not found

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

In Ubuntu nd_freeze is provided by neurodebian-freeze package.

neurodebian-freeze is:

The NeuroDebian project integrates and maintains a variety of software projects within Debian that are useful for neuroscience (such as AFNI, FSL, PsychoPy, etc.) or generic computation (such as HTCondor, pandas, etc.).

This minimalistic package provides nd_freeze script to be used in rich or minimalistic environments (such as Docker or Singularity recipes) to freeze their APT sources. Intended to assist making such images reproducible.

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

sudo apt-get -y install neurodebian-freeze

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

You can also use apt command to install neurodebian-freeze.

sudo apt -y install neurodebian-freeze

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

sudo aptitude install neurodebian-freeze

Summary

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