How To Install netcdf-cxx4-openmpi-devel on Rocky Linux 8

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

Introduction

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

What is netcdf-cxx4-openmpi-devel

NetCDF parallel openmpi development files

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

Install netcdf-cxx4-openmpi-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-cxx4-openmpi-devel using dnf by running the following command:

sudo dnf -y install netcdf-cxx4-openmpi-devel

Install netcdf-cxx4-openmpi-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-cxx4-openmpi-devel using yum by running the following command:

sudo yum -y install netcdf-cxx4-openmpi-devel

How To Uninstall netcdf-cxx4-openmpi-devel on Rocky Linux 8

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

sudo dnf remove netcdf-cxx4-openmpi-devel

netcdf-cxx4-openmpi-devel Package Contents on Rocky Linux 8

/usr/include/openmpi-x86_64/ncAtt.h
/usr/include/openmpi-x86_64/ncByte.h
/usr/include/openmpi-x86_64/ncChar.h
/usr/include/openmpi-x86_64/ncCheck.h
/usr/include/openmpi-x86_64/ncCompoundType.h
/usr/include/openmpi-x86_64/ncDim.h
/usr/include/openmpi-x86_64/ncDouble.h
/usr/include/openmpi-x86_64/ncEnumType.h
/usr/include/openmpi-x86_64/ncException.h
/usr/include/openmpi-x86_64/ncFile.h
/usr/include/openmpi-x86_64/ncFloat.h
/usr/include/openmpi-x86_64/ncGroup.h
/usr/include/openmpi-x86_64/ncGroupAtt.h
/usr/include/openmpi-x86_64/ncInt.h
/usr/include/openmpi-x86_64/ncInt64.h
/usr/include/openmpi-x86_64/ncOpaqueType.h
/usr/include/openmpi-x86_64/ncShort.h
/usr/include/openmpi-x86_64/ncString.h
/usr/include/openmpi-x86_64/ncType.h
/usr/include/openmpi-x86_64/ncUbyte.h
/usr/include/openmpi-x86_64/ncUint.h
/usr/include/openmpi-x86_64/ncUint64.h
/usr/include/openmpi-x86_64/ncUshort.h
/usr/include/openmpi-x86_64/ncVar.h
/usr/include/openmpi-x86_64/ncVarAtt.h
/usr/include/openmpi-x86_64/ncVlenType.h
/usr/include/openmpi-x86_64/netcdf
/usr/lib64/openmpi/bin/ncxx4-config
/usr/lib64/openmpi/lib/libnetcdf_c++4.so
/usr/lib64/openmpi/lib/pkgconfig/netcdf-cxx4.pc

References

Summary

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