# 使用 Homebrew, apk, MacPorts, zypper, apt, dnf 安装 ossp-uuid

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

## 安装

```sh
sudo av install brew:ossp-uuid
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install ossp-uuid
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install ossp-uuid
```

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

### Linux

- apk (92%):

```sh
sudo apk add ossp-uuid
```

  证据: Alpine Linux edge package indexes: ossp-uuid from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- zypper (92%):

```sh
sudo zypper install ossp-uuid
```

  证据: openSUSE Tumbleweed package metadata: ossp-uuid from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

- Debian apt (92%):

```sh
sudo apt install libossp-uuid-dev
```

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

- dnf (92%):

```sh
sudo dnf install uuid
```

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

## 软件包事实

- **软件包键:** brew:ossp-uuid
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/ossp-uuid>
- **版本:** 1.6.2
- **来源摘要:** ISO-C API and CLI for generating UUIDs
- **主页:** <http://www.ossp.org/pkg/lib/uuid/>
- **仓库:** <http://cvs.ossp.org/pkg/lib/uuid>
- **上游文档:** <http://www.ossp.org/pkg/lib/uuid>
- **许可证:** BSD-1-Clause
- **源码归档:** <https://deb.debian.org/debian/pool/main/o/ossp-uuid/ossp-uuid_1.6.2.orig.tar.gz>
- **最后更新:** 2026-07-11T09:50:50+09:00
- **已生成:** 2026-07-25T07:20:51+00:00

## 可执行文件

- uuid (cli)
- uuid-config (cli)
- uuid (别名)
- uuid-config (别名)

## 安装行为

- 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-07-25
- 管理器版本: 1.6.2
- 管理器更新时间: 2026-07-11
- 本地数据: OK
- 上游仓库: http://www.ossp.org/pkg/lib/uuid/
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

OSSP uuid is an ISO C API and command-line interface for generating, importing, exporting, and inspecting UUIDs in the DCE 1.1, ISO/IEC 11578, and RFC 4122 tradition.

### 项目历史

The OSSP uuid manual gives a clear origin: Ralf S. Engelschall implemented it in January 2004 for UUID use in the OSSP as and OpenPKG projects. The stated design goal was a clean-room implementation that was standards-compliant and portable.

Version 1.6.2, dated July 4, 2008 in the manual and README copies, represents the mature packaged form. The library supports UUID versions 1, 3, 4, and 5, plus C++, Perl, and PHP bindings and compatibility layers for DCE-1.1 and Perl Data::UUID APIs.

### 采用历史

OSSP uuid spread through Unix packaging as a small system library and CLI rather than through a high-activity public repository. It appears in Homebrew, Debian/Ubuntu development packages, Alpine, Fedora-family packages, MacPorts, and openSUSE-family packages because many older C and scripting-language projects needed a portable UUID implementation before UUID generation became ubiquitous in standard runtimes and platform libraries.

### 使用方式

Developers use the `uuid` CLI or the C API to generate time-based, random, or name-based UUIDs, parse binary and string forms, compare UUIDs, load namespace UUIDs, and export UUIDs as binary, canonical text, single-integer, or descriptive text formats.

The library is most relevant when maintaining C-era software, package build scripts, or software that explicitly depends on OSSP's API and ABI rather than a newer platform-native UUID facility.

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

ossp-uuid is a useful package-history fossil: a portable standards implementation from the OpenPKG/OSSP world that remains packaged because ABI compatibility and old build systems outlive the excitement around the underlying primitive.

### 时间线

- January 2004: Ralf S. Engelschall implemented OSSP uuid for OSSP as and OpenPKG. July 2005: RFC 4122 standardized the UUID URN namespace that OSSP uuid targets. July 4, 2008: OSSP uuid 1.6.2 was released according to the manual.

### Related projects

- Data::UUID, platform uuidgen tools, libc/libuuid implementations, and later RFC 9562 UUID tooling occupy the same identifier-generation space.

### 来源

- <http://www.ossp.org/pkg/lib/uuid/>
- <https://formulae.brew.sh/formula/ossp-uuid>
- <https://manpages.debian.org/jessie/libossp-uuid-dev/uuid.3ossp.en.html>
- <https://www.mankier.com/3/ossp-uuid>
- <https://www.rfc-editor.org/info/rfc4122/>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** ossp-uuid
- **Version Scheme:** 0
- **Revision:** 2
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

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

- Debian apt - libossp-uuid-dev - 1.6.4-1: normalized package name match | Debian stable package indexes: libossp-uuid-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | OSSP uuid ISO-C and C++ - headers and static libraries | http://www.ossp.org/pkg/lib/uuid/
- Debian apt - libossp-uuid-perl - 1.6.4-1: normalized package name match | Debian stable package indexes: libossp-uuid-perl from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | perl OSSP::UUID - OSSP uuid Perl Binding | http://www.ossp.org/pkg/lib/uuid/
- Debian apt - libossp-uuid16 - 1.6.4-1: normalized package name match | Debian stable package indexes: libossp-uuid16 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | OSSP uuid ISO-C and C++ - shared library | http://www.ossp.org/pkg/lib/uuid/
- Debian apt - uuid - 1.6.4-1: normalized package name match | Debian stable package indexes: uuid from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Universally Unique Identifier Command-Line Tool | http://www.ossp.org/pkg/lib/uuid/
- Ubuntu apt - libossp-uuid-dev - 1.6.2-1.5build13: normalized package name match | Ubuntu 24.04 LTS package indexes: libossp-uuid-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | OSSP uuid ISO-C and C++ - headers and static libraries | http://www.ossp.org/pkg/lib/uuid/
- Ubuntu apt - libossp-uuid-perl - 1.6.2-1.5build13: normalized package name match | Ubuntu 24.04 LTS package indexes: libossp-uuid-perl from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | perl OSSP::UUID - OSSP uuid Perl Binding | http://www.ossp.org/pkg/lib/uuid/
- Ubuntu apt - libossp-uuid16 - 1.6.2-1.5build13: normalized package name match | Ubuntu 24.04 LTS package indexes: libossp-uuid16 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | OSSP uuid ISO-C and C++ - shared library | http://www.ossp.org/pkg/lib/uuid/
- Ubuntu apt - uuid - 1.6.2-1.5build13: normalized package name match | Ubuntu 24.04 LTS package indexes: uuid from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Universally Unique Identifier Command-Line Tool | http://www.ossp.org/pkg/lib/uuid/
- apk - ossp-uuid - 1.6.6-r0: normalized package name match | Alpine Linux edge package indexes: ossp-uuid from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Open Source Software Project Universally Unique Identifier (UUID) | https://git.sr.ht/~nabijaczleweli/ossp-uuid
- apk - ossp-uuid-dev - 1.6.6-r0: normalized package name match | Alpine Linux edge package indexes: ossp-uuid-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Open Source Software Project Universally Unique Identifier (UUID) (development files) | https://git.sr.ht/~nabijaczleweli/ossp-uuid
- apk - ossp-uuid-doc - 1.6.6-r0: normalized package name match | Alpine Linux edge package indexes: ossp-uuid-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Open Source Software Project Universally Unique Identifier (UUID) (documentation) | https://git.sr.ht/~nabijaczleweli/ossp-uuid
- apk - ossp-uuid-libs - 1.6.6-r0: normalized package name match | Alpine Linux edge package indexes: ossp-uuid-libs from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Open Source Software Project Universally Unique Identifier (UUID) (libraries) | https://git.sr.ht/~nabijaczleweli/ossp-uuid
- apk - ossp-uuid-static - 1.6.6-r0: normalized package name match | Alpine Linux edge package indexes: ossp-uuid-static from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Open Source Software Project Universally Unique Identifier (UUID) (static library) | https://git.sr.ht/~nabijaczleweli/ossp-uuid
- zypper - ossp-uuid - 1.6.2-20.10: normalized package name match | openSUSE Tumbleweed package metadata: ossp-uuid from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | OSSP's Universally Unique Identifier generator | http://www.ossp.org/pkg/lib/uuid/
- MacPorts - ossp-uuid: normalized package name match | MacPorts ports tree: devel/ossp-uuid/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- dnf - uuid - 1.6.2-68.fc44: installed executable or alias match | Fedora Rawhide package metadata: uuid from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Universally Unique Identifier library | http://www.ossp.org/pkg/lib/uuid/


## 相关链接

- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/zh-hans/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/zh-hans/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/zh-hans/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [chmlib](https://www.automicvault.com/zh-hans/pkg/brew/chmlib/) - Shares av.db curated category or tags: c, cli, developer-tools, libraries, library.
- [json-glib](https://www.automicvault.com/zh-hans/pkg/brew/json-glib/) - Shares av.db curated category or tags: c, cli, developer-tools, libraries, library.
- [libcmph](https://www.automicvault.com/zh-hans/pkg/brew/libcmph/) - Shares av.db curated category or tags: c, cli, developer-tools, libraries, library.
- [libdatrie](https://www.automicvault.com/zh-hans/pkg/brew/libdatrie/) - Shares av.db curated category or tags: c, cli, developer-tools, libraries, library.
- [libdeflate](https://www.automicvault.com/zh-hans/pkg/brew/libdeflate/) - Shares av.db curated category or tags: c, cli, developer-tools, libraries, library.
- [nspr](https://www.automicvault.com/zh-hans/pkg/brew/nspr/) - Shares av.db curated category or tags: c, cli, developer-tools, libraries, library.
- [protobuf-c](https://www.automicvault.com/zh-hans/pkg/brew/protobuf-c/) - Shares av.db curated category or tags: c, cli, developer-tools, libraries, library.
- [cctz](https://www.automicvault.com/zh-hans/pkg/brew/cctz/) - Shares av.db curated category or tags: cli, developer-tools, libraries, library.
- [uuid](https://www.automicvault.com/zh-hans/pkg/npm/uuid/) - Executable or command metadata overlaps with this package. Shared terms: cli, developer, developer-tools, uuid, uuids.

## Combined YAML source

View the package source record on GitHub. [combined/ossp-uuid.yml](https://github.com/automic-vault/db/blob/main/combined/ossp-uuid.yml)


## 来源

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