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

In this tutorial we learn how to install netcdf-cxx4-mpich on Rocky Linux 8. netcdf-cxx4-mpich is NetCDF mpich libraries

Introduction

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

What is netcdf-cxx4-mpich

NetCDF parallel mpich libraries

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

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

sudo dnf -y install netcdf-cxx4-mpich

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

sudo yum -y install netcdf-cxx4-mpich

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

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

sudo dnf remove netcdf-cxx4-mpich

netcdf-cxx4-mpich Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/aa
/usr/lib/.build-id/aa/b756badf6e34ddfb5f9ec9cbeb6dda2bccfb69
/usr/lib64/mpich/lib/libnetcdf_c++4.so.1
/usr/lib64/mpich/lib/libnetcdf_c++4.so.1.0.3
/usr/share/doc/netcdf-cxx4-mpich
/usr/share/doc/netcdf-cxx4-mpich/COPYRIGHT

References

Summary

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