How To Install nco on CentOS 7

In this tutorial we learn how to install nco on CentOS 7. nco is Suite of programs for manipulating NetCDF/HDF4 files

Introduction

In this tutorial we learn how to install nco on CentOS 7.

What is nco

The netCDF Operators, NCO, are a suite of command line programs known as operators. The operators facilitate manipulation and analysis of self-describing data stored in the freely available netCDF and HDF formats (http http ncks) takes netCDF or HDF input file(s), performs an operation (e.g., averaging, hyperslabbing, or renaming), and outputs a processed netCDF file. Although most users of netCDF and HDF data are involved in scientific research, these data formats, and thus NCO, are generic and are equally useful in fields from agriculture to zoology. The NCO User’s Guide illustrates NCO use with examples from the field of climate modeling and analysis. The NCO homepage is http

We can use yum or dnf to install nco on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install nco.

Install nco on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install nco using yum by running the following command:

sudo yum -y install nco

Install nco on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install nco using dnf by running the following command:

sudo dnf -y install nco

How To Uninstall nco on CentOS 7

To uninstall only the nco package we can use the following command:

sudo dnf remove nco

References

Summary

In this tutorial we learn how to install nco on CentOS 7 using yum and dnf.