How To Install nco on Fedora 34

nco is Suite of programs for manipulating NetCDF/HDF4 files

Introduction

In this tutorial we learn how to install nco on Fedora 34.

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 Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install nco.

Install nco on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo dnf -y install nco

Install nco on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo yum -y install nco

How To Uninstall nco on Fedora 34

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

sudo dnf remove nco

nco Package Contents on Fedora 34

/usr/bin/ncap2
/usr/bin/ncatted
/usr/bin/ncbo
/usr/bin/ncclimo
/usr/bin/ncdiff
/usr/bin/ncea
/usr/bin/ncecat
/usr/bin/nces
/usr/bin/ncflint
/usr/bin/ncks
/usr/bin/ncpdq
/usr/bin/ncra
/usr/bin/ncrcat
/usr/bin/ncremap
/usr/bin/ncrename
/usr/bin/ncwa
/usr/lib/.build-id
/usr/lib/.build-id/1f
/usr/lib/.build-id/1f/ed59b315ae1fd71aee330b023288ad9304d4a6
/usr/lib/.build-id/35
/usr/lib/.build-id/35/700fafbff1b3d8bf91bab9a6054204e3af9072
/usr/lib/.build-id/7e
/usr/lib/.build-id/7e/68d85bb53b31cd1045123e68e484d20c966d7c
/usr/lib/.build-id/8e
/usr/lib/.build-id/8e/0ef8b93c97eec28417b4570995f50fd1b892fe
/usr/lib/.build-id/b2
/usr/lib/.build-id/b2/80dab2d58b8209a9e297ea7d858ccc3eaeef43
/usr/lib/.build-id/bc
/usr/lib/.build-id/bc/408de61a522a3b549b1b0b4561ae379a84e62e
/usr/lib/.build-id/bf
/usr/lib/.build-id/bf/d7c5b18d4cf00ee2e3d4916875760f69290385
/usr/lib/.build-id/c8
/usr/lib/.build-id/c8/da3d78fb8d8d716ebd87e935d11eb96e2883d3
/usr/lib/.build-id/df
/usr/lib/.build-id/df/89c44fab591c481bbaa83515cd3d1de7744535
/usr/lib/.build-id/f7
/usr/lib/.build-id/f7/6e1f7a43078ac9799ecc4c79e2aa65fbad7e93
/usr/lib/.build-id/fa
/usr/lib/.build-id/fa/b9c4a593eacf8e3159b9478a211d21bc9f08e2
/usr/lib/.build-id/fe
/usr/lib/.build-id/fe/5fd59e3e436402d3bd3dcee9ae4d47dfb9d3cf
/usr/lib64/libnco-4.9.7.so
/usr/lib64/libnco_c++-4.9.7.so
/usr/share/doc/nco
/usr/share/doc/nco/ChangeLog
/usr/share/doc/nco/README
/usr/share/doc/nco/README.md
/usr/share/doc/nco/TODO
/usr/share/doc/nco/index.shtml
/usr/share/doc/nco/nco.css
/usr/share/doc/nco/nco.html
/usr/share/doc/nco/nco.pdf
/usr/share/doc/nco/nco.png
/usr/share/doc/nco/nco_news.shtml
/usr/share/doc/nco/nsf.png
/usr/share/doc/nco/rtfm.txt
/usr/share/info/nco.info-1.gz
/usr/share/info/nco.info-2.gz
/usr/share/info/nco.info-3.gz
/usr/share/info/nco.info-4.gz
/usr/share/info/nco.info.gz
/usr/share/licenses/nco
/usr/share/licenses/nco/LICENSE
/usr/share/man/man1/ncap2.1.gz
/usr/share/man/man1/ncatted.1.gz
/usr/share/man/man1/ncbo.1.gz
/usr/share/man/man1/ncclimo.1.gz
/usr/share/man/man1/ncecat.1.gz
/usr/share/man/man1/nces.1.gz
/usr/share/man/man1/ncflint.1.gz
/usr/share/man/man1/ncks.1.gz
/usr/share/man/man1/nco.1.gz
/usr/share/man/man1/ncpdq.1.gz
/usr/share/man/man1/ncra.1.gz
/usr/share/man/man1/ncrcat.1.gz
/usr/share/man/man1/ncremap.1.gz
/usr/share/man/man1/ncrename.1.gz
/usr/share/man/man1/ncwa.1.gz

References

Summary

In this tutorial we learn how to install nco on Fedora 34 using yum and dnf.