How To Install mod2c on Fedora 36

In this tutorial we learn how to install mod2c in Fedora 36. mod2c is NMODL to C adapted for CoreNEURON simulator

Introduction

In this tutorial we learn how to install mod2c on Fedora 36.

What is mod2c

MOD2C is NMODL to C adapted for CoreNEURON simulator.

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

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

sudo dnf -y install mod2c

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

sudo yum -y install mod2c

How To Uninstall mod2c on Fedora 36

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

sudo dnf remove mod2c

mod2c Package Contents on Fedora 36

/usr/bin/mod2c_core
/usr/lib/.build-id
/usr/lib/.build-id/ef
/usr/lib/.build-id/ef/b5dcf33a5bda2a1b932bef885a04e5e8950f28
/usr/share/doc/mod2c
/usr/share/doc/mod2c/CREDIT.txt
/usr/share/doc/mod2c/README.md
/usr/share/licenses/mod2c
/usr/share/licenses/mod2c/LICENSE.txt
/usr/share/nrnunits.lib

References

Summary

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