How To Install netcdf-mpich-devel on Rocky Linux 8

In this tutorial we learn how to install netcdf-mpich-devel on Rocky Linux 8. netcdf-mpich-devel is NetCDF mpich development files

Introduction

In this tutorial we learn how to install netcdf-mpich-devel on Rocky Linux 8.

What is netcdf-mpich-devel

NetCDF parallel mpich development files

We can use yum or dnf to install netcdf-mpich-devel on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install netcdf-mpich-devel.

Install netcdf-mpich-devel on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install netcdf-mpich-devel using dnf by running the following command:

sudo dnf -y install netcdf-mpich-devel

Install netcdf-mpich-devel on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install netcdf-mpich-devel using yum by running the following command:

sudo yum -y install netcdf-mpich-devel

How To Uninstall netcdf-mpich-devel on Rocky Linux 8

To uninstall only the netcdf-mpich-devel package we can use the following command:

sudo dnf remove netcdf-mpich-devel

netcdf-mpich-devel Package Contents on Rocky Linux 8

/usr/include/mpich-x86_64/netcdf.h
/usr/include/mpich-x86_64/netcdf_aux.h
/usr/include/mpich-x86_64/netcdf_filter.h
/usr/include/mpich-x86_64/netcdf_mem.h
/usr/include/mpich-x86_64/netcdf_meta.h
/usr/include/mpich-x86_64/netcdf_par.h
/usr/lib/.build-id
/usr/lib/.build-id/d3
/usr/lib/.build-id/d3/8de41eff7d09d7b24307f15def4194b73deab4
/usr/lib64/mpich/bin/nc-config
/usr/lib64/mpich/lib/libh5bzip2.so
/usr/lib64/mpich/lib/libnetcdf.settings
/usr/lib64/mpich/lib/libnetcdf.so
/usr/lib64/mpich/lib/pkgconfig/netcdf.pc
/usr/lib64/mpich/share/man/man3/netcdf.3

References

Summary

In this tutorial we learn how to install netcdf-mpich-devel on Rocky Linux 8 using yum and dnf.