cdfconvert command not found

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

Introduction

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

cdfconvert: command not found

or when using sudo you get the following error message

sudo: cdfconvert: command not found

Solutions to cdfconvert: command not found

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

In Ubuntu cdfconvert is provided by cdftools package.

cdftools is:

CDFTOOLS is a diagnostic package written in fortran 90 for the analysis of NEMO model output in the frame of the DRAKKAR project. NEMO (Nucleus for European Modelling of the Ocean) is a state-of-the-art modeling framework for oceanographic research, operational oceanography seasonal forecast and climate studies.

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

sudo apt-get -y install cdftools

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

You can also use apt command to install cdftools.

sudo apt -y install cdftools

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

sudo aptitude install cdftools

Summary

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