pkg.soopen package index

brew / 排名 2495

使用 Homebrew, apk, chocolatey, apt, dnf, MacPorts, Nix, pacman, zypper, scoop 安装 ngspice

查看 ngspice 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install ngspice

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install ngspice

MacPorts ports tree · science/ngspice/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add ngspice

Alpine Linux edge package indexes · ngspice · 来源: dl-cdn.alpinelinux.org

Debian apt已验证 · 92%
sudo apt install ngspice

Debian stable package indexes · ngspice · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install ngspice

Fedora Rawhide package metadata · ngspice · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#ngspice

nixpkgs package indexes · ngspice · 来源: raw.githubusercontent.com

Arch Linux pacman已验证 · 92%
sudo pacman -S ngspice

Arch Linux sync databases · ngspice · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install ngspice

openSUSE Tumbleweed package metadata · ngspice · 来源: download.opensuse.org

Windows

Chocolatey已验证 · 92%
choco install ngspice

Chocolatey community package catalog · ngspice · 来源: community.chocolatey.org

Scoop已验证 · 92%
scoop install extras/ngspice

Scoop official bucket manifest trees · bucket/ngspice.json · 来源: api.github.com

概览

软件包摘要

Spice circuit simulator

命令和别名

  • ngspice

历史

项目历史与用法

ngspice is the open-source continuation of the Berkeley SPICE circuit-simulation lineage. It is a command-line and library-capable simulator for analog, digital, mixed-signal, and mixed-level electronic circuits, with a long release history and broad packaging across Unix-like systems, Windows channels, and EDA workflows.

项目历史

The ngspice manual says the project is an update of Spice3f5, the last Berkeley release of the Spice3 simulator family, developed to add features and fix bugs. The same manual describes the project as assembled from Spice3f5, XSPICE, CIDER, and original ngspice material, with Paolo Nenzi's first manual preface dated March 24, 2001.

The project inherited Spice3 and CIDER from the University of California at Berkeley and XSPICE from Georgia Tech. Its early 2000s 'ng-spice-rework' releases show the transition from cleanup and bug fixing into a simulator with XSPICE mixed-signal support, CIDER mixed-level simulation, model updates, Windows/MINGW support, and broader portability.

Release 46 was distributed in March 2026; the version 46 manual is dated March 31, 2026. The SourceForge download page listed ngspice-46 as the latest release, and Homebrew packaged stable version 46 from SourceForge.

采用历史

ngspice is the significant package in this batch. It is packaged by Homebrew, MacPorts, Debian/Ubuntu, Fedora, Arch, Nix, openSUSE, Chocolatey, Scoop, and Alpine-family repositories in the av.db input. Homebrew analytics on July 1, 2026 reported 2,500 install-on-request events over 365 days, and SourceForge showed weekly downloads for release 46 and old releases.

Its adoption is helped by compatibility rather than novelty. The project advertises SPICE compatibility, support for PSPICE/LTSPICE model parameters and netlists for discrete circuits, HSPICE device libraries from foundry PDKs for integrated circuits, and third-party schematic/simulation front ends. That makes it a common open simulation engine under GUI and scripted EDA workflows.

使用方式

The normal package-nerd use is to install `ngspice`, feed it a SPICE netlist from the command line, run DC, AC, transient, noise, pole-zero, sensitivity, distortion, S-parameter, or mixed-signal analyses, and inspect plots or raw output files. More advanced users build it as a shared library or integrate it through tools such as KiCad, Xschem, Qucs-S, PySpice, or Tcl/Tk-related tooling.

The practical reason people care about the package is that it is the free, scriptable SPICE engine that package managers can ship everywhere. It sits in a lineage older than most package ecosystems, but remains active because open PDKs, Verilog-A/OpenVAF model loading, mixed-signal code models, and simulator-library embedding keep generating new use cases.

时间线

  • {'date': '2000-11-04', 'event': 'ng-spice-rework-13 release listed enhancements and bug fixes.'}
  • {'date': '2001-03-24', 'event': 'Paolo Nenzi dated the first ngspice manual preface.'}
  • {'date': '2004-01-27', 'event': 'ng-spice-rework-15 incorporated XSPICE, CIDER, numparam, model updates, and examples.'}
  • {'date': '2026-03-31', 'event': 'Version 46 manual date.'}

Related projects

  • Berkeley SPICE
  • Spice3f5
  • XSPICE
  • CIDER
  • KiCad
  • Xschem
  • Qucs-S
  • PySpice
  • OpenVAF

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
ngspice可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-08-03
管理器版本46
管理器更新时间2026-06-25
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:ngspice
版本46
软件包管理器Homebrew
主页https://ngspice.sourceforge.io/
最后更新2026-06-25T13:37:57+02:00
Pulseupdated
Bottle未记录
服务未声明

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

libngspice0 44.2+ds-1

Spice circuit simulator - library

https://ngspice.sourceforge.io

sudo apt install libngspice0
  • Section: libs
  • Architecture: amd64
  • Source Package: ngspice
  • 4 依赖
  • normalized package name match
  • 匹配方式:Ngspice
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libngspice0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libngspice0-dev 44.2+ds-1

Spice circuit simulator - development files for libngspice

https://ngspice.sourceforge.io

sudo apt install libngspice0-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: ngspice
  • 1 依赖
  • normalized package name match
  • 匹配方式:Ngspice
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libngspice0-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

ngspice 44.2+ds-1

Spice circuit simulator

https://ngspice.sourceforge.io

sudo apt install ngspice
  • Section: electronics
  • Architecture: amd64
  • 11 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Ngspice
Debian stable package indexes · deb.debian.org · Debian stable package indexes: ngspice from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

ngspice-dev 44.2+ds-1

Spice circuit simulator - development files for ngspice and tclspice

https://ngspice.sourceforge.io

sudo apt install ngspice-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: ngspice
  • 2 依赖
  • normalized package name match
  • 匹配方式:Ngspice
Debian stable package indexes · deb.debian.org · Debian stable package indexes: ngspice-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

ngspice-doc 44.2+ds-1

Documentation for the NGspice circuit simulator

https://ngspice.sourceforge.io

sudo apt install ngspice-doc
  • Section: doc
  • Architecture: all
  • Source Package: ngspice
  • normalized package name match
  • 匹配方式:Ngspice
Debian stable package indexes · deb.debian.org · Debian stable package indexes: ngspice-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

tclspice 44.2+ds-1

NGSpice library for Tcl

https://ngspice.sourceforge.io

sudo apt install tclspice
  • Section: libs
  • Architecture: amd64
  • Source Package: ngspice
  • 9 依赖
  • normalized package name match
  • 匹配方式:Ngspice
Debian stable package indexes · deb.debian.org · Debian stable package indexes: tclspice from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

ngspice

nix profile install nixpkgs#ngspice
  • normalized package name match
  • 匹配方式:Ngspice
nixpkgs package indexes · raw.githubusercontent.com · nixpkgs package indexes: ngspice from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
Ubuntu apt95%

libngspice0 42+ds-3build1

Spice circuit simulator - library

https://ngspice.sourceforge.io

sudo apt install libngspice0
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: ngspice
  • 4 依赖
  • normalized package name match
  • 匹配方式:Ngspice
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libngspice0 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libngspice0-dev 42+ds-3build1

Spice circuit simulator - development files for libngspice

https://ngspice.sourceforge.io

sudo apt install libngspice0-dev
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: ngspice
  • 1 依赖
  • normalized package name match
  • 匹配方式:Ngspice
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libngspice0-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

ngspice 42+ds-3build1

Spice circuit simulator

https://ngspice.sourceforge.io

sudo apt install ngspice
  • Section: universe/electronics
  • Architecture: amd64
  • 11 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Ngspice
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: ngspice from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

ngspice-dev 42+ds-3build1

Spice circuit simulator - development files for ngspice and tclspice

https://ngspice.sourceforge.io

sudo apt install ngspice-dev
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: ngspice
  • 2 依赖
  • normalized package name match
  • 匹配方式:Ngspice
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: ngspice-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

ngspice-doc 42+ds-3build1

Documentation for the NGspice circuit simulator

https://ngspice.sourceforge.io

sudo apt install ngspice-doc
  • Section: universe/doc
  • Architecture: all
  • Source Package: ngspice
  • normalized package name match
  • 匹配方式:Ngspice
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: ngspice-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

tclspice 42+ds-3build1

NGSpice library for Tcl

https://ngspice.sourceforge.io

sudo apt install tclspice
  • Section: universe/electronics
  • Architecture: amd64
  • Source Package: ngspice
  • 9 依赖
  • normalized package name match
  • 匹配方式:Ngspice
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: tclspice from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

ngspice 46-r0

open source spice simulator for electric and electronic circuits

https://ngspice.sourceforge.net/

sudo apk add ngspice
  • License: BSD-3-Clause
  • Architecture: x86_64
  • Source Package: ngspice
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Ngspice
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: ngspice from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

ngspice-dev 46-r0

open source spice simulator for electric and electronic circuits (development files)

https://ngspice.sourceforge.net/

sudo apk add ngspice-dev
  • License: BSD-3-Clause
  • Architecture: x86_64
  • Source Package: ngspice
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Ngspice
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: ngspice-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

ngspice-doc 46-r0

open source spice simulator for electric and electronic circuits (documentation)

https://ngspice.sourceforge.net/

sudo apk add ngspice-doc
  • License: BSD-3-Clause
  • Architecture: x86_64
  • Source Package: ngspice
  • normalized package name match
  • 匹配方式:Ngspice
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: ngspice-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation