How To Install octave-jnifti on Fedora 36

In this tutorial we learn how to install octave-jnifti in Fedora 36. octave-jnifti is Fast NIfTI-1/2 reader and NIfTI-to-JNIfTI converter for MATLAB/Octave

Introduction

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

What is octave-jnifti

JNIfTI Toolbox is a fully functional NIfTI-1/2 reader/writer that supports both MATLAB and GNU Octave, and is capable of reading/writing both non-compressed and compressed NIfTI files (.nii, .nii.gz) as well as two-part Analyze7.5/NIfTI files (.hdr/.img and .hdr.gz/.img.gz). More importantly, this is a toolbox that converts NIfTI data to its JSON-based replacement, JNIfTI (.jnii for text-based and .bnii for binary-based), defined by the JNIfTI specification (http and extensible file format compared to the more rigid and opaque NIfTI format, making the data much easier to manipulate and share.

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

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

sudo dnf -y install octave-jnifti

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

sudo yum -y install octave-jnifti

How To Uninstall octave-jnifti on Fedora 36

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

sudo dnf remove octave-jnifti

octave-jnifti Package Contents on Fedora 36

/usr/share/doc/octave-jnifti
/usr/share/doc/octave-jnifti/README.md
/usr/share/licenses/octave-jnifti
/usr/share/licenses/octave-jnifti/LICENSE_Apache-2.0.txt
/usr/share/licenses/octave-jnifti/LICENSE_GPLv3.txt
/usr/share/octave/packages/jnifti-0.5
/usr/share/octave/packages/jnifti-0.5/doc-cache
/usr/share/octave/packages/jnifti-0.5/jnifticreate.m
/usr/share/octave/packages/jnifti-0.5/loadjnifti.m
/usr/share/octave/packages/jnifti-0.5/loadnifti.m
/usr/share/octave/packages/jnifti-0.5/memmapstream.m
/usr/share/octave/packages/jnifti-0.5/nifticreate.m
/usr/share/octave/packages/jnifti-0.5/niftiinfo.m
/usr/share/octave/packages/jnifti-0.5/niftiread.m
/usr/share/octave/packages/jnifti-0.5/niftiwrite.m
/usr/share/octave/packages/jnifti-0.5/nii2jnii.m
/usr/share/octave/packages/jnifti-0.5/niicodemap.m
/usr/share/octave/packages/jnifti-0.5/niiformat.m
/usr/share/octave/packages/jnifti-0.5/packinfo
/usr/share/octave/packages/jnifti-0.5/packinfo/COPYING
/usr/share/octave/packages/jnifti-0.5/packinfo/DESCRIPTION
/usr/share/octave/packages/jnifti-0.5/packinfo/INDEX
/usr/share/octave/packages/jnifti-0.5/packinfo/on_uninstall.m
/usr/share/octave/packages/jnifti-0.5/savebnii.m
/usr/share/octave/packages/jnifti-0.5/savejnifti.m
/usr/share/octave/packages/jnifti-0.5/savejnii.m
/usr/share/octave/packages/jnifti-0.5/savenifti.m

References

Summary

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