# pytorch mit Homebrew, apt, dnf installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für pytorch in AI-Agent-Workflows.

## Installation

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

Weitere Installationsbefehle:

### macOS

- Homebrew (100%):

```sh
brew install pytorch
```

  Evidenz: local Homebrew formula metadata

### Linux

- Debian apt (92%):

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

  Evidenz: 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
```

  Evidenz: 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

## Paketfakten

- **Paketschlüssel:** brew:pytorch
- **Paketmanager:** Homebrew
- **Paketmanager-Seite:** <https://formulae.brew.sh/formula/pytorch>
- **Version:** 2.13.0
- **Quellzusammenfassung:** Tensors and dynamic neural networks
- **Homepage:** <https://pytorch.org/>
- **Repository:** <https://github.com/pytorch/pytorch>
- **Upstream-Dokumentation:** <https://pytorch.org/>
- **Lizenz:** BSD-3-Clause
- **Quellarchiv:** <https://github.com/pytorch/pytorch/releases/download/v2.13.0/pytorch-v2.13.0.tar.gz>
- **Zuletzt aktualisiert:** 2026-07-13T07:02:46Z
- **Generiert:** 2026-08-04T22:13:35+00:00

## Executables

- torchrun (cli)
- torchrun (Alias)

## Abhängigkeiten

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

## Build-Abhängigkeiten

- cmake
- ninja
- python@3.14

## Installationsverhalten

- Post-install-Hook: nicht definiert
- Bottle: verfügbar auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Version und Aktualität

- Seite generiert: 2026-08-04
- Manager-Version: 2.13.0
- Manager aktualisiert: 2026-07-13
- lokale Daten: OK
- Upstream-Repository: https://github.com/pytorch/pytorch
- Info: No cached GitHub release or tag data was available.

## Sicherheitshinweise

Für pytorch wurde kein passendes lokales Secret-Handling-Manifest gefunden. Paketmetadaten bleiben hier veröffentlicht, damit künftige Abdeckung eine stabile Paket-URL hat.


## Details aus der Quelldatenbank

- **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

## Andere Paketmanager-Einträge

- 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/


## Verwandte Links

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


## Quellen

- 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
