Automic VaultAutomic Vault

brew

使用 Homebrew, winget, chocolatey, MacPorts, zypper, dnf, scoop, apt, pacman, apk, Nix 安装 python@3.12

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install python@3.12

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install python312

MacPorts ports tree · lang/python312/Portfile · 来源: api.github.com

Linux

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

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

Fedora dnf已验证 · 92%
sudo dnf install python3.12

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

Ubuntu apt已验证 · 92%
sudo apt install idle-python3.12

Ubuntu 24.04 LTS package indexes · idle-python3.12 · 来源: archive.ubuntu.com

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

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

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

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

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

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

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

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

Windows

Windows Package Manager已验证 · 92%
winget install --id Python.Python.3.12 -e

Windows Package Manager source index · Python.Python.3.12 · 来源: cdn.winget.microsoft.com

Chocolatey已验证 · 92%
choco install python312

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

Scoop已验证 · 92%
scoop install versions/python312

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

概览

软件包摘要

Interpreted, interactive, object-oriented programming language

命令和别名

  • 2to3-3.12
  • idle3.12
  • pip3.12
  • pydoc3.12
  • python3.12
  • python3.12-config
  • wheel3.12

安全态势

尚未找到受保护工具覆盖

没有找到 python@3.12 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 8 个平台目标。
  • 安装时包含 4 个运行时依赖。
  • 构建元数据列出 1 个构建依赖。

建议审查

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
2to3-3.12cli全局可执行文件
idle3.12cli全局可执行文件
pip3.12cli全局可执行文件
pydoc3.12cli全局可执行文件
python3.12cli全局可执行文件
python3.12-configcli全局可执行文件
wheel3.12cli全局可执行文件

新鲜度

版本和新鲜度

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

页面生成时间2026-07-10
管理器版本3.12.13
管理器更新时间2026-06-25
本地数据OK
上游not checked
检测到的最新版本未检测到

https://www.python.org/

安装元数据

软件包元数据

软件包键brew:python@3.12
版本3.12.13
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/python@3.12
主页https://www.python.org/
仓库https://github.com/python/cpython
上游文档https://docs.python.org/3.12
许可证Python-2.0
源码归档https://www.python.org/ftp/python/3.12.13/Python-3.12.13.tgz
最后更新2026-06-25T13:38:05+02:00
Pulseupdated
依赖mpdecimal, openssl@3, sqlite, xz
构建依赖pkgconf
macOS 提供的库bzip2, expat, libedit, libffi, libxcrypt, ncurses
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sequoia, sonoma, tahoe, x86_64_linux)
Homebrew post-install未定义
服务未声明
注意事项Python is installed as $HOMEBREW_PREFIX/bin/python3.12 Unversioned and major-versioned symlinks `python`, `python3`, `python-config`, `python3-config`, `pip`, `pip3`, etc. pointing to `python3.12`, `python3.12-config`, `pip3.12` etc., respectively, are installed into $HOMEBREW_PREFIX/opt/python@3.12/libexec/bin If you do not need a specific version of Python, and always want Homebrew's `python3` in your PATH: brew install python3 `idle3.12` requires tkinter, which is available separately: brew install python-tk@3.12 `dbm.gnu` is available separately: brew install python-gdbm@3.12 For more information about Homebrew and Python, see: https://docs.brew.sh/Homebrew-and-Python

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namepython@3.12
Version Scheme0
Revision4
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

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

winget95%

Python.Python.3.12

winget install --id Python.Python.3.12 -e
  • normalized package name match
  • 匹配方式:Python 3 12
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: Python.Python.3.12 from https://cdn.winget.microsoft.com/cache/source.msix
MacPorts94%

python312

sudo port install python312
  • package manager index match
  • 匹配方式:Python312
MacPorts ports tree · api.github.com · MacPorts ports tree: lang/python312/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Ubuntu apt92%

idle-python3.12 3.12.3-1

IDE for Python (v3.12) using Tkinter

sudo apt install idle-python3.12
  • Section: universe/python
  • Architecture: all
  • Source Package: python3.12
  • 4 依赖
  • installed executable or alias match
  • 匹配方式:Python3 12
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: idle-python3.12 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt92%

libpython3.12-dev 3.12.3-1

Header files and a static library for Python (v3.12)

sudo apt install libpython3.12-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: python3.12
  • 4 依赖
  • 2 可选依赖
  • installed executable or alias match
  • 匹配方式:Python3 12
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libpython3.12-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt92%

libpython3.12-minimal 3.12.3-1

Minimal subset of the Python language (version 3.12)

sudo apt install libpython3.12-minimal
  • Section: python
  • Architecture: amd64
  • Source Package: python3.12
  • 2 依赖
  • 1 可选依赖
  • installed executable or alias match
  • 匹配方式:Python3 12
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libpython3.12-minimal from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt92%

libpython3.12-stdlib 3.12.3-1

Interactive high-level object-oriented language (standard library, version 3.12)

sudo apt install libpython3.12-stdlib
  • Section: python
  • Architecture: amd64
  • Source Package: python3.12
  • 15 依赖
  • installed executable or alias match
  • 匹配方式:Python3 12
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libpython3.12-stdlib from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt92%

libpython3.12-testsuite 3.12.3-1

Testsuite for the Python standard library (v3.12)

sudo apt install libpython3.12-testsuite
  • Section: universe/libdevel
  • Architecture: all
  • Source Package: python3.12
  • 2 依赖
  • 2 可选依赖
  • installed executable or alias match
  • 匹配方式:Python3 12
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libpython3.12-testsuite from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt92%

libpython3.12t64 3.12.3-1

Shared Python runtime library (version 3.12)

sudo apt install libpython3.12t64
  • Section: libs
  • Architecture: amd64
  • Source Package: python3.12
  • 4 依赖
  • 1 提供
  • installed executable or alias match
  • 匹配方式:Python3 12
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libpython3.12t64 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt92%

libpython3.12t64-dbg 3.12.3-1

Debug Build of the Python Interpreter (version 3.12)

sudo apt install libpython3.12t64-dbg
  • Section: debug
  • Architecture: amd64
  • Source Package: python3.12
  • 14 依赖
  • 1 提供
  • installed executable or alias match
  • 匹配方式:Python3 12
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libpython3.12t64-dbg from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt92%

python3.12 3.12.3-1

Interactive high-level object-oriented language (version 3.12)

sudo apt install python3.12
  • Section: python
  • Architecture: amd64
  • 5 依赖
  • 4 可选依赖
  • installed executable or alias match
  • 匹配方式:Python3 12
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: python3.12 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt92%

python3.12-dbg 3.12.3-1

Debug Build of the Python Interpreter (version 3.12)

sudo apt install python3.12-dbg
  • Section: debug
  • Architecture: amd64
  • Source Package: python3.12
  • 5 依赖
  • 3 可选依赖
  • installed executable or alias match
  • 匹配方式:Python3 12
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: python3.12-dbg from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt92%

python3.12-dev 3.12.3-1

Header files and a static library for Python (v3.12)

sudo apt install python3.12-dev
  • Section: python
  • Architecture: amd64
  • Source Package: python3.12
  • 3 依赖
  • 2 可选依赖
  • installed executable or alias match
  • 匹配方式:Python3 12
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: python3.12-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt92%

python3.12-doc 3.12.3-1

Documentation for the high-level object-oriented language Python (v3.12)

sudo apt install python3.12-doc
  • Section: doc
  • Architecture: all
  • Source Package: python3.12
  • 2 依赖
  • 1 可选依赖
  • installed executable or alias match
  • 匹配方式:Python3 12
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: python3.12-doc from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt92%

python3.12-examples 3.12.3-1

Examples for the Python language (v3.12)

sudo apt install python3.12-examples
  • Section: python
  • Architecture: all
  • Source Package: python3.12
  • 1 依赖
  • installed executable or alias match
  • 匹配方式:Python3 12
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: python3.12-examples from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt92%

python3.12-full 3.12.3-1

Python Interpreter with complete class library (version 3.12)

sudo apt install python3.12-full
  • Section: universe/python
  • Architecture: amd64
  • Source Package: python3.12
  • 8 依赖
  • 3 可选依赖
  • installed executable or alias match
  • 匹配方式:Python3 12
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: python3.12-full from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt92%

python3.12-minimal 3.12.3-1

Minimal subset of the Python language (version 3.12)

sudo apt install python3.12-minimal
  • Section: python
  • Architecture: amd64
  • Source Package: python3.12
  • 3 依赖
  • 2 可选依赖
  • installed executable or alias match
  • 匹配方式:Python3 12
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: python3.12-minimal from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz

来源线索

由仓库数据生成

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

使用的来源

  • Nucleus package database
  • cross-ecosystem install command graph
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment