How To Install gnucap on Fedora 36

In this tutorial we learn how to install gnucap in Fedora 36. gnucap is The Gnu Circuit Analysis Package

Introduction

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

What is gnucap

The primary component is a general purpose circuit simulator. It performs nonlinear dc and transient analyses, fourier analysis, and ac analysis. Spice compatible models for the MOSFET (level 1-7), BJT, and diode are included in this release. Gnucap is not based on Spice, but some of the models have been derived from the Berkeley models. Unlike Spice, the engine is designed to do true mixed-mode simulation. Most of the code is in place for future support of event driven analog simulation, and true multi-rate simulation.

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

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

sudo dnf -y install gnucap

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

sudo yum -y install gnucap

How To Uninstall gnucap on Fedora 36

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

sudo dnf remove gnucap

gnucap Package Contents on Fedora 36

/usr/bin/gnucap
/usr/bin/gnucap-modelgen
/usr/lib/.build-id
/usr/lib/.build-id/41
/usr/lib/.build-id/41/2dfe42fe30595a0d90221868abc8684ebdfc15
/usr/lib/.build-id/6c
/usr/lib/.build-id/6c/1e412784bcdc5b1629be09556b9326e535fdd6
/usr/share/doc/gnucap
/usr/share/doc/gnucap/examples
/usr/share/doc/gnucap/examples/README
/usr/share/doc/gnucap/examples/eq.doc
/usr/share/doc/gnucap/examples/eq2-145.ckt
/usr/share/doc/gnucap/examples/eq2-289.ckt
/usr/share/doc/gnucap/examples/eq2-577.ckt
/usr/share/doc/gnucap/examples/eq3-1153.ckt
/usr/share/doc/gnucap/examples/eq4-2305.ckt
/usr/share/doc/gnucap/examples/eq4-4609.ckt
/usr/share/doc/gnucap/examples/eq4-6913.ckt
/usr/share/doc/gnucap/examples/eq4-9217.ckt
/usr/share/doc/gnucap/examples/eq4-9217.tran-slow.ckt
/usr/share/doc/gnucap/examples/eq4-9217.tran.ckt
/usr/share/doc/gnucap/examples/eq5-.ac.ckt
/usr/share/doc/gnucap/examples/eq5-.tran.ckt
/usr/share/doc/gnucap/examples/eq5-.tran.euler.fast.ckt
/usr/share/doc/gnucap/examples/eq5-.tran.fast.ckt
/usr/share/doc/gnucap/examples/eq5-.tran.like-spice.ckt
/usr/share/doc/gnucap/examples/eq5-.tran.slow.ckt
/usr/share/doc/gnucap/examples/eq5-.tran.vfast.ckt
/usr/share/doc/gnucap/examples/eq5-.tran.vvfast.ckt
/usr/share/doc/gnucap/examples/eq5-.tran.vvvfast.ckt
/usr/share/doc/gnucap/examples/eqboost.ckt
/usr/share/doc/gnucap/examples/eqflat.ckt
/usr/share/doc/gnucap/examples/eqmodify.ckt
/usr/share/doc/gnucap/examples/killzap.ckt
/usr/share/doc/gnucap/examples/killzap.doc
/usr/share/doc/gnucap/examples/nmos.doc
/usr/share/doc/gnucap/examples/nmos100.ckt
/usr/share/doc/gnucap/examples/nmos15.ckt
/usr/share/doc/gnucap/examples/nmos18.ckt
/usr/share/doc/gnucap/examples/nmos30.ckt
/usr/share/doc/gnucap/examples/nmosgen.c
/usr/share/doc/gnucap/examples/nmp100.ckt
/usr/share/doc/gnucap/examples/nmpgen.c
/usr/share/doc/gnucap/examples/opamp-ol.ckt
/usr/share/doc/gnucap/examples/opamp-vf.ckt
/usr/share/doc/gnucap/examples/opamp.doc
/usr/share/doc/gnucap/examples/runall
/usr/share/doc/gnucap/examples/runall.out
/usr/share/doc/gnucap/examples/sc18.ckt
/usr/share/doc/gnucap/gnucap-man.pdf
/usr/share/doc/gnucap/gnucap-tutorial
/usr/share/doc/gnucap/history
/usr/share/doc/gnucap/relnotes.029
/usr/share/doc/gnucap/relnotes.030
/usr/share/doc/gnucap/relnotes.031
/usr/share/doc/gnucap/relnotes.032
/usr/share/doc/gnucap/relnotes.033
/usr/share/doc/gnucap/relnotes.034
/usr/share/doc/gnucap/relnotes.035
/usr/share/doc/gnucap/whatisit
/usr/share/licenses/gnucap
/usr/share/licenses/gnucap/COPYING
/usr/share/man/man1/gnucap.1.gz

References

Summary

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