pkg.soopen package index

brew / 排名 2904

使用 Homebrew, apk, MacPorts, Nix, pacman, zypper, apt, dnf, scoop 安装 gptfdisk

查看 gptfdisk 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install gptfdisk

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install gptfdisk

MacPorts ports tree · sysutils/gptfdisk/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add gptfdisk

Alpine Linux edge package indexes · gptfdisk · 来源: dl-cdn.alpinelinux.org

Nix已验证 · 92%
nix profile install nixpkgs#gptfdisk

nixpkgs package indexes · pkgs/by-name/gp/gptfdisk/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S gptfdisk

Arch Linux sync databases · gptfdisk · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install gptfdisk

openSUSE Tumbleweed package metadata · gptfdisk · 来源: download.opensuse.org

Debian apt已验证 · 92%
sudo apt install gdisk

Debian stable package indexes · gdisk · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install gdisk

Fedora Rawhide package metadata · gdisk · 来源: dl.fedoraproject.org

Windows

Scoop已验证 · 92%
scoop install main/gdisk

Scoop official bucket manifest trees · bucket/gdisk.json · 来源: api.github.com

概览

软件包摘要

Text-mode partitioning tools

命令和别名

  • cgdisk
  • fixparts
  • gdisk
  • sgdisk

历史

项目历史与用法

GPT fdisk is Rod Smith's family of text-mode partitioning tools for GUID Partition Table disks, including `gdisk`, `cgdisk`, `sgdisk`, and `fixparts`.

项目历史

The official GPT fdisk page describes `gdisk`, `cgdisk`, and `sgdisk` as tools for GPT disks rather than older MBR partition tables, while `fixparts` repairs certain MBR damage and converts partition types between primary and logical.

The revisions page shows a long beta-era progression from early `gdisk` releases through added Mac OS X support, hybrid MBR handling, FreeBSD support, Windows support, non-512-byte-sector support, and the addition of `sgdisk` for scripts.

Version 0.7.0 added `fixparts` in March 2011, and version 0.8.0 added `cgdisk` in September 2011 as a cfdisk-like interface. Version 1.0.0 in March 2015 moved GPT fdisk out of beta status because the program had been used for years and appeared reliable.

The author-maintained rodsbooks.com pages remain the documentation center, while SourceForge provides source code and downloads for source and non-Linux binaries.

采用历史

GPT fdisk became important as EFI and GPT partitioning became ordinary on PCs, Macs, removable media, and large disks. It gave Unix users an fdisk-like workflow for GPT and gave script authors `sgdisk` for repeatable partition-table operations.

The tool family also filled a practical migration gap: its documentation covers MBR-to-GPT conversion, GPT-to-MBR conversion, hybrid MBRs, wiping GPT data, booting from GPT, and protective MBR details.

Its package-manager footprint is broad because disk partitioning tools must be available in rescue systems, installers, live environments, and administrator workstations.

使用方式

`gdisk` is the interactive expert-style tool, `cgdisk` offers a curses interface, `sgdisk` is suited to scripts and automation, and `fixparts` handles broken MBR partition tables.

Administrators use GPT fdisk for inspecting and editing GPT partition tables, converting legacy layouts, repairing GPT metadata, creating hybrid MBRs in edge cases, and preparing disks from rescue or installer environments.

The official documentation warns about platform limits such as FreeBSD write behavior on mounted disks and macOS System Integrity Protection restricting low-level access to system disks.

为什么软件包爱好者会关心

GPT fdisk is a package-nerd staple because it is both powerful and dangerous in the traditional Unix way: small named executables, manpages, scriptable operations, and direct disk writes.

It is also historically interesting because it tracks the storage transition from MBR assumptions to GPT/UEFI norms, including alignment issues, Advanced Format drives, hybrid MBR compatibility, Windows/macOS/FreeBSD support, and rescue-disk packaging.

时间线

  • 2009: Early beta-era `gdisk` releases receive successful-use reports and precompiled RPMs.
  • 2010: Version 0.6.0 adds non-512-byte-sector support and the new `sgdisk` program.
  • 2010: Version 0.6.2 adds Windows support.
  • 2011: Version 0.7.0 adds `fixparts`.
  • 2011: Version 0.8.0 adds `cgdisk`.
  • 2015: Version 1.0.0 moves GPT fdisk out of beta status.
  • 2021: Version 1.0.7 adds ARM64 Mac builds for `gdisk` and `fixparts`.
  • 2022: Version 1.0.9 adds Windows builds for `sgdisk` and `cgdisk`.
  • 2024: Version 1.0.10 includes bug fixes and disk-handling improvements.

Related projects

  • FreeBSD `gpt`, traditional `fdisk`, `cfdisk`, parted-style tools, UEFI firmware, rEFInd, and Linux rescue systems are recurring comparisons or environments in the GPT fdisk documentation.
  • `fixparts` has its own official page but is part of the GPT fdisk package family.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
cgdisk可执行文件已索引可执行文件从本地可执行文件索引发现。
fixparts可执行文件已索引可执行文件从本地可执行文件索引发现。
gdisk可执行文件已索引可执行文件从本地可执行文件索引发现。
sgdisk可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-08-03
管理器版本1.0.10
管理器更新时间2026-06-25
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:gptfdisk
版本1.0.10
软件包管理器Homebrew
主页https://www.rodsbooks.com/gdisk/
最后更新2026-06-25T13:37:44+02:00
Pulseupdated
Bottle未记录
服务未声明

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

gptfdisk

nix profile install nixpkgs#gptfdisk
  • normalized package name match
  • 匹配方式:Gptfdisk
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/gp/gptfdisk/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

gptfdisk 1.0.10-r1

Text-mode partitioning tool that works on Globally Unique Identifier (GUID) Partition Table (GPT) disks

https://www.rodsbooks.com/gdisk

sudo apk add gptfdisk
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: gptfdisk
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Gptfdisk
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: gptfdisk from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

gptfdisk-doc 1.0.10-r1

Text-mode partitioning tool that works on Globally Unique Identifier (GUID) Partition Table (GPT) disks (documentation)

https://www.rodsbooks.com/gdisk

sudo apk add gptfdisk-doc
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: gptfdisk
  • normalized package name match
  • 匹配方式:Gptfdisk
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: gptfdisk-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

sgdisk 1.0.10-r1

Command-line GUID partition table (GPT) manipulator

https://www.rodsbooks.com/gdisk

sudo apk add sgdisk
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: gptfdisk
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Gptfdisk
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: sgdisk from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
pacman95%

gptfdisk 1.0.10-2

A text-mode partitioning tool that works on GUID Partition Table (GPT) disks

https://www.rodsbooks.com/gdisk/

sudo pacman -S gptfdisk
  • License: GPL2
  • Architecture: x86_64
  • 4 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Gptfdisk
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: gptfdisk from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

gptfdisk 1.0.10-1.7

GPT partitioning and MBR repair software

http://rodsbooks.com/gdisk

sudo zypper install gptfdisk
  • License: GPL-2.0-only
  • Category: System/Base
  • Architecture: x86_64
  • Source Package: gptfdisk
  • 8 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Gptfdisk
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: gptfdisk from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst
zypper95%

gptfdisk-fixparts 1.0.10-1.7

A tool for repairing certain types of damage to MBR disks

http://rodsbooks.com/gdisk

sudo zypper install gptfdisk-fixparts
  • License: GPL-2.0-only
  • Category: System/Base
  • Architecture: x86_64
  • Source Package: gptfdisk
  • 3 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Gptfdisk
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: gptfdisk-fixparts from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst
MacPorts95%

gptfdisk

sudo port install gptfdisk
  • normalized package name match
  • 匹配方式:Gptfdisk
MacPorts ports tree · api.github.com · MacPorts ports tree: sysutils/gptfdisk/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Debian apt92%

gdisk 1.0.10-2

GPT fdisk text-mode partitioning tool

http://sourceforge.net/projects/gptfdisk/

sudo apt install gdisk
  • Section: admin
  • Architecture: amd64
  • 7 依赖
  • 1 可选依赖
  • installed executable or alias match
  • 匹配方式:Gdisk
Debian stable package indexes · deb.debian.org · Debian stable package indexes: gdisk from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Ubuntu apt92%

gdisk 1.0.10-1build1

GPT fdisk text-mode partitioning tool

http://sourceforge.net/projects/gptfdisk/

sudo apt install gdisk
  • Section: admin
  • Architecture: amd64
  • 7 依赖
  • 1 可选依赖
  • installed executable or alias match
  • 匹配方式:Gdisk
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: gdisk from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
dnf92%

gdisk 1.0.10-6.fc45

An fdisk-like partitioning tool for GPT disks

http://www.rodsbooks.com/gdisk/

sudo dnf install gdisk
  • License: GPL-2.0-only
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: gdisk
  • 10 依赖
  • 1 提供
  • installed executable or alias match
  • 匹配方式:Gdisk
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: gdisk from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst
Scoop92%

main/gdisk

scoop install main/gdisk
  • installed executable or alias match
  • 匹配方式:Gdisk
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/gdisk.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation