nd_rebuildarchive command not found

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

Introduction

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

nd_rebuildarchive: command not found

or when using sudo you get the following error message

sudo: nd_rebuildarchive: command not found

Solutions to nd_rebuildarchive: command not found

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

In Ubuntu nd_rebuildarchive is provided by neurodebian-dev package.

neurodebian-dev 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 package provides sources and development tools used by NeuroDebian to provide backports for a range of Debian/Ubuntu releases.

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

sudo apt-get -y install neurodebian-dev

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

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

sudo apt -y install neurodebian-dev

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

sudo aptitude install neurodebian-dev

Summary

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