How To Install netcdf-fortran-devel on Rocky Linux 8
Introduction
In this tutorial we learn how to install netcdf-fortran-devel
on Rocky Linux 8.
What is netcdf-fortran-devel
This package contains the NetCDF Fortran header files, shared devel libraries, and man pages.
We can use yum
or dnf
to install netcdf-fortran-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-devel.
Install netcdf-fortran-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-devel
using dnf
by running the following command:
sudo dnf -y install netcdf-fortran-devel
Install netcdf-fortran-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-devel
using yum
by running the following command:
sudo yum -y install netcdf-fortran-devel
How To Uninstall netcdf-fortran-devel on Rocky Linux 8
To uninstall only the netcdf-fortran-devel
package we can use the following command:
sudo dnf remove netcdf-fortran-devel
netcdf-fortran-devel Package Contents on Rocky Linux 8
/usr/bin/nf-config
/usr/include/netcdf.inc
/usr/lib64/gfortran/modules/netcdf.mod
/usr/lib64/gfortran/modules/netcdf4_f03.mod
/usr/lib64/gfortran/modules/netcdf4_nc_interfaces.mod
/usr/lib64/gfortran/modules/netcdf4_nf_interfaces.mod
/usr/lib64/gfortran/modules/netcdf_fortv2_c_interfaces.mod
/usr/lib64/gfortran/modules/netcdf_nc_data.mod
/usr/lib64/gfortran/modules/netcdf_nc_interfaces.mod
/usr/lib64/gfortran/modules/netcdf_nf_data.mod
/usr/lib64/gfortran/modules/netcdf_nf_interfaces.mod
/usr/lib64/gfortran/modules/typesizes.mod
/usr/lib64/libnetcdff.so
/usr/lib64/pkgconfig/netcdf-fortran.pc
/usr/share/doc/netcdf-fortran-devel
/usr/share/doc/netcdf-fortran-devel/examples
/usr/share/doc/netcdf-fortran-devel/examples/CMakeLists.txt
/usr/share/doc/netcdf-fortran-devel/examples/F77
/usr/share/doc/netcdf-fortran-devel/examples/F77/CMakeLists.txt
/usr/share/doc/netcdf-fortran-devel/examples/F77/Makefile.am
/usr/share/doc/netcdf-fortran-devel/examples/F77/Makefile.in
/usr/share/doc/netcdf-fortran-devel/examples/F77/pres_temp_4D_rd.f
/usr/share/doc/netcdf-fortran-devel/examples/F77/pres_temp_4D_wr.f
/usr/share/doc/netcdf-fortran-devel/examples/F77/run_examples.sh
/usr/share/doc/netcdf-fortran-devel/examples/F77/run_examples_4.sh
/usr/share/doc/netcdf-fortran-devel/examples/F77/sfc_pres_temp_rd.f
/usr/share/doc/netcdf-fortran-devel/examples/F77/sfc_pres_temp_wr.f
/usr/share/doc/netcdf-fortran-devel/examples/F77/simple_xy_nc4_rd.f
/usr/share/doc/netcdf-fortran-devel/examples/F77/simple_xy_nc4_wr.f
/usr/share/doc/netcdf-fortran-devel/examples/F77/simple_xy_rd.f
/usr/share/doc/netcdf-fortran-devel/examples/F77/simple_xy_wr.f
/usr/share/doc/netcdf-fortran-devel/examples/F90
/usr/share/doc/netcdf-fortran-devel/examples/F90/CMakeLists.txt
/usr/share/doc/netcdf-fortran-devel/examples/F90/Makefile.am
/usr/share/doc/netcdf-fortran-devel/examples/F90/Makefile.in
/usr/share/doc/netcdf-fortran-devel/examples/F90/nc4_pres_temp_4D_wr.f90
/usr/share/doc/netcdf-fortran-devel/examples/F90/pres_temp_4D_rd.f90
/usr/share/doc/netcdf-fortran-devel/examples/F90/pres_temp_4D_wr.f90
/usr/share/doc/netcdf-fortran-devel/examples/F90/run_examples.sh
/usr/share/doc/netcdf-fortran-devel/examples/F90/run_examples_4.sh
/usr/share/doc/netcdf-fortran-devel/examples/F90/run_f90_par_examples.sh
/usr/share/doc/netcdf-fortran-devel/examples/F90/sfc_pres_temp_rd.f90
/usr/share/doc/netcdf-fortran-devel/examples/F90/sfc_pres_temp_wr.f90
/usr/share/doc/netcdf-fortran-devel/examples/F90/simple_xy_nc4_rd.f90
/usr/share/doc/netcdf-fortran-devel/examples/F90/simple_xy_nc4_wr.f90
/usr/share/doc/netcdf-fortran-devel/examples/F90/simple_xy_par_rd.f90
/usr/share/doc/netcdf-fortran-devel/examples/F90/simple_xy_par_wr.f90
/usr/share/doc/netcdf-fortran-devel/examples/F90/simple_xy_par_wr2.f90
/usr/share/doc/netcdf-fortran-devel/examples/F90/simple_xy_rd.f90
/usr/share/doc/netcdf-fortran-devel/examples/F90/simple_xy_wr.f90
/usr/share/doc/netcdf-fortran-devel/examples/Makefile.am
/usr/share/doc/netcdf-fortran-devel/examples/Makefile.in
/usr/share/man/man3/netcdf_f77.3.gz
/usr/share/man/man3/netcdf_fortran.3.gz
References
Summary
In this tutorial we learn how to install netcdf-fortran-devel
on Rocky Linux 8 using yum and dnf.