# 使用 Homebrew, pacman, apk 安装 basis_universal

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

## 安装

```sh
sudo av install brew:basis_universal
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install basis_universal
```

  证据: local Homebrew formula metadata

### Linux

- pacman (92%):

```sh
sudo pacman -S basis-universal
```

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

- apk (92%):

```sh
sudo apk add basisu
```

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

## 软件包事实

- **软件包键:** brew:basis_universal
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/basis_universal>
- **版本:** 2.1.0
- **来源摘要:** Basis Universal GPU texture codec command-line compression tool
- **主页:** <https://github.com/BinomialLLC/basis_universal>
- **仓库:** <https://github.com/BinomialLLC/basis_universal>
- **上游文档:** <https://github.com/BinomialLLC/basis_universal#readme>
- **许可证:** Apache-2.0
- **源码归档:** <https://github.com/BinomialLLC/basis_universal/archive/refs/tags/v2_1_0.tar.gz>
- **已生成:** 2026-07-08T18:08:21+00:00

## 可执行文件

- basisu (cli)
- basisu (别名)

## 构建依赖

- cmake

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 2.1.0
- 本地数据: OK
- 上游仓库: https://github.com/BinomialLLC/basis_universal
- 信息: No package-manager update timestamp was available.
- 信息: No cached GitHub release or tag data was available.
## 项目历史与用法

Basis Universal is Binomial's portable GPU texture supercompression and transcoding system. The README describes it as an open source LDR/HDR GPU compressed texture interchange system supporting Khronos KTX2 and Binomial's `.basis` format, with rapid transcoding to many GPU texture formats.

### 项目历史

The repository marks the reference encoder, transcoder, and specifications as copyright 2016-2026 Binomial LLC. Its early public identity centered on ETC1S and UASTC as portable intermediate formats: asset pipelines could ship one compressed texture and transcode on the target device to formats such as BC, ETC, PVRTC, ASTC, ATC, and FXT1.

The project matured from a command-line compressor/transcoder into a broader texture infrastructure stack: native C/C++ libraries, a `basisu` CLI, WebAssembly builds, JavaScript wrappers, WebGL examples, Python support, KTX2 support, HDR modes, and detailed codec specifications in the wiki.

### 采用历史

Khronos KTX-Software officially documents that KTX files can contain Basis Universal formats and includes a Basis Universal WebAssembly transcoder for JavaScript KTX parsers. That places Basis Universal inside the standard KTX2 toolchain used by OpenGL, Vulkan, Web, and asset-pipeline tooling.

Package-manager adoption follows the CLI and library utility: the supplied facts list Homebrew, Alpine, and Arch packages, while the upstream README documents native builds on Windows, Ubuntu, macOS, ARM, RISC-V, WebAssembly, and WASI.

### 使用方式

The `basisu` command-line tool creates, validates, transcodes, and unpacks `.ktx2` and `.basis` files. The README documents CMake builds, Visual Studio builds, WebAssembly/WASI executables, SSE/OpenCL options, and a `-test` mode for exercising encoder and transcoder paths.

Developers use Basis Universal to reduce download and distribution size while deferring final GPU format choice until runtime. KTX2 plus Basis formats are especially important for web and cross-platform engines that must support different GPU texture capabilities.

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

Basis Universal is package-nerd significant because it is both a CLI formula and a piece of graphics infrastructure. Packaging it gives asset pipelines access to the `basisu` encoder without requiring a full game engine or SDK install.

Its significance also comes from codec standardization pressure: the project has to track KTX2 headers, supercompression IDs, GPU texture formats, WebAssembly constraints, fuzzing, and compatibility with Khronos tooling.

### 时间线

- 2016: Binomial copyright range begins for the reference encoder, transcoder, and specifications.
- 2022-01-28: Version 1.16 release notes describe smaller code size, fewer dependencies, OpenCL support, faster ETC1S encoding, and parallel processing.
- 2024-09-10: Version 1.50.0 adds UASTC HDR, EXR/HDR image support, DDS read/write, and defaults the command-line tool to KTX2 output.
- 2025-01-21: Version 1.60.0 requires C++17 and adds UASTC HDR 6x6 and GPU Photo HDR-related modes.
- 2026-01-19: Version 2.0 adds full ASTC LDR support, XUASTC LDR, WASM/WASI support, Python support, and new real-time BC7/ETC1 encoders.
- 2026-02-24: Version 2.1 focuses on KTX-Software compatibility for UASTC HDR 4x4, UASTC HDR 6x6 intermediate, and XUASTC LDR formats.

### Related projects

- Related official projects and standards include Khronos KTX/KTX2, Khronos KTX-Software, Binomial's KTX-Software fork, WebAssembly/WASI builds, and GPU texture formats such as ETC1S, UASTC, ASTC, BC6H/BC7, PVRTC, ETC2, and DDS.

### 来源

- <https://github.com/BinomialLLC/basis_universal/blob/master/README.md>
- <https://github.com/BinomialLLC/basis_universal/wiki/Release-Notes>
- <https://github.com/KhronosGroup/KTX-Software/blob/main/README.md>
- source_facts.package-manager


## 安全说明

broad file, network, media, or database tool signal.

- **Geiger 风险:** blue / 中
- broad file, network, media, or database tool signal

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** basis_universal
- **Aliases:** basisu
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

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

- pacman - basis-universal - 2.1.0-2: normalized package name match | Arch Linux sync databases: basis-universal from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Basis Universal GPU Texture Codec | https://github.com/BinomialLLC/basis_universal
- apk - basisu - 1.16.4-r1: installed executable or alias match | Alpine Linux edge package indexes: basisu from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Basis Universal GPU Texture Codec | https://github.com/BinomialLLC/basis_universal
- apk - basisu-dev - 1.16.4-r1: installed executable or alias match | Alpine Linux edge package indexes: basisu-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Basis Universal GPU Texture Codec (development files) | https://github.com/BinomialLLC/basis_universal
- apk - basisu-libs - 1.16.4-r1: installed executable or alias match | Alpine Linux edge package indexes: basisu-libs from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Basis Universal GPU Texture Codec (libraries) | https://github.com/BinomialLLC/basis_universal


## 相关链接

- [Source-control packages](https://www.automicvault.com/zh-hans/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://www.automicvault.com/zh-hans/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Archive and compression packages](https://www.automicvault.com/zh-hans/pkg/archive-compression-tools/) - Matched archive or compression metadata.
- [cmake](https://www.automicvault.com/zh-hans/pkg/brew/cmake/) - Build dependency declared by Homebrew.
- [a52dec](https://www.automicvault.com/zh-hans/pkg/brew/a52dec/) - Shares av.db curated category or tags: cli, codec, media.
- [dav1d](https://www.automicvault.com/zh-hans/pkg/brew/dav1d/) - Shares av.db curated category or tags: cli, codec, media.
- [dirac](https://www.automicvault.com/zh-hans/pkg/brew/dirac/) - Shares av.db curated category or tags: cli, codec, media.
- [faac](https://www.automicvault.com/zh-hans/pkg/brew/faac/) - Shares av.db curated category or tags: cli, codec, media.
- [faad2](https://www.automicvault.com/zh-hans/pkg/brew/faad2/) - Shares av.db curated category or tags: cli, codec, media.
- [ffmpeg](https://www.automicvault.com/zh-hans/pkg/brew/ffmpeg/) - Shares av.db curated category or tags: cli, codec, media.
- [ffmpeg-full](https://www.automicvault.com/zh-hans/pkg/brew/ffmpeg-full/) - Shares av.db curated category or tags: cli, codec, media.
- [flac](https://www.automicvault.com/zh-hans/pkg/brew/flac/) - Shares av.db curated category or tags: cli, codec, media.
- [atomicparsley](https://www.automicvault.com/zh-hans/pkg/brew/atomicparsley/) - Local package facts share a topical domain. Shared terms: cli, command-line, line, media.
- [av1an](https://www.automicvault.com/zh-hans/pkg/brew/av1an/) - Local package facts share a topical domain. Shared terms: cli, command-line, line, media.
- [caesiumclt](https://www.automicvault.com/zh-hans/pkg/brew/caesiumclt/) - Local package facts share a topical domain. Shared terms: cli, compression, line, media.

## Combined YAML source

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