Automic VaultAutomic Vault

brew

Install numpy with Homebrew, chocolatey, apt, dnf

Package for scientific computing with Python. Version 2.5.1 via Homebrew; verified 2026-07-07.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install numpy

local Homebrew formula metadata

Linux

Debian aptverified · 92%
sudo apt install python-numpy-doc

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

Fedora dnfverified · 92%
sudo dnf install python3-numpy

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

Ubuntu aptverified · 92%
sudo apt install python3-numpy

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

overview

Package summary

Package for scientific computing with Python

Commands and aliases

  • f2py
  • numpy-config

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 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

security posture

No protected-tool coverage found yet

No matching local secret-handling manifest was found for numpy. Nucleus package metadata is still published here so future coverage has a stable package URL.

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 1 runtime dependencies.
  • Build metadata lists 5 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
f2pycliglobal executable
numpy-configcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version2.5.1
manager updated2026-07-07
local dataok
upstreamnot checked
latest detectednot detected

https://www.numpy.org/

install metadata

Package metadata

Package keybrew:numpy
Version2.5.1
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/numpy
Homepagehttps://www.numpy.org/
Repositoryhttps://github.com/numpy/numpy
Upstream docshttps://numpy.org/doc/stable/index
LicenseBSD-3-Clause
Source archivehttps://files.pythonhosted.org/packages/22/fd/89965aa4ac08c74998539fcbf24fa3540f3e15237fbeb6bcf9c908f4aade/numpy-2.5.1.tar.gz
Last updated2026-07-07T20:38:47Z
Pulseupdated
Dependenciesopenblas
Build dependenciesgcc, meson, ninja, python@3.13, python@3.14
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared
CaveatsTo run `f2py`, you may need to `brew install python@3.14`

registry facts

Source database details

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

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

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 dependencies
  • 6 optional deps
  • normalized package name match
  • Matched by: 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 dependencies
  • 3 provides
  • 5 optional deps
  • normalized package name match
  • Matched by: 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 provides
  • 1 optional deps
  • normalized package name match
  • Matched by: 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 dependencies
  • 5 provides
  • 4 optional deps
  • normalized package name match
  • Matched by: 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 dependencies
  • 7 provides
  • normalized package name match
  • Matched by: 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 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: 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 dependencies
  • 6 provides
  • normalized package name match
  • Matched by: 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
  • Matched by: 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'

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • 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