# 安装 protobuf-c

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

## 安装

```sh
sudo av install brew:protobuf-c
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install protobuf-c
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install protobuf-c
```

  证据: MacPorts ports tree: devel/protobuf-c/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add protobuf-c
```

  证据: Alpine Linux edge package indexes: protobuf-c from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

- dnf (92%):

```sh
sudo dnf install protobuf-c
```

  证据: Fedora Rawhide package metadata: protobuf-c from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/13ee7b80cb813542594d4235c4a0b8695435d5ecf23dd3580bc7515ae1b6180d-primary.xml.zst

- pacman (92%):

```sh
sudo pacman -S protobuf-c
```

  证据: Arch Linux sync databases: protobuf-c from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

## 软件包事实

- **软件包键:** brew:protobuf-c
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/protobuf-c>
- **版本:** 1.5.2
- **来源摘要:** Protocol buffers library
- **主页:** <https://github.com/protobuf-c/protobuf-c>
- **仓库:** <https://github.com/protobuf-c/protobuf-c>
- **许可证:** BSD-2-Clause
- **源码归档:** <https://github.com/protobuf-c/protobuf-c/releases/download/v1.5.2/protobuf-c-1.5.2.tar.gz>
- **更新:** 2026-05-21T21:54:12Z
- **生成来源:** 2026-05-26T22:45:13+00:00

## 可执行文件

- protoc-c (cli)
- protoc-gen-c (cli)
- protoc-c (别名)
- protoc-gen-c (别名)

## 依赖

- abseil
- protobuf

## 构建依赖

- pkgconf

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 新鲜度

- 页面生成时间: 2026-05-26
- 管理器版本: 1.5.2
- 管理器更新时间: 2026-05-21
- 本地数据: ok
- 上游仓库: https://github.com/protobuf-c/protobuf-c
- info: No cached GitHub release or tag data was available.

## 安全说明

library-like package without higher-risk signals.

- **Geiger 风险:** green / low
- library-like package without higher-risk signals

## 相关链接

- [protobuf](https://www.automicvault.com/pkg/brew/protobuf/) - Runtime dependency declared by Homebrew.
- [abseil](https://www.automicvault.com/pkg/brew/abseil/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [postgis](https://www.automicvault.com/pkg/brew/postgis/) - Popular package that depends on this formula.
- [yara](https://www.automicvault.com/pkg/brew/yara/) - Popular package that depends on this formula.
- [knot](https://www.automicvault.com/pkg/brew/knot/) - Popular package that depends on this formula.
- [mapserver](https://www.automicvault.com/pkg/brew/mapserver/) - Popular package that depends on this formula.
- [riemann-client](https://www.automicvault.com/pkg/brew/riemann-client/) - Popular package that depends on this formula.
- [collectd](https://www.automicvault.com/pkg/brew/collectd/) - Popular package that depends on this formula.
- [rsyslog](https://www.automicvault.com/pkg/brew/rsyslog/) - Popular package that depends on this formula.
- [knot-resolver](https://www.automicvault.com/pkg/brew/knot-resolver/) - Popular package that depends on this formula.

## 来源

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- package version freshness
- package relationship graph
- cross-ecosystem install command graph
