How To Install tclspice on Fedora 34

tclspice is Tcl/Tk interface for ngspice

Introduction

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

What is tclspice

TclSpice is an improved version of Berkeley Spice designed to be used with the Tcl/Tk scripting language. The project is based upon the NG-Spice source code base with many improvements.

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

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

sudo dnf -y install tclspice

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

sudo yum -y install tclspice

How To Uninstall tclspice on Fedora 34

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

sudo dnf remove tclspice

tclspice Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/23
/usr/lib/.build-id/23/c24228d0b910cee0aba0d5282b8ed726df4782
/usr/lib/.build-id/32
/usr/lib/.build-id/32/c7e09206a94fa3e1a0f19ab364fd87e3d14b9c
/usr/lib/.build-id/56
/usr/lib/.build-id/56/75d5232e4822720dc5267013a9692be28299d1
/usr/lib/.build-id/7b
/usr/lib/.build-id/7b/f596b52e8ce71ce6c93272b2f220ec75f7d195
/usr/lib/.build-id/af
/usr/lib/.build-id/af/dccecd1bcd8809e96429aa5ee069070f344ffe
/usr/lib/.build-id/be
/usr/lib/.build-id/be/f9c6666a821f44ce55a1782447b444e427d663
/usr/lib/.build-id/d3
/usr/lib/.build-id/d3/8b79db422dc6f9053a8be41b1cb08c0f7775a0
/usr/lib/.build-id/f6
/usr/lib/.build-id/f6/a247d132f5f41293affefcba5b7500e1bbfdfc
/usr/lib64/tclspice
/usr/lib64/tclspice/libspice.so
/usr/lib64/tclspice/libspice.so.0
/usr/lib64/tclspice/libspice.so.0.0.0
/usr/lib64/tclspice/libspicelite.so
/usr/lib64/tclspice/libspicelite.so.0
/usr/lib64/tclspice/libspicelite.so.0.0.0
/usr/lib64/tclspice/ngspice
/usr/lib64/tclspice/ngspice/analog.cm
/usr/lib64/tclspice/ngspice/digital.cm
/usr/lib64/tclspice/ngspice/pkgIndex.tcl
/usr/lib64/tclspice/ngspice/spice2poly.cm
/usr/lib64/tclspice/ngspice/table.cm
/usr/lib64/tclspice/ngspice/xtradev.cm
/usr/lib64/tclspice/ngspice/xtraevt.cm
/usr/share/doc/ngspice/examples/tclspice
/usr/share/doc/ngspice/examples/tclspice/tcl
/usr/share/doc/ngspice/examples/tclspice/tcl-testbench1
/usr/share/doc/ngspice/examples/tclspice/tcl-testbench1/PN2222.mod
/usr/share/doc/ngspice/examples/tclspice/tcl-testbench1/capa.cir
/usr/share/doc/ngspice/examples/tclspice/tcl-testbench1/tcl-testbench1.sh
/usr/share/doc/ngspice/examples/tclspice/tcl-testbench1/testCapa.cir
/usr/share/doc/ngspice/examples/tclspice/tcl-testbench2
/usr/share/doc/ngspice/examples/tclspice/tcl-testbench2/example.cir
/usr/share/doc/ngspice/examples/tclspice/tcl-testbench2/tcl-testbench2.sh
/usr/share/doc/ngspice/examples/tclspice/tcl-testbench3
/usr/share/doc/ngspice/examples/tclspice/tcl-testbench3/FB14.cir
/usr/share/doc/ngspice/examples/tclspice/tcl-testbench3/differentiate.tcl
/usr/share/doc/ngspice/examples/tclspice/tcl-testbench3/tcl-testbench3.sh
/usr/share/doc/ngspice/examples/tclspice/tcl-testbench4
/usr/share/doc/ngspice/examples/tclspice/tcl-testbench4/bltGraph.tcl
/usr/share/doc/ngspice/examples/tclspice/tcl-testbench4/example.cir
/usr/share/doc/ngspice/examples/tclspice/tcl-testbench4/selectfromlist.tcl
/usr/share/doc/ngspice/examples/tclspice/tcl-testbench4/tcl-testbench4.sh
/usr/share/doc/ngspice/examples/tclspice/tcl-testbench4/vspicechart.tcl
/usr/share/doc/ngspice/examples/tclspice/tcl/diffpair.cir
/usr/share/doc/ngspice/examples/tclspice/tcl/test_vectoblt.sh
/usr/share/ngspice
/usr/share/ngspice/scripts
/usr/share/ngspice/scripts/tclspinit

References

Summary

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