How To Install morphio on Fedora 34

morphio is A python and C++ library for reading and writing neuronal morphologies

Introduction

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

What is morphio

MorphIO is a library for reading and writing neuron morphology files. It supports the following formats - SWC - ASC (aka. neurolucida) - H5 v1 - H5 v2 is not supported anymore It provides 3 C++ classes that are the starting point of every morphology analysis - Soma - Section the bare minimum the Section object will contain the section type, the position and diameter of each point. - Morphology loaded cell but also provides accessors to the different sections. One important concept is that MorphIO is split into a read-only part and a read/write one.

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

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

sudo dnf -y install morphio

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

sudo yum -y install morphio

How To Uninstall morphio on Fedora 34

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

sudo dnf remove morphio

morphio Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/82
/usr/lib/.build-id/82/e93277e3197575398be4be269f3b2b877f860f
/usr/lib64/libmorphio.so.0.0.0
/usr/share/doc/morphio
/usr/share/doc/morphio/CHANGLOG.md
/usr/share/doc/morphio/CONTRIBUTING.md
/usr/share/doc/morphio/README.rst
/usr/share/licenses/morphio
/usr/share/licenses/morphio/COPYING
/usr/share/licenses/morphio/COPYING.LESSER

References

Summary

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