grib_list command not found

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

Introduction

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

grib_list: command not found

or when using sudo you get the following error message

sudo: grib_list: command not found

Solutions to grib_list: command not found

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

In Ubuntu grib_list is provided by python3-grib package.

python3-grib is:

Python 3 module for reading and writing GRIB (editions 1 and 2) files. GRIB is the World Meterological Organization standard for distributing gridded data. The module is a Python 3 interface to the GRIB API C library from the European Centre for Medium-Range Weather Forecasts (ECMWF).

This package also contains the cnvgrib1to2, grib_list, grib_repack, and cnvgrib2to1 scripts.

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

sudo apt-get -y install python3-grib

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

You can also use apt command to install python3-grib.

sudo apt -y install python3-grib

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

sudo aptitude install python3-grib

Summary

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