ncdump command not found

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

Introduction

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

ncdump: command not found

or when using sudo you get the following error message

sudo: ncdump: command not found

Solutions to ncdump: command not found

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

In Ubuntu ncdump is provided by netcdf-bin package.

netcdf-bin is:

Contains the programs ncdump and ncgen which convert NetCDF files to ASCII and back, respectively. NetCDF (network Common Data Form) is an interface for scientific data access and a freely-distributed software library that provides an implementation of the interface. The netCDF library also defines a machine-independent format for representing scientific data. Together, the interface, library, and format support the creation, access, and sharing of scientific data.

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

sudo apt-get -y install netcdf-bin

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

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

sudo apt -y install netcdf-bin

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

sudo aptitude install netcdf-bin

Summary

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