How To Install netcdf-openmpi on Rocky Linux 8

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

Introduction

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

What is netcdf-openmpi

NetCDF parallel openmpi libraries

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

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

sudo dnf -y install netcdf-openmpi

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

sudo yum -y install netcdf-openmpi

How To Uninstall netcdf-openmpi on Rocky Linux 8

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

sudo dnf remove netcdf-openmpi

netcdf-openmpi Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/09
/usr/lib/.build-id/09/84d4e0c8ffabd473e118f845e4b9b1d3f826a9
/usr/lib/.build-id/69
/usr/lib/.build-id/69/8b9fa0cff0a4fd6bad66fd91ac9cdeca13d331
/usr/lib/.build-id/80
/usr/lib/.build-id/80/d66abc5872771861b7b595090ab416227efa1d
/usr/lib/.build-id/e2
/usr/lib/.build-id/e2/e3fb63f64b35d2dacd118b49409a7f85d0b51a
/usr/lib/.build-id/ed
/usr/lib/.build-id/ed/c5245bfb90532792a5b3ae66622f438eaf8c54
/usr/lib64/openmpi/bin/nccopy
/usr/lib64/openmpi/bin/ncdump
/usr/lib64/openmpi/bin/ncgen
/usr/lib64/openmpi/bin/ncgen3
/usr/lib64/openmpi/lib/libnetcdf.so.15
/usr/lib64/openmpi/lib/libnetcdf.so.15.0.1
/usr/lib64/openmpi/share/man/man1/nccopy.1
/usr/lib64/openmpi/share/man/man1/ncdump.1
/usr/lib64/openmpi/share/man/man1/ncgen.1
/usr/lib64/openmpi/share/man/man1/ncgen3.1
/usr/share/doc/netcdf-openmpi
/usr/share/doc/netcdf-openmpi/README.md
/usr/share/doc/netcdf-openmpi/RELEASE_NOTES.md
/usr/share/licenses/netcdf-openmpi
/usr/share/licenses/netcdf-openmpi/COPYRIGHT

References

Summary

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