# numpy を Homebrew, chocolatey, apt, dnf でインストール

numpy のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:numpy
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install numpy
```

  証拠: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install python-numpy-doc
```

  証拠: Debian stable package indexes: python-numpy-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install python3-numpy
```

  証拠: Fedora Rawhide package metadata: python3-numpy from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst

- Ubuntu apt (92%):

```sh
sudo apt install python3-numpy
```

  証拠: Ubuntu 24.04 LTS package indexes: python3-numpy from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz

### Windows

- Chocolatey (92%):

```sh
choco install numpy
```

  証拠: Chocolatey community package catalog: numpy from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','nordvpn-teams'

## パッケージ情報

- **パッケージキー:** brew:numpy
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/numpy>
- **バージョン:** 2.5.1
- **ソース概要:** Package for scientific computing with Python
- **ホームページ:** <https://www.numpy.org/>
- **リポジトリ:** <https://github.com/numpy/numpy>
- **上流ドキュメント:** <https://www.numpy.org/>
- **ライセンス:** BSD-3-Clause
- **ソースアーカイブ:** <https://files.pythonhosted.org/packages/22/fd/89965aa4ac08c74998539fcbf24fa3540f3e15237fbeb6bcf9c908f4aade/numpy-2.5.1.tar.gz>
- **最終更新:** 2026-07-07T20:38:47Z
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- f2py (cli)
- numpy-config (cli)
- f2py (エイリアス)
- numpy-config (エイリアス)

## 依存関係

- openblas

## ビルド依存関係

- gcc
- meson
- ninja
- python@3.13
- python@3.14

## インストール挙動

- post-install フック: 未定義
- 注意点: To run `f2py`, you may need to `brew install python@3.14`
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 2.5.1
- マネージャ更新日: 2026-07-07
- ローカルデータ: OK
- 上流リポジトリ: https://www.numpy.org/
- 情報: Release/tag comparison is only available for GitHub repositories.
## プロジェクトの歴史と使われ方

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

### ソース

- <https://formulae.brew.sh/formula/numpy>
- <https://numpy.org/about/>
- <https://numpy.org/doc/stable/f2py/>
- <https://numpy.org/doc/stable/user/whatisnumpy.html>
- <https://scipy.github.io/old-wiki/pages/History_of_SciPy>
- <https://www.nature.com/articles/s41586-020-2649-2>


## セキュリティノート

numpy に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、パッケージメタデータはここに公開されています。


## ソースデータベース詳細

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** numpy
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## 他のパッケージマネージャ記録

- Debian apt - python-numpy-doc - 1:2.2.4+ds-1: normalized package name match | Debian stable package indexes: python-numpy-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Python library for numerical computations (Documentation) | http://www.numpy.org/
- Debian apt - python3-numpy - 1:2.2.4+ds-1: normalized package name match | Debian stable package indexes: python3-numpy from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Python library for numerical computations (Python 3) | http://www.numpy.org/
- Debian apt - python3-numpy-dev - 1:2.2.4+ds-1: normalized package name match | Debian stable package indexes: python3-numpy-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Python library for numerical computations (Python 3 headers) | http://www.numpy.org/
- Ubuntu apt - python3-numpy - 1:1.26.4+ds-6ubuntu1: normalized package name match | Ubuntu 24.04 LTS package indexes: python3-numpy from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | Fast array facility to the Python language (Python 3) | http://www.numpy.org/
- dnf - python3-numpy - 2.5.1-3.fc45: normalized package name match | Fedora Rawhide package metadata: python3-numpy from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | A fast multidimensional array facility for Python | http://www.numpy.org/
- dnf - python3-numpy-doc - 2.5.1-3.fc45: normalized package name match | Fedora Rawhide package metadata: python3-numpy-doc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Documentation for numpy | http://www.numpy.org/
- dnf - python3-numpy-f2py - 2.5.1-3.fc45: normalized package name match | Fedora Rawhide package metadata: python3-numpy-f2py from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | f2py for numpy | http://www.numpy.org/
- Chocolatey - numpy: normalized package name match | Chocolatey community package catalog: numpy from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','nordvpn-teams'


## 関連リンク

- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Language runtime packages](https://pkg.so/ja/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [Networking and protocol packages](https://pkg.so/ja/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Scientific computing packages](https://pkg.so/ja/scientific-computing-tools/) - Matched scientific computing metadata.
- [python@3.14](https://pkg.so/ja/brew/python-3-14/) - Build dependency declared by Homebrew.
- [python@3.13](https://pkg.so/ja/brew/python-3-13/) - Build dependency declared by Homebrew.
- [gcc](https://pkg.so/ja/brew/gcc/) - Build dependency declared by Homebrew.
- [ninja](https://pkg.so/ja/brew/ninja/) - Build dependency declared by Homebrew.
- [gdal](https://pkg.so/ja/brew/gdal/) - Popular package that depends on this formula.
- [openvino](https://pkg.so/ja/brew/openvino/) - Popular package that depends on this formula.
- [opencv](https://pkg.so/ja/brew/opencv/) - Popular package that depends on this formula.
- [pytorch](https://pkg.so/ja/brew/pytorch/) - Popular package that depends on this formula.
- [checkov](https://pkg.so/ja/brew/checkov/) - Popular package that depends on this formula.
- [prowler](https://pkg.so/ja/brew/prowler/) - Popular package that depends on this formula.
- [metis](https://pkg.so/ja/brew/metis/) - Shares pkgdb curated category or tags: cli, science, scientific-computing.
- [root](https://pkg.so/ja/brew/root/) - Shares pkgdb curated category or tags: cli, science, scientific-computing.
- [suite-sparse](https://pkg.so/ja/brew/suite-sparse/) - Shares pkgdb curated category or tags: cli, linear-algebra, numerical-computing, science.
- [octave](https://pkg.so/ja/brew/octave/) - Shares pkgdb curated category or tags: cli, numerical-computing, science, scientific-computing.
- [gsl](https://pkg.so/ja/brew/gsl/) - Shares pkgdb curated category or tags: cli, numerical-computing, science, scientific-computing.
- [jupyterlab](https://pkg.so/ja/brew/jupyterlab/) - Shares pkgdb curated category or tags: cli, python, science.
- [fftw](https://pkg.so/ja/brew/fftw/) - Shares pkgdb curated category or tags: cli, numerical-computing, science.
- [vtk](https://pkg.so/ja/brew/vtk/) - Shares pkgdb curated category or tags: cli, science, scientific-computing.
- [precice](https://pkg.so/ja/brew/precice/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, computing, config, numpy, python.

## Combined YAML source

View the package source record on GitHub. [combined/numpy.yml](https://github.com/mxcl/pkgdb/blob/main/combined/numpy.yml)


## ソース

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