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

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

Introduction

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

What is netcdf-fortran-mpich-devel

NetCDF Fortran parallel mpich development files

We can use yum or dnf to install netcdf-fortran-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-fortran-mpich-devel.

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

sudo dnf -y install netcdf-fortran-mpich-devel

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

sudo yum -y install netcdf-fortran-mpich-devel

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

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

sudo dnf remove netcdf-fortran-mpich-devel

netcdf-fortran-mpich-devel Package Contents on Rocky Linux 8

/usr/include/mpich-x86_64/netcdf.inc
/usr/lib64/gfortran/modules/mpich/netcdf.mod
/usr/lib64/gfortran/modules/mpich/netcdf4_f03.mod
/usr/lib64/gfortran/modules/mpich/netcdf4_nc_interfaces.mod
/usr/lib64/gfortran/modules/mpich/netcdf4_nf_interfaces.mod
/usr/lib64/gfortran/modules/mpich/netcdf_fortv2_c_interfaces.mod
/usr/lib64/gfortran/modules/mpich/netcdf_nc_data.mod
/usr/lib64/gfortran/modules/mpich/netcdf_nc_interfaces.mod
/usr/lib64/gfortran/modules/mpich/netcdf_nf_data.mod
/usr/lib64/gfortran/modules/mpich/netcdf_nf_interfaces.mod
/usr/lib64/gfortran/modules/mpich/typesizes.mod
/usr/lib64/mpich/bin/nf-config
/usr/lib64/mpich/lib/libnetcdff.so
/usr/lib64/mpich/lib/pkgconfig/netcdf-fortran.pc
/usr/lib64/mpich/share/man/man3/netcdf_f77.3.gz
/usr/lib64/mpich/share/man/man3/netcdf_fortran.3.gz

References

Summary

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