# 使用 Homebrew, dnf, MacPorts, Nix, zypper, apt 安装 ucommon

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

## 安装

```sh
sudo av install brew:ucommon
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install ucommon
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install ucommon
```

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

### Linux

- dnf (92%):

```sh
sudo dnf install ucommon
```

  证据: Fedora Rawhide package metadata: ucommon from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#ucommon
```

  证据: nixpkgs package indexes: pkgs/by-name/uc/ucommon/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- zypper (92%):

```sh
sudo zypper install ucommon
```

  证据: openSUSE Tumbleweed package metadata: ucommon from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

- Debian apt (92%):

```sh
sudo apt install libucommon-dev
```

  证据: Debian stable package indexes: libucommon-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

## 软件包事实

- **软件包键:** brew:ucommon
- **软件包管理器:** Homebrew
- **版本:** 7.0.1
- **来源摘要:** GNU C++ runtime library for threads, sockets, and parsing
- **主页:** <https://www.gnu.org/software/commoncpp/>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- args (别名)
- car (别名)
- commoncpp-config (别名)
- keywait (别名)
- mdsum (别名)
- pdetach (别名)
- scrub-files (别名)
- sockaddr (别名)
- ucommon-config (别名)
- urlout (别名)
- zerofill (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 7.0.1
## 项目历史与用法

GNU uCommon C++ is a lightweight C++ runtime and portability library associated with GNU Telephony. It grew out of GNU Common C++ work and packages both uCommon and the original Common C++ framework for legacy application support.

### 项目历史

The GNU project page describes GNU Common C++ as a framework originally designed for telephony applications. It says the original library was refactored into GNU uCommon C++, a different codebase better suited to embedded applications, while the older Common C++ framework remains included for legacy support.

The repository NEWS file records that early uCommon releases existed in 1999-2000 as a pure C library for embedded targets, that new C++ work began in 2006, and that uCommon C++ 0.4 was a complete rewrite aimed at threading and design patterns for deeply embedded targets. Later releases merged more Common C++ classes, switched the library to LGPLv3-or-later at 2.0, and added secure framework features in the 3.x line.

### 采用历史

The GNU page ties uCommon to the GNU Telephony stack, including GNU Bayonne, GNU Common C++ RTP Stack, GNU ccScript, and GNU ccAudio2. The input package metadata shows packaging across Homebrew, Debian, Ubuntu, Fedora, MacPorts, Nix, and openSUSE, which is consistent with a library adopted mainly as a dependency rather than as an end-user application.

### 使用方式

Developers use uCommon as a linkable C++ library for threads, synchronization, sockets, XML parsing, serialization, configuration files, strings, and data structures. The official page emphasizes hiding platform differences, supporting POSIX threading, and supporting cross-builds for Windows through mingw.

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

For package nerds, uCommon matters as dependency infrastructure: the visible Homebrew formula installs small helper binaries, but the durable value is a GNU library ABI used by telephony and networking software. It is the kind of package that appears in dependency closures, distro development packages, and source builds more often than in direct daily CLI use.

### 时间线

- 1999-2000: First uCommon releases existed as a pure C embedded library.
- 2006: Work on the C++ refactoring began.
- 2008: NEWS described the visible release history through uCommon 3.1.
- 2.0 series: uCommon switched to LGPLv3-or-later and merged more Common C++ functionality.
- 3.x series: uCommon merged related libraries and added secure framework features.

### Related projects

- The GNU page names GNU Bayonne, GNU Common C++ RTP Stack, GNU ccScript, and GNU ccAudio2 as related or consuming projects.
- The same page says original GNU Common C++ development now happens as part of uCommon, with bug fixes continuing for the stable legacy code.

### 来源

- <https://git.savannah.gnu.org/cgit/commoncpp.git/plain/NEWS>
- <https://git.savannah.gnu.org/cgit/commoncpp.git/plain/README>
- <https://www.gnu.org/software/commoncpp>
- source_facts.package-manager


## 安全说明

generalized runtime or code generation signal.

- **Geiger 风险:** yellow / 中
- generalized runtime or code generation signal

## 其他软件包管理器记录

- Debian apt - libucommon-dev - 7.0.1-0.4+b1: normalized package name match | Debian stable package indexes: libucommon-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | lightweight C++ threading and sockets - development files | http://www.gnu.org/software/commoncpp/
- Debian apt - libucommon8t64 - 7.0.1-0.4+b1: normalized package name match | Debian stable package indexes: libucommon8t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | lightweight C++ threading and sockets - shared libraries | http://www.gnu.org/software/commoncpp/
- Debian apt - ucommon-doc - 7.0.1-0.4: normalized package name match | Debian stable package indexes: ucommon-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | lightweight C++ threading and sockets - documentation | http://www.gnu.org/software/commoncpp/
- Debian apt - ucommon-utils - 7.0.1-0.4+b1: normalized package name match | Debian stable package indexes: ucommon-utils from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | lightweight C++ threading and sockets - utilities | http://www.gnu.org/software/commoncpp/
- Nix - ucommon: normalized package name match | nixpkgs package indexes: pkgs/by-name/uc/ucommon/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - libucommon-dev - 7.0.1-0.2ubuntu4: normalized package name match | Ubuntu 24.04 LTS package indexes: libucommon-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | lightweight C++ threading and sockets - development files | http://www.gnu.org/software/commoncpp/
- Ubuntu apt - libucommon8t64 - 7.0.1-0.2ubuntu4: normalized package name match | Ubuntu 24.04 LTS package indexes: libucommon8t64 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | lightweight C++ threading and sockets - shared libraries | http://www.gnu.org/software/commoncpp/
- Ubuntu apt - ucommon-doc - 7.0.1-0.2ubuntu4: normalized package name match | Ubuntu 24.04 LTS package indexes: ucommon-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | lightweight C++ threading and sockets - documentation | http://www.gnu.org/software/commoncpp/
- Ubuntu apt - ucommon-utils - 7.0.1-0.2ubuntu4: normalized package name match | Ubuntu 24.04 LTS package indexes: ucommon-utils from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | lightweight C++ threading and sockets - utilities | http://www.gnu.org/software/commoncpp/
- dnf - ucommon - 7.0.0-29.fc45: normalized package name match | Fedora Rawhide package metadata: ucommon from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Portable C++ framework for threads and sockets | http://www.gnu.org/software/commoncpp
- dnf - ucommon-bin - 7.0.0-29.fc45: normalized package name match | Fedora Rawhide package metadata: ucommon-bin from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | GNU uCommon system and support applications | http://www.gnu.org/software/commoncpp
- dnf - ucommon-devel - 7.0.0-29.fc45: normalized package name match | Fedora Rawhide package metadata: ucommon-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Headers for building GNU uCommon applications | http://www.gnu.org/software/commoncpp
- dnf - ucommon-doc - 7.0.0-29.fc45: normalized package name match | Fedora Rawhide package metadata: ucommon-doc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Generated class documentation for GNU uCommon | http://www.gnu.org/software/commoncpp
- zypper - libucommon8 - 7.0.1-2.9: normalized package name match | openSUSE Tumbleweed package metadata: libucommon8 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | GNU uCommon Runtime library for portable C++ threading and sockets | http://www.gnu.org/software/commoncpp
- zypper - ucommon - 7.0.1-2.9: normalized package name match | openSUSE Tumbleweed package metadata: ucommon from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Runtime library for portable C++ threading and sockets | http://www.gnu.org/software/commoncpp
- zypper - ucommon-devel - 7.0.1-2.9: normalized package name match | openSUSE Tumbleweed package metadata: ucommon-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Headers for building ucommon applications | http://www.gnu.org/software/commoncpp


## Combined YAML source

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


## 来源

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