# 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

## Faits du paquet

- **Clé du paquet:** brew:pytorch
- **Gestionnaire de paquets:** Homebrew
- **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>
- **Dernière mise à jour:** 2026-07-13T07:02:46Z
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- torchrun (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: 2.13.0

## Notes de sécurité

Aucun manifest local de gestion des secrets correspondant n'a été trouvé pour pytorch. Les métadonnées de paquet Nucleus restent publiées ici afin que la couverture future dispose d'une URL 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | PyTorch AI/ML framework | https://pytorch.org/


## 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
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
