ncargversion command not found

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

Introduction

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

ncargversion: command not found

or when using sudo you get the following error message

sudo: ncargversion: command not found

Solutions to ncargversion: command not found

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

In Ubuntu ncargversion is provided by ncl-ncarg package.

ncl-ncarg is:

The NCAR Command Language (NCL) is a free interpreted language designed specifically for scientific data processing and visualization. NCL has robust file input and output. It can read and write netCDF-3, netCDF-4 classic HDF4, HDF5, binary, and ASCII data, and read HDF-EOS2, GRIB1 and GRIB2. The graphics are world class and highly customizable.

The software comes with a couple of useful command line tools:

  • ncl_filedump - prints the contents of supported files (netCDF, HDF, GRIB1, GRIB2, HDF-EOS2, and CCM History Tape)
  • ncl_convert2nc - converts one or more GRIB1, GRIB2, HDF and/or HDF-EOS iles to netCDF formatted files.

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

sudo apt-get -y install ncl-ncarg

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

You can also use apt command to install ncl-ncarg.

sudo apt -y install ncl-ncarg

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

sudo aptitude install ncl-ncarg

Summary

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