Automic VaultAutomic Vault

brew

testdisk を Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, scoop, winget, zypper でインストール

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

インストール

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

macOS

Homebrew確認済み · 100%
brew install testdisk

local Homebrew formula metadata

MacPorts確認済み · 94%
sudo port install testdisk

MacPorts ports tree · sysutils/testdisk/Portfile · ソース: api.github.com

Linux

Alpine Linux apk確認済み · 92%
sudo apk add testdisk

Alpine Linux edge package indexes · testdisk · ソース: dl-cdn.alpinelinux.org

Debian apt確認済み · 92%
sudo apt install testdisk

Debian stable package indexes · testdisk · ソース: deb.debian.org

Fedora dnf確認済み · 92%
sudo dnf install qphotorec

Fedora Rawhide package metadata · qphotorec · ソース: dl.fedoraproject.org

Nix確認済み · 92%
nix profile install nixpkgs#testdisk

nixpkgs package indexes · testdisk · ソース: raw.githubusercontent.com

Arch Linux pacman確認済み · 92%
sudo pacman -S testdisk

Arch Linux sync databases · testdisk · ソース: geo.mirror.pkgbuild.com

openSUSE zypper確認済み · 92%
sudo zypper install photorec

openSUSE Tumbleweed package metadata · photorec · ソース: download.opensuse.org

Windows

Scoop確認済み · 92%
scoop install extras/testdisk

Scoop official bucket manifest trees · bucket/testdisk.json · ソース: api.github.com

Windows Package Manager確認済み · 92%
winget install --id CGSecurity.TestDisk -e

Windows Package Manager source index · CGSecurity.TestDisk · ソース: cdn.winget.microsoft.com

概要

パッケージ概要

Powerful free data recovery utility

コマンドとエイリアス

  • fidentify
  • photorec
  • testdisk

履歴

プロジェクトの歴史と使われ方

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.

プロジェクトの歴史

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.

採用の歴史

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.

使われ方

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.

パッケージ好きにとっての重要性

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.

タイムライン

  • 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.

セキュリティ状態

リスクレベル: グリーン

narrow executable package without higher-risk signals.

リスク分類器

リスク グリーン · 信頼度 低 · appliance

理由

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 6 個のプラットフォームターゲットで利用できます。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
fidentifycliグローバル実行可能ファイル
photoreccliグローバル実行可能ファイル
testdiskcliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-08
マネージャ版7.2
マネージャ更新日
ローカルデータOK
上流not checked
検出された最新未検出

https://www.cgsecurity.org/wiki/TestDisk

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:testdisk
バージョン7.2
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/testdisk
ホームページhttps://www.cgsecurity.org/wiki/TestDisk
リポジトリhttps://git.cgsecurity.org/cgit/testdisk
上流ドキュメントhttps://www.cgsecurity.org/testdisk.pdf
ライセンスGPL-2.0-or-later
ソースアーカイブhttps://www.cgsecurity.org/testdisk-7.2.tar.bz2
macOS 提供ライブラリncurses
Bottle利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nametestdisk
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

ソースデータベース一致

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

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Debian apt95%

testdisk 7.2-0.1

Partition scanner and disk recovery tool, and PhotoRec file recovery tool

sudo apt install testdisk
  • Section: admin
  • Architecture: amd64
  • 8 依存関係
  • normalized package name match
  • 一致条件: Testdisk
Debian stable package indexes · deb.debian.org · Debian stable package indexes: testdisk from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

testdisk

nix profile install nixpkgs#testdisk
  • normalized package name match
  • 一致条件: Testdisk
nixpkgs package indexes · raw.githubusercontent.com · nixpkgs package indexes: testdisk from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
Ubuntu apt95%

testdisk 7.1-5+nmu1build2

Partition scanner and disk recovery tool, and PhotoRec file recovery tool

sudo apt install testdisk
  • Section: universe/admin
  • Architecture: amd64
  • 9 依存関係
  • normalized package name match
  • 一致条件: Testdisk
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: testdisk from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

testdisk 7.2-r1

A data recovery suite

https://www.cgsecurity.org/wiki/TestDisk

sudo apk add testdisk
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: testdisk
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Testdisk
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: testdisk from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

testdisk-doc 7.2-r1

A data recovery suite (documentation)

https://www.cgsecurity.org/wiki/TestDisk

sudo apk add testdisk-doc
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: testdisk
  • normalized package name match
  • 一致条件: Testdisk
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: testdisk-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
dnf95%

qphotorec 7.2-6.fc44

Signature based file carver. Recover lost files

https://www.cgsecurity.org/wiki/TestDisk

sudo dnf install qphotorec
  • License: GPL-2.0-or-later
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: testdisk
  • 12 依存関係
  • 2 提供
  • normalized package name match
  • 一致条件: Testdisk
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: qphotorec from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

testdisk 7.2-6.fc44

Tool to check and undelete partition, PhotoRec recovers lost files

https://www.cgsecurity.org/wiki/TestDisk

sudo dnf install testdisk
  • License: GPL-2.0-or-later
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: testdisk
  • 9 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Testdisk
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: testdisk from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

testdisk 7.2-3

Checks and undeletes partitions + PhotoRec, signature based recovery tool

https://www.cgsecurity.org/index.html?testdisk.html

sudo pacman -S testdisk
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • 3 依存関係
  • normalized package name match
  • 一致条件: Testdisk
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: testdisk from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

photorec 7.2-1.7

Tool to Undelete Files

https://www.cgsecurity.org/wiki/TestDisk

sudo zypper install photorec
  • License: GPL-2.0-only
  • Category: System/Filesystems
  • Architecture: x86_64
  • Source Package: testdisk
  • 7 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Testdisk
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: photorec from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

qphotorec 7.2-1.7

Graphical tool to Undelete Files

https://www.cgsecurity.org/wiki/TestDisk

sudo zypper install qphotorec
  • License: GPL-2.0-only
  • Category: System/Filesystems
  • Architecture: x86_64
  • Source Package: testdisk
  • 10 依存関係
  • 2 提供
  • normalized package name match
  • 一致条件: Testdisk
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: qphotorec from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

testdisk 7.2-1.7

Tool to Recover and Fix Partitions

https://www.cgsecurity.org/wiki/TestDisk

sudo zypper install testdisk
  • License: GPL-2.0-only
  • Category: System/Filesystems
  • Architecture: x86_64
  • Source Package: testdisk
  • 5 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Testdisk
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: testdisk from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

testdisk

sudo port install testdisk
  • normalized package name match
  • 一致条件: Testdisk
MacPorts ports tree · api.github.com · MacPorts ports tree: sysutils/testdisk/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Scoop95%

extras/testdisk

scoop install extras/testdisk
  • normalized package name match
  • 一致条件: Testdisk
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/testdisk.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1
winget95%

CGSecurity.TestDisk

winget install --id CGSecurity.TestDisk -e
  • normalized package name match
  • 一致条件: Testdisk
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: CGSecurity.TestDisk from https://cdn.winget.microsoft.com/cache/source.msix

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

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