How To Install netcdf-mpich on Rocky Linux 8

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

Introduction

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

What is netcdf-mpich

NetCDF parallel mpich libraries

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

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

sudo dnf -y install netcdf-mpich

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

sudo yum -y install netcdf-mpich

How To Uninstall netcdf-mpich on Rocky Linux 8

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

sudo dnf remove netcdf-mpich

netcdf-mpich Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/67
/usr/lib/.build-id/67/d8e5433182dea5edce385b4284f1befad22f49
/usr/lib/.build-id/78
/usr/lib/.build-id/78/423f92a4a7342cbbd1eeb958466a00b160f018
/usr/lib/.build-id/b8
/usr/lib/.build-id/b8/37494384df6d2cfe830c31e186629d5c02d1e7
/usr/lib/.build-id/e9
/usr/lib/.build-id/e9/9c8fa6d3514ceff5f1447cbb6e1c1d60ac7f6c
/usr/lib/.build-id/ea
/usr/lib/.build-id/ea/adfdbddfdb07f994305c88d60c41b15443b510
/usr/lib64/mpich/bin/nccopy
/usr/lib64/mpich/bin/ncdump
/usr/lib64/mpich/bin/ncgen
/usr/lib64/mpich/bin/ncgen3
/usr/lib64/mpich/lib/libnetcdf.so.15
/usr/lib64/mpich/lib/libnetcdf.so.15.0.1
/usr/lib64/mpich/share/man/man1/nccopy.1
/usr/lib64/mpich/share/man/man1/ncdump.1
/usr/lib64/mpich/share/man/man1/ncgen.1
/usr/lib64/mpich/share/man/man1/ncgen3.1
/usr/share/doc/netcdf-mpich
/usr/share/doc/netcdf-mpich/README.md
/usr/share/doc/netcdf-mpich/RELEASE_NOTES.md
/usr/share/licenses/netcdf-mpich
/usr/share/licenses/netcdf-mpich/COPYRIGHT

References

Summary

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