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

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

## 安装

```sh
sudo av install brew:shaderc
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install shaderc
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install shaderc
```

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

### Linux

- apk (92%):

```sh
sudo apk add shaderc
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#shaderc
```

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

- pacman (92%):

```sh
sudo pacman -S shaderc
```

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

- zypper (92%):

```sh
sudo zypper install shaderc
```

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

- Debian apt (92%):

```sh
sudo apt install glslc
```

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

- dnf (92%):

```sh
sudo dnf install glslc
```

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

## 软件包事实

- **软件包键:** brew:shaderc
- **软件包管理器:** Homebrew
- **版本:** 2026.3
- **来源摘要:** Collection of tools, libraries, and tests for Vulkan shader compilation
- **主页:** <https://github.com/google/shaderc>
- **仓库:** <https://github.com/google/shaderc>
- **最后更新:** 2026-07-17T09:57:06Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- glslc (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 2026.3

## 安全说明

narrow executable package without higher-risk signals.

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

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

- Debian apt - glslc - 2025.2-1: normalized package name match | Debian stable package indexes: glslc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Command line compiler for GLSL/HLSL to SPIR-V | https://github.com/google/shaderc/
- Debian apt - libshaderc-dev - 2025.2-1: normalized package name match | Debian stable package indexes: libshaderc-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Library API for accessing glslc functionality - static libraries and headers | https://github.com/google/shaderc/
- Debian apt - libshaderc1 - 2025.2-1: normalized package name match | Debian stable package indexes: libshaderc1 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Library API for accessing glslc functionality - shared libraries | https://github.com/google/shaderc/
- Nix - shaderc: normalized package name match | nixpkgs package indexes: pkgs/by-name/sh/shaderc/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - glslc - 2023.8-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: glslc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Command line compiler for GLSL/HLSL to SPIR-V | https://github.com/google/shaderc/
- Ubuntu apt - libshaderc-dev - 2023.8-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libshaderc-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Library API for accessing glslc functionality - static libraries and headers | https://github.com/google/shaderc/
- Ubuntu apt - libshaderc1 - 2023.8-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libshaderc1 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Library API for accessing glslc functionality - shared libraries | https://github.com/google/shaderc/
- apk - shaderc - 2026.1-r0: normalized package name match | Alpine Linux edge package indexes: shaderc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Collection of tools, libraries, and tests for Vulkan shader compilation | https://github.com/google/shaderc
- apk - shaderc-dev - 2026.1-r0: normalized package name match | Alpine Linux edge package indexes: shaderc-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Collection of tools, libraries, and tests for Vulkan shader compilation (development files) | https://github.com/google/shaderc
- apk - shaderc-static - 2026.1-r0: normalized package name match | Alpine Linux edge package indexes: shaderc-static from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Collection of tools, libraries, and tests for Vulkan shader compilation (static library) | https://github.com/google/shaderc
- dnf - glslc - 2026.2-3.fc45: normalized package name match | Fedora Rawhide package metadata: glslc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | A command line compiler for GLSL/HLSL to SPIR-V | https://github.com/google/shaderc
- dnf - libshaderc - 2026.2-3.fc45: normalized package name match | Fedora Rawhide package metadata: libshaderc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | A library for compiling shader strings into SPIR-V | https://github.com/google/shaderc
- dnf - libshaderc-devel - 2026.2-3.fc45: normalized package name match | Fedora Rawhide package metadata: libshaderc-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Development files for libshaderc | https://github.com/google/shaderc
- dnf - libshaderc-static - 2026.2-3.fc45: normalized package name match | Fedora Rawhide package metadata: libshaderc-static from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | A library for compiling shader strings into SPIR-V (static libraries) | https://github.com/google/shaderc
- pacman - shaderc - 2026.3-1: normalized package name match | Arch Linux sync databases: shaderc from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Collection of tools, libraries and tests for shader compilation | https://github.com/google/shaderc
- zypper - libshaderc_shared1 - 2026.3-1.2: normalized package name match | openSUSE Tumbleweed package metadata: libshaderc_shared1 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | SPIR-V shader compiler library | https://github.com/google/shaderc


## Combined YAML source

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


## 来源

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