cgns_unitconv command not found

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

Introduction

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

cgns_unitconv: command not found

or when using sudo you get the following error message

sudo: cgns_unitconv: command not found

Solutions to cgns_unitconv: command not found

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

In Ubuntu cgns_unitconv is provided by cgns-convert package.

cgns-convert is:

The CFD General Notation System (CGNS) provides a general, portable, and extensible standard for the storage and retrieval of computational fluid dynamics (CFD) analysis data. It consists of a collection of conventions, and free and open software implementing those conventions. It is self-descriptive, machine-independent, well-documented, and administered by an international steering committee. It is also an American Institute of Aeronautics and Astronautics (AIAA) Recommended Practice.

This package contains the adf2hdf, hdf2adf tools.

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

sudo apt-get -y install cgns-convert

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

You can also use apt command to install cgns-convert.

sudo apt -y install cgns-convert

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

sudo aptitude install cgns-convert

Summary

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