How To Install octave-netcdf on Fedora 36

In this tutorial we learn how to install octave-netcdf in Fedora 36. octave-netcdf is A MATLAB compatible NetCDF interface for Octave

Introduction

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

What is octave-netcdf

A MATLAB compatible NetCDF interface for Octave.

We can use yum or dnf to install octave-netcdf on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install octave-netcdf.

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

sudo dnf -y install octave-netcdf

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

sudo yum -y install octave-netcdf

How To Uninstall octave-netcdf on Fedora 36

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

sudo dnf remove octave-netcdf

octave-netcdf Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/f9
/usr/lib/.build-id/f9/2b74ef5d6aab9831545f5380bd4a0b55409a09
/usr/lib64/octave/packages/netcdf-1.0.14
/usr/lib64/octave/packages/netcdf-1.0.14/x86_64-redhat-linux-gnu-api-v56
/usr/lib64/octave/packages/netcdf-1.0.14/x86_64-redhat-linux-gnu-api-v56/PKG_ADD
/usr/lib64/octave/packages/netcdf-1.0.14/x86_64-redhat-linux-gnu-api-v56/PKG_DEL
/usr/lib64/octave/packages/netcdf-1.0.14/x86_64-redhat-linux-gnu-api-v56/__netcdf__.oct
/usr/share/metainfo/octave-netcdf.metainfo.xml
/usr/share/octave/packages/netcdf-1.0.14
/usr/share/octave/packages/netcdf-1.0.14/doc-cache
/usr/share/octave/packages/netcdf-1.0.14/import_netcdf.m
/usr/share/octave/packages/netcdf-1.0.14/nccreate.m
/usr/share/octave/packages/netcdf-1.0.14/ncdisp.m
/usr/share/octave/packages/netcdf-1.0.14/ncinfo.m
/usr/share/octave/packages/netcdf-1.0.14/ncread.m
/usr/share/octave/packages/netcdf-1.0.14/ncreadatt.m
/usr/share/octave/packages/netcdf-1.0.14/ncwrite.m
/usr/share/octave/packages/netcdf-1.0.14/ncwriteatt.m
/usr/share/octave/packages/netcdf-1.0.14/ncwriteschema.m
/usr/share/octave/packages/netcdf-1.0.14/packinfo
/usr/share/octave/packages/netcdf-1.0.14/packinfo/COPYING
/usr/share/octave/packages/netcdf-1.0.14/packinfo/DESCRIPTION
/usr/share/octave/packages/netcdf-1.0.14/packinfo/INDEX
/usr/share/octave/packages/netcdf-1.0.14/packinfo/NEWS
/usr/share/octave/packages/netcdf-1.0.14/packinfo/on_uninstall.m
/usr/share/octave/packages/netcdf-1.0.14/private
/usr/share/octave/packages/netcdf-1.0.14/private/bug_47014.m
/usr/share/octave/packages/netcdf-1.0.14/private/format2mode.m
/usr/share/octave/packages/netcdf-1.0.14/private/nc2octtype.m
/usr/share/octave/packages/netcdf-1.0.14/private/ncloc.m
/usr/share/octave/packages/netcdf-1.0.14/private/ncvarid.m
/usr/share/octave/packages/netcdf-1.0.14/private/oct2nctype.m
/usr/share/octave/packages/netcdf-1.0.14/private/test_netcdf_attributes.m
/usr/share/octave/packages/netcdf-1.0.14/private/test_netcdf_constant.m
/usr/share/octave/packages/netcdf-1.0.14/private/test_netcdf_create.m
/usr/share/octave/packages/netcdf-1.0.14/private/test_netcdf_datatypes.m
/usr/share/octave/packages/netcdf-1.0.14/private/test_netcdf_high_level_interface.m
/usr/share/octave/packages/netcdf-1.0.14/private/test_netcdf_low_level_interface.m
/usr/share/octave/packages/netcdf-1.0.14/private/test_netcdf_ncwriteschema.m
/usr/share/octave/packages/netcdf-1.0.14/private/test_netcdf_ncwriteschema_chunking.m
/usr/share/octave/packages/netcdf-1.0.14/private/test_netcdf_ncwriteschema_group.m
/usr/share/octave/packages/netcdf-1.0.14/private/test_netcdf_ncwriteschema_unlim.m
/usr/share/octave/packages/netcdf-1.0.14/private/test_netcdf_scalar_variable.m
/usr/share/octave/packages/netcdf-1.0.14/private/test_netcdf_type.m
/usr/share/octave/packages/netcdf-1.0.14/private/test_netcdf_unlim.m
/usr/share/octave/packages/netcdf-1.0.14/private/test_scalar_variable.m
/usr/share/octave/packages/netcdf-1.0.14/test_netcdf.m

References

Summary

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