# 使用 Homebrew, apk, dnf, MacPorts, Nix, pacman, zypper, apt 安装 uriparser

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

## 安装

```sh
sudo av install brew:uriparser
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install uriparser
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install uriparser
```

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

### Linux

- apk (92%):

```sh
sudo apk add uriparser
```

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

- dnf (92%):

```sh
sudo dnf install uriparser
```

  证据: Fedora Rawhide package metadata: uriparser 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#uriparser
```

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

- pacman (92%):

```sh
sudo pacman -S uriparser
```

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

- zypper (92%):

```sh
sudo zypper install uriparser
```

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

- Debian apt (92%):

```sh
sudo apt install liburiparser-dev
```

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

## 软件包事实

- **软件包键:** brew:uriparser
- **软件包管理器:** Homebrew
- **版本:** 1.0.2
- **来源摘要:** URI parsing library (strictly RFC 3986 compliant)
- **主页:** <https://uriparser.github.io/>
- **仓库:** <https://github.com/uriparser/uriparser>
- **最后更新:** 2026-05-09T19:50:55Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- uriparse (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

uriparser is a C99 URI parsing and handling library focused on strict RFC 3986 compliance. Its README emphasizes cross-platform support, `char` and `wchar_t` APIs, CMake integration, and an optional `uriparse` command-line tool.

### 项目历史

The ChangeLog reaches back to the 0.2.1 release in 2006 and shows the library maturing quickly in 2007: version 0.3.0 introduced a new API, wide-string support, Doxygen documentation, tests, and BSD licensing for the library; 0.3.4 added shared-library support through libtool; and 0.4.x/0.5.x releases added reference resolution, string conversion, normalization, escaping, and Visual Studio project support.

### 采用历史

uriparser's package adoption follows from being a small C library with stable ABI concerns. The ChangeLog records pkg-config support in 0.7.5 and long-running soname updates, while the batch input lists packages for Homebrew, Debian, Ubuntu, Alpine, Fedora, Arch, MacPorts, Nix, and openSUSE.

### 使用方式

Developers use uriparser from C or C++ build systems when they need RFC 3986 parsing, normalization, composition, file-URI conversion, and URI component handling without pulling in a larger framework. The README shows CMake consumers using `find_package(uriparser ... CONFIG REQUIRED char wchar_t)` and linking `uriparser::uriparser`.

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

uriparser is a package-nerd library because it is small, ABI-sensitive, widely packaged, and security-relevant. Its recent ChangeLog entries include fuzzing, sanitizer, CI, mutation-testing, CVE, and C99 baseline work, which are exactly the kinds of maintenance details distro and Homebrew maintainers watch.

### 时间线

- 2006: ChangeLog records release 0.2.1.
- 2007: 0.3.0 introduced a new API, wide strings, Doxygen docs, tests, and BSD library licensing.
- 2007: 0.3.4 added shared-library support.
- 2009: 0.7.5 added a pkg-config file.
- 2018: GitHub repository metadata says the project moved from SourceForge to GitHub.
- 2025: 1.0.0 began requiring a C99 compiler and fixed a parser stack-overflow CVE.
- 2026: 1.0.1 and 1.0.2 fixed additional CVEs and memory-safety issues.

### Related projects

- The README ties uriparser to RFC 3986 and to CMake package consumers. The ChangeLog mentions OSS-Fuzz, GoogleTest, Doxygen, Qt compressed help, pkg-config, Visual Studio, and platform packaging work.

### 来源

- <https://github.com/uriparser/uriparser/blob/master/ChangeLog>
- <https://github.com/uriparser/uriparser/blob/master/README.md>
- <https://uriparser.github.io/>
- input source_facts.package-manager


## 安全说明

没有找到 uriparser 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


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

- Debian apt - liburiparser-dev - 0.9.8+dfsg-2: normalized package name match | Debian stable package indexes: liburiparser-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | development files for uriparser | https://uriparser.github.io/
- Debian apt - liburiparser-doc - 0.9.8+dfsg-2: normalized package name match | Debian stable package indexes: liburiparser-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | documentation files for uriparser | https://uriparser.github.io/
- Debian apt - liburiparser1 - 0.9.8+dfsg-2: normalized package name match | Debian stable package indexes: liburiparser1 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | URI parsing library compliant with RFC 3986 | https://uriparser.github.io/
- Nix - uriparser: normalized package name match | nixpkgs package indexes: pkgs/by-name/ur/uriparser/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - liburiparser-dev - 0.9.7+dfsg-2build1: normalized package name match | Ubuntu 24.04 LTS package indexes: liburiparser-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | development files for uriparser | http://uriparser.sourceforge.net
- Ubuntu apt - liburiparser-doc - 0.9.7+dfsg-2build1: normalized package name match | Ubuntu 24.04 LTS package indexes: liburiparser-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | documentation files for uriparser | http://uriparser.sourceforge.net
- Ubuntu apt - liburiparser1 - 0.9.7+dfsg-2build1: normalized package name match | Ubuntu 24.04 LTS package indexes: liburiparser1 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | URI parsing library compliant with RFC 3986 | http://uriparser.sourceforge.net
- apk - liburiparser - 1.0.2-r0: normalized package name match | Alpine Linux edge package indexes: liburiparser from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | strictly RFC 3986 compliant URI parsing and handling library (libraries) | https://uriparser.github.io/
- apk - uriparser - 1.0.2-r0: normalized package name match | Alpine Linux edge package indexes: uriparser from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | strictly RFC 3986 compliant URI parsing and handling library | https://uriparser.github.io/
- apk - uriparser-dev - 1.0.2-r0: normalized package name match | Alpine Linux edge package indexes: uriparser-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | strictly RFC 3986 compliant URI parsing and handling library (development files) | https://uriparser.github.io/
- dnf - mingw32-uriparser - 1.0.2-2.fc45: normalized package name match | Fedora Rawhide package metadata: mingw32-uriparser from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | MinGW Windows uriparser library | https://uriparser.github.io/
- dnf - mingw64-uriparser - 1.0.2-2.fc45: normalized package name match | Fedora Rawhide package metadata: mingw64-uriparser from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | MinGW Windows uriparser library | https://uriparser.github.io/
- dnf - uriparser - 1.0.2-2.fc45: normalized package name match | Fedora Rawhide package metadata: uriparser from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | URI parsing library - RFC 3986 | https://uriparser.github.io/
- dnf - uriparser-devel - 1.0.2-2.fc45: normalized package name match | Fedora Rawhide package metadata: uriparser-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Development files for uriparser | https://uriparser.github.io/
- dnf - uriparser-doc - 1.0.2-2.fc45: normalized package name match | Fedora Rawhide package metadata: uriparser-doc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | HTML documentation for uriparser | https://uriparser.github.io/
- pacman - uriparser - 1.0.2-1: normalized package name match | Arch Linux sync databases: uriparser from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | uriparser is a strictly RFC 3986 compliant URI parsing library. uriparser is cross-platform, fast, supports Unicode | https://github.com/uriparser/uriparser


## Combined YAML source

View the package source record on GitHub. [combined/uriparser.yml](https://github.com/mxcl/pkgdb/blob/main/combined/uriparser.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
