Automic VaultAutomic Vault

brew

使用 Homebrew, chocolatey, apt, dnf 安装 numpy

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install numpy

local Homebrew formula metadata

Linux

Debian apt已验证 · 92%
sudo apt install python-numpy-doc

Debian stable package indexes · python-numpy-doc · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install python3-numpy

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

Ubuntu apt已验证 · 92%
sudo apt install python3-numpy

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

概览

软件包摘要

Package for scientific computing with Python

命令和别名

  • f2py
  • numpy-config

历史

项目历史与用法

NumPy is the foundational array package for scientific computing in Python. It supplies the `ndarray`, vectorized operations, broadcasting, linear algebra and numerical routines, a C API, and the `f2py` command-line interface for building Python bindings to Fortran code.

项目历史

The official NumPy about page says NumPy was created in 2005, building on Numeric and Numarray. The old SciPy history records the project as a reunion: Travis Oliphant wanted to bring the split Numeric/numarray community back to one array package, refactored Numeric to absorb numarray's features, and after naming discussion the multidimensional array project became NumPy.

采用历史

NumPy became the array substrate for the Python scientific stack. The 2020 Nature paper 'Array programming with NumPy' describes NumPy as a 2005 unification of Numarray's features with Numeric's small-array performance and C API, and says that by 2020 it underpinned almost every Python library doing scientific or numerical computation, including SciPy, Matplotlib, pandas, scikit-learn, and scikit-image.

使用方式

Users install NumPy directly for dense arrays, vectorized math, broadcasting, random sampling, FFTs, statistics, basic linear algebra, and data interchange with other Python libraries. Package maintainers also care about the compiled-code boundary: `f2py` is distributed with NumPy as both `numpy.f2py` and a standalone command-line tool, making old Fortran routines callable from Python, while the C API supports extensions and downstream projects.

为什么软件包爱好者会关心

For package ecosystems, NumPy is not just a library; it is an ABI, build, and compatibility gravity well. Python packages with native extensions often pin or test against NumPy versions, scientific Linux/macOS distributions ship optimized BLAS/LAPACK stacks underneath it, and Homebrew's formula page showed 333,990 installs over 365 days on July 1, 2026 despite Python users often installing it through pip or conda instead.

时间线

  • 1990s-2000s: Numeric and then Numarray serve overlapping array-computing communities.
  • 2005: NumPy is created by combining Numeric and Numarray ideas into one project.
  • 2020: Nature publishes 'Array programming with NumPy', documenting its role across scientific Python.

Related projects

  • Numeric
  • Numarray
  • SciPy
  • Matplotlib
  • pandas
  • scikit-learn
  • scikit-image

安全态势

尚未找到受保护工具覆盖

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

安装行为

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

建议审查

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
f2pycli全局可执行文件
numpy-configcli全局可执行文件

新鲜度

版本和新鲜度

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

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

https://www.numpy.org/

安装元数据

软件包元数据

软件包键brew:numpy
版本2.5.1
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/numpy
主页https://www.numpy.org/
仓库https://github.com/numpy/numpy
上游文档https://numpy.org/doc/stable/index
许可证BSD-3-Clause
源码归档https://files.pythonhosted.org/packages/22/fd/89965aa4ac08c74998539fcbf24fa3540f3e15237fbeb6bcf9c908f4aade/numpy-2.5.1.tar.gz
最后更新2026-07-07T20:38:47Z
Pulseupdated
依赖openblas
构建依赖gcc, meson, ninja, python@3.13, python@3.14
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明
注意事项To run `f2py`, you may need to `brew install python@3.14`

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

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

Debian apt95%

python-numpy-doc 1:2.2.4+ds-1

Python library for numerical computations (Documentation)

http://www.numpy.org/

sudo apt install python-numpy-doc
  • Section: doc
  • Architecture: all
  • Source Package: numpy
  • 1 依赖
  • 6 可选依赖
  • normalized package name match
  • 匹配方式:Numpy
Debian stable package indexes · deb.debian.org · Debian stable package indexes: python-numpy-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

python3-numpy 1:2.2.4+ds-1

Python library for numerical computations (Python 3)

http://www.numpy.org/

sudo apt install python3-numpy
  • Section: python
  • Architecture: amd64
  • Source Package: numpy
  • 9 依赖
  • 3 提供
  • 5 可选依赖
  • normalized package name match
  • 匹配方式:Numpy
Debian stable package indexes · deb.debian.org · Debian stable package indexes: python3-numpy from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

python3-numpy-dev 1:2.2.4+ds-1

Python library for numerical computations (Python 3 headers)

http://www.numpy.org/

sudo apt install python3-numpy-dev
  • Section: python
  • Architecture: amd64
  • Source Package: numpy
  • 1 提供
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Numpy
Debian stable package indexes · deb.debian.org · Debian stable package indexes: python3-numpy-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Ubuntu apt95%

python3-numpy 1:1.26.4+ds-6ubuntu1

Fast array facility to the Python language (Python 3)

http://www.numpy.org/

sudo apt install python3-numpy
  • Section: python
  • Architecture: amd64
  • Source Package: numpy
  • 8 依赖
  • 5 提供
  • 4 可选依赖
  • normalized package name match
  • 匹配方式:Numpy
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: python3-numpy from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
dnf95%

python3-numpy 2.4.6-2.fc45

A fast multidimensional array facility for Python

http://www.numpy.org/

sudo dnf install python3-numpy
  • License: BSD-3-Clause AND MIT AND Apache-2.0 AND (Zlib OR BSL-1.0)
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: numpy
  • 10 依赖
  • 7 提供
  • normalized package name match
  • 匹配方式:Numpy
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: python3-numpy from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

python3-numpy-doc 2.4.6-2.fc45

Documentation for numpy

http://www.numpy.org/

sudo dnf install python3-numpy-doc
  • License: BSD-3-Clause AND MIT AND Apache-2.0 AND (Zlib OR BSL-1.0)
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: numpy
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Numpy
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: python3-numpy-doc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

python3-numpy-f2py 2.4.6-2.fc45

f2py for numpy

http://www.numpy.org/

sudo dnf install python3-numpy-f2py
  • License: BSD-3-Clause AND MIT AND Apache-2.0 AND (Zlib OR BSL-1.0)
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: numpy
  • 3 依赖
  • 6 提供
  • normalized package name match
  • 匹配方式:Numpy
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: python3-numpy-f2py from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
Chocolatey95%

numpy

choco install numpy
  • normalized package name match
  • 匹配方式:Numpy
Chocolatey community package catalog · community.chocolatey.org · Chocolatey community package catalog: numpy from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','ntlite-free'

来源线索

由仓库数据生成

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

使用的来源

  • 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