# 使用 Homebrew, dnf, Nix, pacman, zypper, apt 安装 pocl

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

## 安装

```sh
sudo av install brew:pocl
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install pocl
```

  证据: local Homebrew formula metadata

### Linux

- dnf (92%):

```sh
sudo dnf install pocl
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#pocl
```

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

- pacman (92%):

```sh
sudo pacman -S pocl
```

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

- zypper (92%):

```sh
sudo zypper install pocl
```

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

- Debian apt (92%):

```sh
sudo apt install libpocl-dev
```

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

## 软件包事实

- **软件包键:** brew:pocl
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/pocl>
- **版本:** 7.1
- **来源摘要:** Portable Computing Language
- **主页:** <https://portablecl.org/>
- **仓库:** <https://github.com/pocl/pocl>
- **上游文档:** <https://portablecl.org/>
- **许可证:** MIT
- **源码归档:** <https://github.com/pocl/pocl/archive/refs/tags/v7.1.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- poclcc (cli)
- poclcc (别名)

## 依赖

- hwloc
- llvm@21
- opencl-icd-loader

## 构建依赖

- cmake
- opencl-headers
- pkgconf

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 7.1
- 本地数据: OK
- 上游仓库: https://github.com/pocl/pocl
- 检测到的最新版本: v7.1 (当前)
- 信息: No package-manager update timestamp was available.

## 安全说明

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:** pocl
- **Version Scheme:** 0
- **Revision:** 1
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

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

- Debian apt - libpocl-dev - 6.0-6: normalized package name match | Debian stable package indexes: libpocl-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | development files for the PoCL library | http://portablecl.org
- Debian apt - libpocl-devices-level0 - 6.0-6: normalized package name match | Debian stable package indexes: libpocl-devices-level0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Portable Computing Language library - Level Zero device library | http://portablecl.org
- Debian apt - libpocl2-common - 6.0-6: normalized package name match | Debian stable package indexes: libpocl2-common from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | common files for the PoCL library | http://portablecl.org
- Debian apt - libpocl2t64 - 6.0-6: normalized package name match | Debian stable package indexes: libpocl2t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Portable Computing Language library | http://portablecl.org
- Debian apt - pocl-doc - 6.0-6: normalized package name match | Debian stable package indexes: pocl-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | documentation for the PoCL library | http://portablecl.org
- Debian apt - pocl-opencl-icd - 6.0-6: normalized package name match | Debian stable package indexes: pocl-opencl-icd from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | PoCL ICD | http://portablecl.org
- Debian apt - pocl-source - 6.0-6: normalized package name match | Debian stable package indexes: pocl-source from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | PoCL source code | http://portablecl.org
- Debian apt - pocl-tests - 6.0-6: normalized package name match | Debian stable package indexes: pocl-tests from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | PoCL testsuite | http://portablecl.org
- Debian apt - pocld - 6.0-6: normalized package name match | Debian stable package indexes: pocld from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | dummy pocld for PoCL-R | http://portablecl.org
- Nix - pocl: normalized package name match | nixpkgs package indexes: pkgs/by-name/po/pocl/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - libpocl-dev - 5.0-2.1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: libpocl-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | development files for the pocl library | http://portablecl.org
- Ubuntu apt - libpocl2-common - 5.0-2.1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: libpocl2-common from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | common files for the pocl library | http://portablecl.org
- Ubuntu apt - libpocl2t64 - 5.0-2.1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: libpocl2t64 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Portable Computing Language library | http://portablecl.org
- Ubuntu apt - pocl-doc - 5.0-2.1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: pocl-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | documentation for the pocl library | http://portablecl.org
- Ubuntu apt - pocl-opencl-icd - 5.0-2.1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: pocl-opencl-icd from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | pocl ICD | http://portablecl.org
- Ubuntu apt - pocl-source - 5.0-2.1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: pocl-source from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | pocl source code | http://portablecl.org


## 相关链接

- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/zh-hans/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Language runtime packages](https://pkg.so/zh-hans/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [hwloc](https://pkg.so/zh-hans/brew/hwloc/) - Runtime dependency declared by Homebrew.
- [llvm@21](https://pkg.so/zh-hans/brew/llvm-21/) - Runtime dependency declared by Homebrew.
- [opencl-icd-loader](https://pkg.so/zh-hans/brew/opencl-icd-loader/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://pkg.so/zh-hans/brew/pkgconf/) - Build dependency declared by Homebrew.
- [cmake](https://pkg.so/zh-hans/brew/cmake/) - Build dependency declared by Homebrew.
- [adaptivecpp](https://pkg.so/zh-hans/brew/adaptivecpp/) - Shares pkgdb curated category or tags: cli, compiler, developer-tools, gpu, heterogeneous-computing.
- [llvm](https://pkg.so/zh-hans/brew/llvm/) - Shares pkgdb curated category or tags: cli, compiler, developer-tools, llvm.
- [llvm@20](https://pkg.so/zh-hans/brew/llvm-20/) - Shares pkgdb curated category or tags: cli, compiler, developer-tools, llvm.
- [spirv-llvm-translator](https://pkg.so/zh-hans/brew/spirv-llvm-translator/) - Shares pkgdb curated category or tags: cli, developer-tools, llvm, opencl.
- [llvm@18](https://pkg.so/zh-hans/brew/llvm-18/) - Shares pkgdb curated category or tags: cli, compiler, developer-tools, llvm.
- [emscripten](https://pkg.so/zh-hans/brew/emscripten/) - Shares pkgdb curated category or tags: cli, compiler, developer-tools, llvm.
- [llvm@19](https://pkg.so/zh-hans/brew/llvm-19/) - Shares pkgdb curated category or tags: cli, compiler, developer-tools, llvm.
- [cppinsights](https://pkg.so/zh-hans/brew/cppinsights/) - Local package facts share a topical domain. Shared terms: cli, compiler, developer, developer-tools, llvm.

## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
