# Installer pytorch avec Homebrew, apt, dnf

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de pytorch pour les workflows d'agents IA.

## installation

```sh
sudo av install brew:pytorch
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install pytorch
```

  Preuve: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install libtorch-dev
```

  Preuve: Debian stable package indexes: libtorch-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install python3-torch
```

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

## Faits du paquet

- **Clé du paquet:** brew:pytorch
- **Gestionnaire de paquets:** Homebrew
- **Page du gestionnaire de paquets:** <https://formulae.brew.sh/formula/pytorch>
- **Version:** 2.13.0
- **Résumé source:** Tensors and dynamic neural networks
- **Page d'accueil:** <https://pytorch.org/>
- **Dépôt:** <https://github.com/pytorch/pytorch>
- **Docs amont:** <https://pytorch.org/>
- **Licence:** BSD-3-Clause
- **Archive source:** <https://github.com/pytorch/pytorch/releases/download/v2.13.0/pytorch-v2.13.0.tar.gz>
- **Dernière mise à jour:** 2026-07-13T07:02:46Z
- **Généré:** 2026-08-04T22:13:35+00:00

## exécutables

- torchrun (cli)
- torchrun (alias)

## Dépendances

- abseil
- eigen
- libomp
- libuv
- libyaml
- numpy
- onnx
- openblas
- protobuf
- pybind11
- sleef

## Dépendances de compilation

- cmake
- ninja
- python@3.14

## Comportement d'installation

- hook post-installation: non défini
- Bouteille: disponible sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Version et fraîcheur

- page générée: 2026-08-04
- version du gestionnaire: 2.13.0
- gestionnaire mis à jour: 2026-07-13
- données locales: OK
- dépôt amont: https://github.com/pytorch/pytorch
- info: No cached GitHub release or tag data was available.

## Notes de sécurité

Aucun manifest local de gestion des secrets correspondant n'a été trouvé pour pytorch. Les métadonnées de paquet restent publiées ici afin que la couverture future dispose d'une URL stable.


## Détails de la base source

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

## Autres enregistrements de gestionnaires de paquets

- Debian apt - libtorch-dev - 2.6.0+dfsg-7: normalized package name match | Debian stable package indexes: libtorch-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Tensors and Dynamic neural networks in Python (Development Files) | https://pytorch.org/
- Debian apt - libtorch-test - 2.6.0+dfsg-7: normalized package name match | Debian stable package indexes: libtorch-test from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Tensors and Dynamic neural networks in Python (Test Binaries) | https://pytorch.org/
- Debian apt - libtorch2.6 - 2.6.0+dfsg-7: normalized package name match | Debian stable package indexes: libtorch2.6 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Tensors and Dynamic neural networks in Python (Shared Objects) | https://pytorch.org/
- Debian apt - python3-torch - 2.6.0+dfsg-7: normalized package name match | Debian stable package indexes: python3-torch from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Tensors and Dynamic neural networks in Python (Python Interface) | https://pytorch.org/
- dnf - python3-torch - 2.12.0-6.fc45: normalized package name match | Fedora Rawhide package metadata: python3-torch from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | PyTorch AI/ML framework | https://pytorch.org/


## Liens liés

- [MCP tool packages](https://pkg.so/fr/mcp-tools/) - Mentions MCP or Model Context Protocol.
- [AI and agent packages](https://pkg.so/fr/ai-agent-tools/) - Matched AI model, agent, coding-agent, orchestration, or MCP metadata.
- [Terminal utility packages](https://pkg.so/fr/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Language runtime packages](https://pkg.so/fr/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [protobuf](https://pkg.so/fr/brew/protobuf/) - Runtime dependency declared by Homebrew.
- [numpy](https://pkg.so/fr/brew/numpy/) - Runtime dependency declared by Homebrew.
- [python@3.14](https://pkg.so/fr/brew/python-3-14/) - Build dependency declared by Homebrew.
- [cmake](https://pkg.so/fr/brew/cmake/) - Build dependency declared by Homebrew.
- [ninja](https://pkg.so/fr/brew/ninja/) - Build dependency declared by Homebrew.
- [openai-whisper](https://pkg.so/fr/brew/openai-whisper/) - Popular package that depends on this formula.
- [pocket-tts](https://pkg.so/fr/brew/pocket-tts/) - Popular package that depends on this formula.
- [mlx](https://pkg.so/fr/brew/mlx/) - Shares pkgdb curated category or tags: ai, cli, machine-learning, ml-tools, python.
- [magika](https://pkg.so/fr/brew/magika/) - Shares pkgdb curated category or tags: ai, cli, deep-learning, machine-learning, ml-tools.
- [djl-serving](https://pkg.so/fr/brew/djl-serving/) - Shares pkgdb curated category or tags: ai, cli, deep-learning, machine-learning, ml-tools.
- [rgf](https://pkg.so/fr/brew/rgf/) - Shares pkgdb curated category or tags: ai, cli, machine-learning, ml-tools, python.
- [tesseract](https://pkg.so/fr/brew/tesseract/) - Shares pkgdb curated category or tags: ai, cli, machine-learning, ml-tools.
- [openvino](https://pkg.so/fr/brew/openvino/) - Shares pkgdb curated category or tags: ai, cli, deep-learning, ml-tools.
- [opencv](https://pkg.so/fr/brew/opencv/) - Shares pkgdb curated category or tags: ai, cli, machine-learning, ml-tools.
- [hf](https://pkg.so/fr/brew/hf/) - Shares pkgdb curated category or tags: ai, cli, machine-learning, ml-tools.
- [ncnn](https://pkg.so/fr/brew/ncnn/) - Local package facts share a topical domain. Shared terms: abseil, ai, cli, learning, libomp.

## Combined YAML source

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


## Sources

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