# testdisk mit Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, scoop, winget, zypper installieren

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

## Installation

```sh
sudo av install brew:testdisk
```

Weitere Installationsbefehle:

### macOS

- Homebrew (100%):

```sh
brew install testdisk
```

  Evidenz: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install testdisk
```

  Evidenz: MacPorts ports tree: sysutils/testdisk/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add testdisk
```

  Evidenz: Alpine Linux edge package indexes: testdisk from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install testdisk
```

  Evidenz: Debian stable package indexes: testdisk from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install qphotorec
```

  Evidenz: Fedora Rawhide package metadata: qphotorec from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#testdisk
```

  Evidenz: nixpkgs package indexes: testdisk from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

- pacman (92%):

```sh
sudo pacman -S testdisk
```

  Evidenz: Arch Linux sync databases: testdisk from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install photorec
```

  Evidenz: openSUSE Tumbleweed package metadata: photorec from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

### Windows

- Scoop (92%):

```sh
scoop install extras/testdisk
```

  Evidenz: Scoop official bucket manifest trees: bucket/testdisk.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id CGSecurity.TestDisk -e
```

  Evidenz: Windows Package Manager source index: CGSecurity.TestDisk from https://cdn.winget.microsoft.com/cache/source.msix

## Paketfakten

- **Paketschlüssel:** brew:testdisk
- **Paketmanager:** Homebrew
- **Paketmanager-Seite:** <https://formulae.brew.sh/formula/testdisk>
- **Version:** 7.2
- **Quellzusammenfassung:** Powerful free data recovery utility
- **Homepage:** <https://www.cgsecurity.org/wiki/TestDisk>
- **Repository:** <https://git.cgsecurity.org/cgit/testdisk>
- **Upstream-Dokumentation:** <https://www.cgsecurity.org/testdisk.pdf>
- **Lizenz:** GPL-2.0-or-later
- **Quellarchiv:** <https://www.cgsecurity.org/testdisk-7.2.tar.bz2>
- **Generiert:** 2026-07-08T18:08:21+00:00

## Executables

- fidentify (cli)
- photorec (cli)
- testdisk (cli)
- fidentify (Alias)
- photorec (Alias)
- testdisk (Alias)

## Von macOS bereitgestellte Bibliotheken

- ncurses

## 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-07-08
- Manager-Version: 7.2
- lokale Daten: OK
- Upstream-Repository: https://www.cgsecurity.org/wiki/TestDisk
- Info: No package-manager update timestamp was available.
- Info: Release/tag comparison is only available for GitHub repositories.
## Projektgeschichte und Nutzung

TestDisk is CGSecurity's long-running free and open-source data-recovery utility for recovering lost partitions, repairing boot sectors, rebuilding partition tables, and copying files from damaged or deleted filesystems. It is distributed with PhotoRec and is licensed under GPL v2 or later.

### Projektgeschichte

The official TestDisk documentation states that TestDisk was created in 1998 by Christophe Grenier, followed by PhotoRec in April 2002. CGSecurity continues to publish both tools together, with source available through its official cgit repository and release 7.2 documented in 2024.

### Adoptionsgeschichte

TestDisk became a standard rescue-disk and package-manager tool because it targets emergency recovery work across operating systems rather than a single desktop workflow. Official docs list ready-to-use binaries for DOS, Windows, Linux, and macOS, with compilation support for BSD, Haiku, SunOS/Solaris, and other Unix-like systems; package metadata lists it across Homebrew, Debian, Fedora, MacPorts, Nix, Arch, Scoop, Ubuntu, winget, and openSUSE.

### Wie es verwendet wird

The package is usually installed when a disk, memory card, USB drive, or partition table has already failed. Users run the interactive terminal program with administrator privileges, select a disk, inspect partition tables, perform quick or deeper searches, repair NTFS/FAT boot sectors, or copy recoverable files before writing any partition changes.

### Warum Paket-Nerds sich dafür interessieren

TestDisk is a classic package-nerd rescue tool: boring to install on a good day, priceless on a bad one. It is valued because it is small, cross-platform, terminal-based, script-adjacent, and available from ordinary package managers before a recovery emergency occurs.

### Zeitleiste

- 1998: Christophe Grenier creates TestDisk.
- 2002: PhotoRec created in April 2002.
- 2008: Official cgit tags list v6.9 and v6.10 releases.
- 2015: Official cgit tags list v7.0.
- 2019: Official cgit tags list v7.1.
- 2024: Official wiki and cgit tags list TestDisk 7.2 on February 22, 2024.
- 2026: TestDisk 7.2 PDF documentation dated January 4, 2026.

### Related projects

- TestDisk is distributed with PhotoRec and QPhotoRec, and is often used alongside live rescue environments, ddrescue imaging workflows, filesystem repair tools, and forensic triage utilities.

### Quellen

- <https://git.cgsecurity.org/cgit/testdisk/ official source repository.>
- <https://git.cgsecurity.org/cgit/testdisk/refs/tags official tag dates.>
- <https://www.cgsecurity.org/testdisk.pdf official PDF documentation with creation dates, author, platform notes, and recovery scope.>
- <https://www.cgsecurity.org/wiki/TestDisk official wiki description, license, supported tasks, operating systems, and documentation links.>
- source_facts.package-manager lists broad package-manager coverage.


## Sicherheitshinweise

narrow executable package without higher-risk signals.

- **Geiger-Risiko:** grün / niedrig
- narrow executable package without higher-risk signals

## Details aus der Quelldatenbank

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** testdisk
- **Version Scheme:** 0
- **Revision:** 0
- **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 - testdisk - 7.2-0.1: normalized package name match | Debian stable package indexes: testdisk from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Partition scanner and disk recovery tool, and PhotoRec file recovery tool
- Nix - testdisk: normalized package name match | nixpkgs package indexes: testdisk from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
- Ubuntu apt - testdisk - 7.1-5+nmu1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: testdisk from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Partition scanner and disk recovery tool, and PhotoRec file recovery tool
- apk - testdisk - 7.2-r1: normalized package name match | Alpine Linux edge package indexes: testdisk from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | A data recovery suite | https://www.cgsecurity.org/wiki/TestDisk
- apk - testdisk-doc - 7.2-r1: normalized package name match | Alpine Linux edge package indexes: testdisk-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | A data recovery suite (documentation) | https://www.cgsecurity.org/wiki/TestDisk
- dnf - qphotorec - 7.2-6.fc44: normalized package name match | Fedora Rawhide package metadata: qphotorec from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Signature based file carver. Recover lost files | https://www.cgsecurity.org/wiki/TestDisk
- dnf - testdisk - 7.2-6.fc44: normalized package name match | Fedora Rawhide package metadata: testdisk from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Tool to check and undelete partition, PhotoRec recovers lost files | https://www.cgsecurity.org/wiki/TestDisk
- pacman - testdisk - 7.2-3: normalized package name match | Arch Linux sync databases: testdisk from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Checks and undeletes partitions + PhotoRec, signature based recovery tool | https://www.cgsecurity.org/index.html?testdisk.html
- zypper - photorec - 7.2-1.7: normalized package name match | openSUSE Tumbleweed package metadata: photorec from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Tool to Undelete Files | https://www.cgsecurity.org/wiki/TestDisk
- zypper - qphotorec - 7.2-1.7: normalized package name match | openSUSE Tumbleweed package metadata: qphotorec from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Graphical tool to Undelete Files | https://www.cgsecurity.org/wiki/TestDisk
- zypper - testdisk - 7.2-1.7: normalized package name match | openSUSE Tumbleweed package metadata: testdisk from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Tool to Recover and Fix Partitions | https://www.cgsecurity.org/wiki/TestDisk
- MacPorts - testdisk: normalized package name match | MacPorts ports tree: sysutils/testdisk/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - extras/testdisk: normalized package name match | Scoop official bucket manifest trees: bucket/testdisk.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1
- winget - CGSecurity.TestDisk: normalized package name match | Windows Package Manager source index: CGSecurity.TestDisk from https://cdn.winget.microsoft.com/cache/source.msix


## Verwandte Links

- [Terminal utility packages](https://www.automicvault.com/de/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/de/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Database and data packages](https://www.automicvault.com/de/pkg/database-data-tools/) - Matched database, SQL, migration, or data-store metadata.
- [Documentation packages](https://www.automicvault.com/de/pkg/documentation-tools/) - Matched documentation, manual, or publishing metadata.
- [ddrescue](https://www.automicvault.com/de/pkg/brew/ddrescue/) - Shares av.db curated category or tags: cli, data-recovery, disk-recovery, system.
- [gzrt](https://www.automicvault.com/de/pkg/brew/gzrt/) - Shares av.db curated category or tags: cli, data-recovery, system.
- [lziprecover](https://www.automicvault.com/de/pkg/brew/lziprecover/) - Shares av.db curated category or tags: cli, data-recovery, system.
- [par2](https://www.automicvault.com/de/pkg/brew/par2/) - Shares av.db curated category or tags: cli, data-recovery, system.
- [recoverpy](https://www.automicvault.com/de/pkg/brew/recoverpy/) - Shares av.db curated category or tags: cli, data-recovery, system.
- [abduco](https://www.automicvault.com/de/pkg/brew/abduco/) - Shares av.db curated category or tags: cli, system.
- [acl](https://www.automicvault.com/de/pkg/brew/acl/) - Shares av.db curated category or tags: cli, system.
- [acpica](https://www.automicvault.com/de/pkg/brew/acpica/) - Shares av.db curated category or tags: cli, system.

## Combined YAML source

View the package source record on GitHub. [combined/testdisk.yml](https://github.com/automic-vault/db/blob/main/combined/testdisk.yml)


## Quellen

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