How To Install nifticlib on Fedora 34

nifticlib is A set of i/o libraries for reading and writing files in the nifti-1 data format A set of i/o libraries for reading and writing files in the nifti-1 data format

Introduction

In this tutorial we learn how to install nifticlib on Fedora 34.

What is nifticlib

Nifticlib is a set of C i/o libraries for reading and writing files in the nifti-1 data format. nifti-1 is a binary file format for storing medical image data, e.g. magnetic resonance image (MRI) and functional MRI (fMRI) brain images. nifticlib 2.0.0 25.fc34 x86_64 161 k nifticlib-2.0.0-25.fc34.src.rpm fedora A set of i/o libraries for reading and writing files in the nifti-1 data format http Public Domain Nifticlib is a set of C i/o libraries for reading and writing files in the nifti-1 data format. nifti-1 is a binary file format for storing medical image data, e.g. magnetic resonance image (MRI) and functional MRI (fMRI) brain images.

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

Install nifticlib on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install nifticlib using dnf by running the following command:

sudo dnf -y install nifticlib

Install nifticlib on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install nifticlib using yum by running the following command:

sudo yum -y install nifticlib

How To Uninstall nifticlib on Fedora 34

To uninstall only the nifticlib package we can use the following command:

sudo dnf remove nifticlib

nifticlib Package Contents on Fedora 34

/usr/bin/nifti1_test
/usr/bin/nifti_stats
/usr/bin/nifti_tool
/usr/lib/.build-id
/usr/lib/.build-id/1d
/usr/lib/.build-id/1d/43029fe5066964a18c1b47e19d3da89277e2f1
/usr/lib/.build-id/51
/usr/lib/.build-id/51/55a5f2ac77d07da5764523b0b75b1720dc0be9
/usr/lib/.build-id/5e
/usr/lib/.build-id/5e/e18756e7776fadc3ab1d95203c45c383c91cd4
/usr/lib/.build-id/68
/usr/lib/.build-id/68/e5e4f3bf4373d5ef6f28c6fa24fe23f17fd00a
/usr/lib/.build-id/72
/usr/lib/.build-id/72/f1e78c0e6100a6753fa89b2f9be307ad1ebbe5
/usr/lib/.build-id/d5
/usr/lib/.build-id/d5/787333ba432a79f656f64dac97e87ba8115f52
/usr/lib64/libnifticdf.so.2
/usr/lib64/libnifticdf.so.2.0.0
/usr/lib64/libniftiio.so.2
/usr/lib64/libniftiio.so.2.0.0
/usr/lib64/libznz.so.2
/usr/lib64/libznz.so.2.0.0
/usr/share/doc/nifticlib
/usr/share/doc/nifticlib/README
/usr/share/doc/nifticlib/Updates.txt
/usr/share/licenses/nifticlib
/usr/share/licenses/nifticlib/LICENSE
/usr/bin/nifti1_test
/usr/bin/nifti_stats
/usr/bin/nifti_tool
/usr/lib/.build-id
/usr/lib/.build-id/40
/usr/lib/.build-id/40/eb735d55a9ecc9af1e8d9d9100d4525164c3d1
/usr/lib/.build-id/87
/usr/lib/.build-id/87/78d149a940ae5d4ef20f8fe64e8589c1017ced
/usr/lib/.build-id/8a
/usr/lib/.build-id/8a/ccde355a359f91d1ce0583e537caab4b29e256
/usr/lib/.build-id/cf
/usr/lib/.build-id/cf/640d288d33a9bcc2aee7b106959d0b12240a60
/usr/lib/.build-id/ee
/usr/lib/.build-id/ee/80338fb2414df8360acb7ccf222fa9cceec297
/usr/lib/.build-id/f1
/usr/lib/.build-id/f1/592c41002e211eec80b986ff23ee4b3e272b13
/usr/lib/libnifticdf.so.2
/usr/lib/libnifticdf.so.2.0.0
/usr/lib/libniftiio.so.2
/usr/lib/libniftiio.so.2.0.0
/usr/lib/libznz.so.2
/usr/lib/libznz.so.2.0.0
/usr/share/doc/nifticlib
/usr/share/doc/nifticlib/README
/usr/share/doc/nifticlib/Updates.txt
/usr/share/licenses/nifticlib
/usr/share/licenses/nifticlib/LICENSE

References

Summary

In this tutorial we learn how to install nifticlib on Fedora 34 using yum and dnf.