# 使用 Homebrew 安装 gptsync

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

## 安装

```sh
sudo av install brew:gptsync
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install gptsync
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:gptsync
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/gptsync>
- **版本:** 0.14
- **来源摘要:** GPT and MBR partition tables synchronization tool
- **主页:** <https://refit.sourceforge.net/>
- **上游文档:** <https://refit.sourceforge.net/>
- **许可证:** BSD-3-Clause
- **源码归档:** <https://downloads.sourceforge.net/project/refit/rEFIt/0.14/refit-src-0.14.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- gptsync (cli)
- showpart (cli)
- gptsync (别名)
- showpart (别名)

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.14
- 本地数据: OK
- 上游仓库: https://refit.sourceforge.net/
- 信息: No package-manager update timestamp was available.
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

gptsync is the GPT-to-MBR partition table synchronization utility from the rEFIt EFI boot toolkit. Its niche is Intel Mac dual-boot maintenance, where legacy BIOS-style operating systems expected an MBR view of a disk that was really partitioned with GPT.

### 项目历史

rEFIt began as an EFI boot menu and maintenance toolkit for Intel Macs. Its version history records a first public release on 2006-03-02 and says version 0.7, released on 2006-05-14, added a tool to synchronize GPT and MBR partition tables.

The rEFIt project later stopped active maintenance and pointed users toward rEFInd, a fork. gptsync remains packaged separately in Homebrew as a small system utility extracted from that older rEFIt codebase.

### 采用历史

gptsync mattered most during the Intel Mac and Boot Camp era, when hybrid GPT/MBR layouts were a practical compatibility layer for booting Windows or other legacy systems.

The tool's adoption is therefore narrow but historically useful: it appears in package managers because disk-repair and dual-boot workflows sometimes need the utility without installing the full rEFIt boot menu.

### 使用方式

The utility reads a device's GPT partition table and synchronizes the legacy MBR view. It is a low-level disk tool, so usage belongs in recovery, bootloader, or dual-boot maintenance contexts rather than routine application workflows.

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

gptsync is a classic small extracted utility: package managers keep it around because it solves a specific historical systems problem and has almost no substitute inside general application stacks.

### 时间线

- 2006-03-02: rEFIt 0.1 first public release.
- 2006-05-14: rEFIt 0.7 adds the GPT/MBR synchronization tool.
- 2007-03-25: rEFIt 0.9 improves gptsync filesystem and partition handling.
- 2010-03-07: rEFIt 0.14 adds support for additional partition types in gptsync.
- 2013-03-29: rEFIt site states the project is no longer actively maintained and points users to rEFInd.

### Related projects

- rEFIt is the parent EFI boot menu and maintenance toolkit.
- rEFInd is the successor fork named by the rEFIt project page.
- GPT fdisk solves adjacent GPT and hybrid-MBR maintenance problems, but it is a separate project.

### 来源

- <https://refit.sourceforge.net/>
- <https://refit.sourceforge.net/doc/c3s3_config.html>
- <https://refit.sourceforge.net/history.html>
- <https://sourceforge.net/p/refit/code/HEAD/tree/>


## 安全说明

broad file, network, media, or database tool signal.

- **Geiger 风险:** blue / 中
- broad file, network, media, or database tool signal

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** gptsync
- **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


## 相关链接

- [Secret-risk packages](https://pkg.so/zh-hans/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Homebrew utility packages](https://pkg.so/zh-hans/brew-utility-packages/) - Matched Homebrew package provider.
- [gptfdisk](https://pkg.so/zh-hans/brew/gptfdisk/) - Shares pkgdb curated category or tags: cli, gpt, mbr, partitioning, system.
- [gfxutil](https://pkg.so/zh-hans/brew/gfxutil/) - Shares pkgdb curated category or tags: cli, efi, system.
- [xz](https://pkg.so/zh-hans/brew/xz/) - Shares pkgdb curated category or tags: cli, system.
- [zstd](https://pkg.so/zh-hans/brew/zstd/) - Shares pkgdb curated category or tags: cli, system.
- [lz4](https://pkg.so/zh-hans/brew/lz4/) - Shares pkgdb curated category or tags: cli, system.
- [coreutils](https://pkg.so/zh-hans/brew/coreutils/) - Shares pkgdb curated category or tags: cli, system.
- [unzip](https://pkg.so/zh-hans/brew/unzip/) - Shares pkgdb curated category or tags: cli, system.
- [util-linux](https://pkg.so/zh-hans/brew/util-linux/) - Shares pkgdb curated category or tags: cli, system.
- [i686-elf-grub](https://pkg.so/zh-hans/brew/i686-elf-grub/) - Local package facts share a topical domain. Shared terms: cli, efi, system.

## Combined YAML source

View the package source record on GitHub. [combined/gptsync.yml](https://github.com/mxcl/pkgdb/blob/main/combined/gptsync.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- cross-ecosystem install command graph
