How To Install netcdf on Rocky Linux 8
Introduction
In this tutorial we learn how to install netcdf
on Rocky Linux 8.
What is netcdf
NetCDF (network Common Data Form) is an interface for array-oriented data access and a freely-distributed collection of software libraries for C, Fortran, C++, and perl that provides an implementation of the interface. The NetCDF library also defines a machine-independent format for representing scientific data. Together, the interface, library, and format support the creation, access, and sharing of scientific data. The NetCDF software was developed at the Unidata Program Center in Boulder, Colorado. NetCDF data is o Self-Describing data it contains. o Network-transparent can be accessed by computers with different ways of storing integers, characters, and floating-point numbers. o Direct-access efficiently, without first reading through all the preceding data. o Appendable dimension without copying the dataset or redefining its structure. The structure of a NetCDF dataset can be changed, though this sometimes causes the dataset to be copied. o Sharable access the same NetCDF file.
We can use yum
or dnf
to install netcdf
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install netcdf.
Install netcdf 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
using dnf
by running the following command:
sudo dnf -y install netcdf
Install netcdf 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
using yum
by running the following command:
sudo yum -y install netcdf
How To Uninstall netcdf on Rocky Linux 8
To uninstall only the netcdf
package we can use the following command:
sudo dnf remove netcdf
netcdf Package Contents on Rocky Linux 8
/usr/bin/nccopy
/usr/bin/ncdump
/usr/bin/ncgen
/usr/bin/ncgen3
/usr/lib/.build-id
/usr/lib/.build-id/2e
/usr/lib/.build-id/2e/8ef953f199e68e07b50e03a69834b0b01543c7
/usr/lib/.build-id/86
/usr/lib/.build-id/86/e0ebdc4cab3d3926fda19c880504175bdcc256
/usr/lib/.build-id/ce
/usr/lib/.build-id/ce/96a04c7de05a5f77f45c5ed0541af1bd271525
/usr/lib/.build-id/db
/usr/lib/.build-id/db/61853a77b2923e6b4e18ce9212a1914e2af1f6
/usr/lib/.build-id/f0
/usr/lib/.build-id/f0/f0f320568271c409a4173e30672a99397ef611
/usr/lib64/libnetcdf.so.15
/usr/lib64/libnetcdf.so.15.0.1
/usr/share/doc/netcdf
/usr/share/doc/netcdf/README.md
/usr/share/doc/netcdf/RELEASE_NOTES.md
/usr/share/licenses/netcdf
/usr/share/licenses/netcdf/COPYRIGHT
/usr/share/man/man1/nccopy.1.gz
/usr/share/man/man1/ncdump.1.gz
/usr/share/man/man1/ncgen.1.gz
/usr/share/man/man1/ncgen3.1.gz
References
Summary
In this tutorial we learn how to install netcdf
on Rocky Linux 8 using yum and dnf.