How To Install netcdf-fortran-devel on Fedora 36

In this tutorial we learn how to install netcdf-fortran-devel in Fedora 36. netcdf-fortran-devel is Development files for Fortran NetCDF API

Introduction

In this tutorial we learn how to install netcdf-fortran-devel on Fedora 36.

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 Fedora 36. 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 Fedora 36 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 Fedora 36 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 Fedora 36

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 Fedora 36

---
title: "How To Install netcdf-fortran-devel on Fedora 36"
linkTitle: "netcdf-fortran-devel"
type: "docs"
description: "In this tutorial we learn how to install netcdf-fortran-devel in Fedora 36. netcdf-fortran-devel is Development files for Fortran NetCDF API"
date: "2022-08-17"
lastmod: "2022-08-17"
#image: /images/fedora/36/netcdf-fortran-devel-featured.png
---

## Introduction

In this tutorial we learn how to install `netcdf-fortran-devel` on Fedora 36.

### 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 Fedora 36. 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 Fedora 36 Using dnf

Update yum database with `dnf` using the following command.

```bash
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 Fedora 36 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 Fedora 36

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 Fedora 36

/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_f03.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.settings
/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 Fedora 36 using yum and [dnf]((/fedora/36/dnf/).

/usr/bin/nf-config /usr/include/netcdf.inc /usr/lib/gfortran/modules/netcdf.mod /usr/lib/gfortran/modules/netcdf4_f03.mod /usr/lib/gfortran/modules/netcdf4_nc_interfaces.mod /usr/lib/gfortran/modules/netcdf4_nf_interfaces.mod /usr/lib/gfortran/modules/netcdf_f03.mod /usr/lib/gfortran/modules/netcdf_fortv2_c_interfaces.mod /usr/lib/gfortran/modules/netcdf_nc_data.mod /usr/lib/gfortran/modules/netcdf_nc_interfaces.mod /usr/lib/gfortran/modules/netcdf_nf_data.mod /usr/lib/gfortran/modules/netcdf_nf_interfaces.mod /usr/lib/gfortran/modules/typesizes.mod /usr/lib/libnetcdff.settings /usr/lib/libnetcdff.so /usr/lib/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

* [netcdf-fortran-devel website](http://www.unidata.ucar.edu/software/netcdf/)

## Summary

In this tutorial we learn how to install `netcdf-fortran-devel` on [Fedora 36](/fedora/36/) using [yum](/fedora/36/yum/) and [dnf]((/fedora/36/dnf/).