Automic VaultAutomic Vault

brew

swig mit Homebrew, apk, chocolatey, apt, dnf, MacPorts, Nix, pacman, zypper, scoop, winget installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für swig in AI-Agent-Workflows.

Installation

Weitere Installationsbefehle

macOS

Homebrewverifiziert · 100%
brew install swig

local Homebrew formula metadata

MacPortsverifiziert · 94%
sudo port install swig

MacPorts ports tree · devel/swig/Portfile · Quelle: api.github.com

Linux

Alpine Linux apkverifiziert · 92%
sudo apk add swig

Alpine Linux edge package indexes · swig · Quelle: dl-cdn.alpinelinux.org

Debian aptverifiziert · 92%
sudo apt install swig

Debian stable package indexes · swig · Quelle: deb.debian.org

Fedora dnfverifiziert · 92%
sudo dnf install swig

Fedora Rawhide package metadata · swig · Quelle: dl.fedoraproject.org

Nixverifiziert · 92%
nix profile install nixpkgs#swig

nixpkgs package indexes · pkgs/by-name/sw/swig/package.nix · Quelle: api.github.com

Arch Linux pacmanverifiziert · 92%
sudo pacman -S swig

Arch Linux sync databases · swig · Quelle: geo.mirror.pkgbuild.com

openSUSE zypperverifiziert · 92%
sudo zypper install swig

openSUSE Tumbleweed package metadata · swig · Quelle: download.opensuse.org

Windows

Chocolateyverifiziert · 92%
choco install swig

Chocolatey community package catalog · swig · Quelle: community.chocolatey.org

Scoopverifiziert · 92%
scoop install main/swig

Scoop official bucket manifest trees · bucket/swig.json · Quelle: api.github.com

Windows Package Managerverifiziert · 92%
winget install --id SWIG.SWIG -e

Windows Package Manager source index · SWIG.SWIG · Quelle: cdn.winget.microsoft.com

Überblick

Paketzusammenfassung

Generate scripting interfaces to C/C++ code

Befehle und Aliase

  • ccache-swig
  • swig

Verlauf

Projektgeschichte und Nutzung

SWIG, the Simplified Wrapper and Interface Generator, is a long-running tool for connecting C and C++ programs to higher-level languages. In package-manager culture it is a classic build dependency: old, portable, cross-language, and often installed because another package needs generated bindings.

Projektgeschichte

SWIG began in July 1995 when Dave Beazley developed it at Los Alamos National Laboratory for scientific software that needed scripting interfaces. The official history says it was rewritten in C++ at the University of Utah in January 1996 and expanded beyond its original environment to Tcl, Perl, and Guile.

Version 1.0 arrived in September 1996 with Python support, followed by 1.1 in 1997. The long 1.3 development series began in 2000 and carried the project through a decade of incremental language and parser work before SWIG 2.0.0 was released in 2010.

Later major releases continued to track C++ and target-language evolution: 3.0.0 in 2014, 4.0.0 in 2019, 4.1.x in 2022, 4.2.x in 2023-2024, 4.3.x in 2024-2025, and 4.4.x in 2025.

Adoptionsgeschichte

The SWIG homepage describes support for common scripting languages including JavaScript, Perl, PHP, Python, Tcl, and Ruby, plus non-scripting targets such as C#, D, Go, Java, Lua, OCaml, Octave, Scilab, R, and Guile. That breadth made it a general-purpose bridge for C and C++ libraries rather than a single-language extension tool.

The documentation page lists papers and tutorials from the 1996-1998 period and later training material, reflecting early adoption in Tcl, Python, Perl, scientific computing, and systems integration communities.

The input package facts show SWIG in many package managers, including apk, Homebrew, Chocolatey, Debian, DNF, MacPorts, Nix, pacman, Scoop, Ubuntu, winget, and zypper. That distribution footprint fits its role as a cross-platform tool needed by both developers and downstream package builds.

Wie es verwendet wird

SWIG is commonly used to parse C or C++ declarations and generate wrapper or glue code so higher-level languages can call native libraries. It is also used for prototyping, testing, embedding interpreters, and exporting parse information.

In package builds, SWIG often appears as a build-time dependency for projects that ship generated bindings for Python, Java, Ruby, Perl, Tcl, R, Octave, or other target languages.

Warum Paket-Nerds sich dafür interessieren

SWIG is package-nerd significant because it is part compiler, part portability layer, and part historical artifact of scripting-language extension culture. It lets a C or C++ library become packages in multiple language ecosystems without hand-writing every binding layer.

Its long release history also matters operationally: old software may require old SWIG behavior, while new packages need modern C++, Python, JavaScript, Ruby, PHP, Go, or Java support. Distribution maintainers therefore care about which SWIG version is installed and when generated files are regenerated.

Zeitleiste

  • 1995: SWIG developed at Los Alamos National Laboratory.
  • 1996: First alpha release and version 1.0 with Python support.
  • 1997: Version 1.1 released.
  • 2000: SWIG 1.3 alpha series begins.
  • 2010: SWIG 2.0.0 released.
  • 2014: SWIG 3.0.0 released.
  • 2019: SWIG 4.0.0 released.
  • 2022: SWIG 4.1.0 and 4.1.1 released.
  • 2024: SWIG 4.2.x and 4.3.0 released.
  • 2025: SWIG 4.3.1, 4.4.0, and 4.4.1 released.

Related projects

  • Related technologies include Python extension modules, Perl XS, JNI, CFFI/ctypes-style foreign function interfaces, CORBA/IDL-style interface compilers, and package build systems that generate language bindings from C and C++ headers.

Sicherheitslage

Risikostufe: grün

narrow executable package without higher-risk signals.

Risikoklassifikator

grün Risiko · niedrig Konfidenz · appliance

Warum

  • narrow executable package without higher-risk signals

Signale

  • metadata:no-higher-risk-signals

Installationsverhalten

  • In den Formelmetadaten ist kein Homebrew-Post-install-Hook erfasst.
  • Homebrew-Bottle-Metadaten sind für 8 Plattformziele verfügbar.
  • Installiert mit 1 Laufzeitabhängigkeiten.

Empfohlene Prüfung

Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.

Executables

Installierte Executables

BefehlArtSichtbarkeitHinweis
ccache-swigcliglobales Executable
swigcliglobales Executable

Aktualität

Version und Aktualität

Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.

Seite generiert2026-07-10
Manager-Version4.4.1
Manager aktualisiert
lokale DatenOK
Upstreamnot checked
neueste erkannte Versionnicht erkannt

https://www.swig.org/

  • InfoNo package-manager update timestamp was available.niedrig Konfidenz
  • InfoRelease/tag comparison is only available for GitHub repositories.https://www.swig.org/none Konfidenz

Installationsmetadaten

Paketmetadaten

Paketschlüsselbrew:swig
Version4.4.1
PaketmanagerHomebrew
Paketmanager-Seitehttps://formulae.brew.sh/formula/swig
Homepagehttps://www.swig.org/
Repositoryhttps://github.com/swig/swig
Upstream-Dokumentationhttps://www.swig.org/doc.html
LizenzGPL-3.0-or-later
Quellarchivhttps://downloads.sourceforge.net/project/swig/swig/swig-4.4.1/swig-4.4.1.tar.gz
Abhängigkeitenpcre2
Bottleverfügbar (auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sequoia, sonoma, tahoe, x86_64_linux)
Homebrew post-installnicht definiert
Dienstkeiner deklariert

Registry-Fakten

Details aus der Quelldatenbank

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameswig
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

Source-Datenbank-Treffer

Andere Paketmanager-Einträge

Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.

Debian apt95%

swig 4.3.0-1

Generate scripting interfaces to C/C++ code

https://www.swig.org/

sudo apt install swig
  • Section: interpreters
  • Architecture: amd64
  • 4 Abhängigkeiten
  • 2 optionale Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: Swig
Debian stable package indexes · deb.debian.org · Debian stable package indexes: swig from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

swig-doc 4.3.0-1

HTML documentation for SWIG

https://www.swig.org/

sudo apt install swig-doc
  • Section: doc
  • Architecture: all
  • Source Package: swig
  • normalized package name match
  • Abgeglichen nach: Swig
Debian stable package indexes · deb.debian.org · Debian stable package indexes: swig-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

swig-examples 4.3.0-1

Examples for applications of SWIG

https://www.swig.org/

sudo apt install swig-examples
  • Section: interpreters
  • Architecture: all
  • Source Package: swig
  • normalized package name match
  • Abgeglichen nach: Swig
Debian stable package indexes · deb.debian.org · Debian stable package indexes: swig-examples from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

swig

nix profile install nixpkgs#swig
  • normalized package name match
  • Abgeglichen nach: Swig
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/sw/swig/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

swig 4.2.0-2ubuntu1

Generate scripting interfaces to C/C++ code

http://www.swig.org/

sudo apt install swig
  • Section: universe/interpreters
  • Architecture: amd64
  • 4 Abhängigkeiten
  • 2 optionale Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: Swig
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: swig from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

swig-doc 4.2.0-2ubuntu1

HTML documentation for SWIG

http://www.swig.org/

sudo apt install swig-doc
  • Section: universe/doc
  • Architecture: all
  • Source Package: swig
  • normalized package name match
  • Abgeglichen nach: Swig
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: swig-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

swig-examples 4.2.0-2ubuntu1

Examples for applications of SWIG

http://www.swig.org/

sudo apt install swig-examples
  • Section: universe/interpreters
  • Architecture: all
  • Source Package: swig
  • normalized package name match
  • Abgeglichen nach: Swig
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: swig-examples from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

swig 4.4.1-r1

A compiler that makes it easy to integrate C and C++ code with scripting languages

https://www.swig.org/

sudo apk add swig
  • License: GPL-3.0-only
  • Architecture: x86_64
  • Source Package: swig
  • 1 Abhängigkeiten
  • 1 stellt bereit
  • normalized package name match
  • Abgeglichen nach: Swig
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: swig from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

swig-doc 4.4.1-r1

A compiler that makes it easy to integrate C and C++ code with scripting languages (documentation)

https://www.swig.org/

sudo apk add swig-doc
  • License: GPL-3.0-only
  • Architecture: x86_64
  • Source Package: swig
  • normalized package name match
  • Abgeglichen nach: Swig
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: swig-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
dnf95%

ccache-swig 4.4.1-7.fc45

Fast compiler cache

https://www.swig.org/

sudo dnf install ccache-swig
  • License: GPL-2.0-or-later
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: swig
  • 4 Abhängigkeiten
  • 2 stellt bereit
  • normalized package name match
  • Abgeglichen nach: Swig
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: ccache-swig from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

python3-swig 4.4.1-7.fc45

Python package metadata for SWIG

https://www.swig.org/

sudo dnf install python3-swig
  • License: GPL-3.0-or-later AND BSD-3-Clause
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: swig
  • 2 Abhängigkeiten
  • 5 stellt bereit
  • normalized package name match
  • Abgeglichen nach: Swig
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: python3-swig from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

swig 4.4.1-7.fc45

Connects C/C++/Objective C to some high-level programming languages

https://www.swig.org/

sudo dnf install swig
  • License: GPL-3.0-or-later AND BSD-3-Clause
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: swig
  • 5 Abhängigkeiten
  • 1 stellt bereit
  • normalized package name match
  • Abgeglichen nach: Swig
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: swig from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

swig-doc 4.4.1-7.fc45

Documentation files for SWIG

https://www.swig.org/

sudo dnf install swig-doc
  • License: BSD-3-Clause
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: swig
  • 1 stellt bereit
  • normalized package name match
  • Abgeglichen nach: Swig
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: swig-doc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

swig-gdb 4.4.1-7.fc45

Commands for easier debugging of SWIG

https://www.swig.org/

sudo dnf install swig-gdb
  • License: BSD-3-Clause
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: swig
  • 1 Abhängigkeiten
  • 1 stellt bereit
  • normalized package name match
  • Abgeglichen nach: Swig
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: swig-gdb from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

swig 4.4.1-1

Generate scripting interfaces to C/C++ code

https://www.swig.org/

sudo pacman -S swig
  • License: GPL-3.0-or-later AND LicenseRef-BSD-Arizona AND LicenseRef-BSD-Chicago AND LicenseRef-BSD-Utah-California
  • Architecture: x86_64
  • 4 Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: Swig
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: swig from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

swig 4.4.1-1.4

Simplified Wrapper and Interface Generator

https://www.swig.org/

sudo zypper install swig
  • License: BSD-3-Clause AND GPL-3.0-or-later
  • Category: Development/Languages/C and C++
  • Architecture: x86_64
  • Source Package: swig
  • 4 Abhängigkeiten
  • 1 stellt bereit
  • normalized package name match
  • Abgeglichen nach: Swig
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: swig from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

Quellspur

Aus Repository-Daten generiert

Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.

Verwendete Quellen

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment