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

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

## 安装

```sh
sudo av install brew:libplist
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install libplist
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install libplist
```

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

### Linux

- apk (92%):

```sh
sudo apk add libplist
```

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

- dnf (92%):

```sh
sudo dnf install libplist
```

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

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

- pacman (92%):

```sh
sudo pacman -S libplist
```

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

- Debian apt (92%):

```sh
sudo apt install libplist++-2.0-4
```

  证据: Debian stable package indexes: libplist++-2.0-4 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- zypper (92%):

```sh
sudo zypper install libplist++-2_0-4
```

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

## 软件包事实

- **软件包键:** brew:libplist
- **软件包管理器:** Homebrew
- **版本:** 2.7.0
- **来源摘要:** Library for Apple Binary- and XML-Property Lists
- **主页:** <https://libimobiledevice.org/>
- **仓库:** <https://github.com/libimobiledevice/libplist>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- plistutil (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

libplist is the libimobiledevice project's portable C library for Apple property-list data. It reads and writes binary, XML, JSON, and OpenStep plist formats and ships the `plistutil` command-line converter.

### 项目历史

libplist belongs to the libimobiledevice family, a free software stack for talking to iPhone, iPod Touch, iPad, and Apple TV devices from non-Apple platforms without bundling Apple's proprietary libraries. In that stack, property-list parsing is foundational because many Apple device protocols exchange structured plist data.

The NEWS file shows the library evolving from the 1.x API line into 2.x releases with a custom XML parser, binary-plist parsing refactors, fuzzing, Cython bindings, JSON/OpenStep support, and more explicit format/error APIs.

### 采用历史

The README states that libplist is used by libimobiledevice and corresponding projects. Distribution packaging follows from that role: a small serialization library becomes a shared dependency for iOS-device tooling, command-line utilities, and bindings.

The project also gained packaging importance outside direct device access because plist files are a common Apple serialization format. `plistutil` gives Unix users a simple way to convert and inspect those files without Apple tooling.

### 使用方式

Developers link libplist to parse, generate, and convert plist data in C or C++ programs, with optional Python bindings. Command-line users use `plistutil` to convert between supported plist encodings.

Packagers care about the library/utility split, generated documentation, Cython option, and libimobiledevice dependency graph.

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

libplist is significant because it is the small serialization layer underneath a larger reverse-engineered device-access stack. It turns Apple's plist formats into ordinary Unix-library territory.

Its security and fuzzing history matter because plist parsing often sits at a trust boundary: tools may ingest files or device-provided data that should not crash or corrupt memory.

### 时间线

- 2018: The NEWS file's 2.0.0 entry records parser refactoring, removal of the libxml2 dependency, malformed-input handling, and security fixes.
- 2020: The NEWS file's 2.2.0 entry records GitHub Actions build testing, `plistutil` improvements, and the libplist-2.0 API-version rename.
- 2023: The NEWS file's 2.3.0 entry records JSON and OpenStep format support plus new format/error APIs.
- 2025: The NEWS file's 2.7.0 entry records Unix-timestamp helper APIs and build/tooling changes.

### Related projects

- libimobiledevice is the parent stack and main downstream user family.
- usbmuxd, libusbmuxd, libirecovery, and other libimobiledevice projects are related packages in the same device-access ecosystem.
- Apple property lists are the data format family that libplist implements independently.

### 来源

- <https://github.com/libimobiledevice/libplist>
- <https://libimobiledevice.org/>
- <https://libimobiledevice.org/docs>
- <https://raw.githubusercontent.com/libimobiledevice/libplist/master/NEWS>
- <https://raw.githubusercontent.com/libimobiledevice/libplist/master/README.md>


## 安全说明

library-like package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- library-like package without higher-risk signals

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

- Debian apt - libplist++-2.0-4 - 2.6.0-2+b1: normalized package name match | Debian stable package indexes: libplist++-2.0-4 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | C++ Library for handling Apple binary and XML property lists | https://www.libimobiledevice.org/
- Debian apt - libplist++-dev - 2.6.0-2+b1: normalized package name match | Debian stable package indexes: libplist++-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | C++ library for handling Apple binary and XML property lists - dev files | https://www.libimobiledevice.org/
- Debian apt - libplist-2.0-4 - 2.6.0-2+b1: normalized package name match | Debian stable package indexes: libplist-2.0-4 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Library for handling Apple binary and XML property lists | https://www.libimobiledevice.org/
- Debian apt - libplist-dev - 2.6.0-2+b1: normalized package name match | Debian stable package indexes: libplist-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Library for handling Apple binary and XML property lists - development files | https://www.libimobiledevice.org/
- Debian apt - libplist-doc - 2.6.0-2: normalized package name match | Debian stable package indexes: libplist-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Library for handling Apple binary and XML property lists - docs | https://www.libimobiledevice.org/
- Debian apt - libplist-utils - 2.6.0-2+b1: normalized package name match | Debian stable package indexes: libplist-utils from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Apple property list converter | https://www.libimobiledevice.org/
- Debian apt - python3-plist - 2.6.0-2+b1: normalized package name match | Debian stable package indexes: python3-plist from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Library for handling Apple binary and XML property lists - Python3 bindings | https://www.libimobiledevice.org/
- Nix - libplist: normalized package name match | nixpkgs package indexes: pkgs/by-name/li/libplist/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - libplist++-2.0-4 - 2.3.0-1~exp2build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libplist++-2.0-4 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | C++ Library for handling Apple binary and XML property lists | https://www.libimobiledevice.org/
- Ubuntu apt - libplist++-dev - 2.3.0-1~exp2build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libplist++-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | C++ library for handling Apple binary and XML property lists - dev files | https://www.libimobiledevice.org/
- Ubuntu apt - libplist-2.0-4 - 2.3.0-1~exp2build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libplist-2.0-4 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | Library for handling Apple binary and XML property lists | https://www.libimobiledevice.org/
- Ubuntu apt - libplist-dev - 2.3.0-1~exp2build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libplist-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | Library for handling Apple binary and XML property lists - development files | https://www.libimobiledevice.org/
- Ubuntu apt - libplist-doc - 2.3.0-1~exp2build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libplist-doc from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | Library for handling Apple binary and XML property lists - docs | https://www.libimobiledevice.org/
- Ubuntu apt - libplist-utils - 2.3.0-1~exp2build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libplist-utils from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Apple property list converter | https://www.libimobiledevice.org/
- Ubuntu apt - python3-plist - 2.3.0-1~exp2build2: normalized package name match | Ubuntu 24.04 LTS package indexes: python3-plist from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Library for handling Apple binary and XML property lists - Python3 bindings | https://www.libimobiledevice.org/
- apk - libplist - 2.7.0-r1: normalized package name match | Alpine Linux edge package indexes: libplist from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | library to handle Apple Property List format whereas it's binary or XML | https://libimobiledevice.org


## Combined YAML source

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