How To Install gnucap on Fedora 34
Introduction
In this tutorial we learn how to install gnucap
on Fedora 34.
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 34. In this tutorial we discuss both methods but you only need to choose one of method to install gnucap.
Install gnucap 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 gnucap
using dnf
by running the following command:
sudo dnf -y install gnucap
Install gnucap 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 gnucap
using yum
by running the following command:
sudo yum -y install gnucap
How To Uninstall gnucap on Fedora 34
To uninstall only the gnucap
package we can use the following command:
sudo dnf remove gnucap
gnucap Package Contents on Fedora 34
/usr/bin/gnucap
/usr/bin/gnucap-modelgen
/usr/lib/.build-id
/usr/lib/.build-id/d0
/usr/lib/.build-id/d0/ace6eb8fc9e352da8ed3efab00077cc8cb076f
/usr/lib/.build-id/db
/usr/lib/.build-id/db/c45cbf4729af56471cae87d210aa7f83c8003f
/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 34 using yum and dnf.