ncmpidump command not found

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

Introduction

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

ncmpidump: command not found

or when using sudo you get the following error message

sudo: ncmpidump: command not found

Solutions to ncmpidump: command not found

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

In Ubuntu ncmpidump is provided by pnetcdf-bin package.

pnetcdf-bin is:

Contains tools for working on netCDF files in parallel.

PnetCDF provides high-performance parallel I/O while still maintaining file-format compatibility with Unidata’s NetCDF, specifically the formats of CDF-1 and CDF-2.

In addition, PnetCDF supports the CDF-5 file format, an extension of CDF-2, that supports more data types and allows users to define large dimensions, attributes, and variables (>2B elements).

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

sudo apt-get -y install pnetcdf-bin

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

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

sudo apt -y install pnetcdf-bin

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

sudo aptitude install pnetcdf-bin

Summary

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