How To Install rubygem-nifti on Fedora 36

In this tutorial we learn how to install rubygem-nifti in Fedora 36. rubygem-nifti is A pure Ruby API to the NIfTI Neuroimaging Format

Introduction

In this tutorial we learn how to install rubygem-nifti on Fedora 36.

What is rubygem-nifti

Ruby NIfTI is a pure-ruby library for handling NIfTI data in Ruby. NIfTI (Neuroimaging Informatics Technology Initiative) is an image format designed primarily for the storage and analysis of MRI & PET imaging data.

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

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

sudo dnf -y install rubygem-nifti

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

sudo yum -y install rubygem-nifti

How To Uninstall rubygem-nifti on Fedora 36

To uninstall only the rubygem-nifti package we can use the following command:

sudo dnf remove rubygem-nifti

rubygem-nifti Package Contents on Fedora 36

/usr/share/gems/gems/nifti-0.0.2
/usr/share/gems/gems/nifti-0.0.2/CHANGELOG
/usr/share/gems/gems/nifti-0.0.2/LICENSE
/usr/share/gems/gems/nifti-0.0.2/README.markdown
/usr/share/gems/gems/nifti-0.0.2/features
/usr/share/gems/gems/nifti-0.0.2/features/n_image.feature
/usr/share/gems/gems/nifti-0.0.2/features/step_definitions
/usr/share/gems/gems/nifti-0.0.2/features/step_definitions/n_image_steps.rb
/usr/share/gems/gems/nifti-0.0.2/features/support
/usr/share/gems/gems/nifti-0.0.2/features/support/env.rb
/usr/share/gems/gems/nifti-0.0.2/features/support/fixtures
/usr/share/gems/gems/nifti-0.0.2/features/support/fixtures/brain_dti.nii.gz
/usr/share/gems/gems/nifti-0.0.2/features/support/hooks.rb
/usr/share/gems/gems/nifti-0.0.2/lib
/usr/share/gems/gems/nifti-0.0.2/lib/nifti
/usr/share/gems/gems/nifti-0.0.2/lib/nifti.rb
/usr/share/gems/gems/nifti-0.0.2/lib/nifti/constants.rb
/usr/share/gems/gems/nifti-0.0.2/lib/nifti/n_image.rb
/usr/share/gems/gems/nifti-0.0.2/lib/nifti/n_object.rb
/usr/share/gems/gems/nifti-0.0.2/lib/nifti/n_read.rb
/usr/share/gems/gems/nifti-0.0.2/lib/nifti/n_write.rb
/usr/share/gems/gems/nifti-0.0.2/lib/nifti/stream.rb
/usr/share/gems/gems/nifti-0.0.2/lib/nifti/version.rb
/usr/share/gems/specifications/nifti-0.0.2.gemspec

References

Summary

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