Good morning,
I have done some file hunting . This is indeed difficult to do via forums.
##########################################################
METHOD 1)
PACKAGE INSTALLER: APT
Search apt packages: “sudo apt search ngspice”
output:
Sorting… Done
Full Text Search… Done
chiark-scripts/focal,focal 6.1.2 all
chiark system administration scripts
gwave/focal 20190116-2 amd64
waveform viewer eg for spice simulators
libngspice0/focal,now 31.3-2 amd64 [installed,automatic]
Spice circuit simulator - library
libngspice0-dev/focal 31.3-2 amd64
Spice circuit simulator - development files for libngspice
ngspice/focal 31.3-2 amd64
Spice circuit simulator
ngspice-dev/focal 31.3-2 amd64
Spice circuit simulator - development files for ngspice and tclspice
ngspice-doc/focal,focal 31.3-2 all
Documentation for the NGspice circuit simulator
tclspice/focal 31.3-2 amd64
NGSpice library for Tcl
##########################################################
METHOD 2)
PACKAGE LOW LEVEL TOOL: DPKG
libngspice0
Command: “dpkg -L libngspice0”
Output:
/usr/share/doc/libngspice0
/usr/share/doc/libngspice0/changelog.Debian.gz
/usr/share/doc/libngspice0/copyright
/usr/lib/x86_64-linux-gnu/libngspice.so.0
##########################################################
METHOD 3)
SEARCH SYSTEM FOR FILE:
analog.cm
Command: “`sudo find / -iname *.cm”
Output:
find: ‘/run/user/1000/doc’: Permission denied
find: ‘/run/user/1000/gvfs’: Permission denied
“The system could not find anything”
##########################################################
##########################################################
INSTALLING NGSPICE:
I have also installed ngspice (sudo apt installl ngspice). I did this in an attempt to fix the kicad simulator error; which it may or may not have done. The error is now, however, gone.
##########################################################
REPEATING METHOD 3)
analog.cm:
I searched my machine using “sudo find / -iname *.cm” , and received the following output.
find: ‘/run/user/1000/doc’: Permission denied
find: ‘/run/user/1000/gvfs’: Permission denied
/usr/lib/x86_64-linux-gnu/ngspice/table.cm
/usr/lib/x86_64-linux-gnu/ngspice/digital.cm
/usr/lib/x86_64-linux-gnu/ngspice/spice2poly.cm
/usr/lib/x86_64-linux-gnu/ngspice/xtraevt.cm
/usr/lib/x86_64-linux-gnu/ngspice/xtradev.cm
/usr/lib/x86_64-linux-gnu/ngspice/analog.cm
However, after running “sudo apt-get remove --auto-remove ngspice” I receive the output,
find: ‘/run/user/1000/doc’: Permission denied
find: ‘/run/user/1000/gvfs’: Permission denied
So, I believe my external installation of ngspice provided the analog.cm files, that were otherwise not installed via kicad? Where this fixed the simulator or mearly suppressed the error, I don’t know.
I could install ngspice manually to work with Eeschma GUI with clear instructions.
Thank you for your help!