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

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

## 安装

```sh
sudo av install brew:assimp
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install assimp
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install assimp
```

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

### Linux

- apk (92%):

```sh
sudo apk add assimp
```

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

- dnf (92%):

```sh
sudo dnf install assimp
```

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

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

- pacman (92%):

```sh
sudo pacman -S assimp
```

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

- Debian apt (92%):

```sh
sudo apt install assimp-testmodels
```

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

- zypper (92%):

```sh
sudo zypper install assimp-devel
```

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

## 软件包事实

- **软件包键:** brew:assimp
- **软件包管理器:** Homebrew
- **版本:** 6.0.5
- **来源摘要:** Portable library for importing many well-known 3D model formats
- **主页:** <https://www.assimp.org/>
- **仓库:** <https://github.com/assimp/assimp>
- **最后更新:** 2026-06-02T00:54:19-04:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- assimp (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

Open Asset Import Library, better known as assimp, is a C/C++ library and command-line tool for loading many 3D asset formats into a common in-memory scene representation. It matters in package indexes because it is one of the standard native dependencies behind model viewers, game tooling, conversion utilities, bindings, and asset-processing pipelines.

### 项目历史

The official repository describes assimp as the Open-Asset-Importer-Library repository and says it loads more than 40 3D file formats into a unified data structure. The project license and source headers carry a 2006-present project copyright, while the GitHub repository metadata dates the current public repository to 2010.

Over time assimp accumulated not only importers and exporters but also post-processing steps such as normal and tangent generation, triangulation, vertex-cache optimization, degenerate primitive removal, duplicate-vertex handling, primitive sorting, and material cleanup. That broad post-processing layer is why packages often expose both a library and an assimp command-line executable rather than treating it as a format decoder only.

The current README documents C and C++ APIs, bindings or ports for C#, Java, Python, Delphi, D, Android, iOS, Pascal, JavaScript/Node.js, JVM, Haxe, Rust, Unity, and Unreal-related integrations. The official documentation is Sphinx-based and covers installation, data structures, importer/exporter APIs, post-processing, importer notes, and developer guidance.

### 采用历史

assimp's adoption pattern is unusually broad for a native graphics library. The supplied package facts list Homebrew, Debian/Ubuntu, Fedora, Alpine, Arch, MacPorts, Nix, and openSUSE-style packages, while the README points to vcpkg, prebuilt binaries, bindings, ports, and community support channels.

The package is common because it standardizes a messy area of build systems: importing OBJ, Collada, FBX, glTF, STL, IFC, 3MF, and other model data through one C/C++ ABI. Downstream projects can choose assimp as a single dependency instead of maintaining a matrix of format-specific parsers.

### 使用方式

Developers use assimp either as a library linked into applications or through the assimp CLI for inspecting, converting, and validating assets. The official README's quickstart is a CMake/Ninja source build, and its repository layout separates core import/export code, public headers, post-processing utilities, ports, samples, tools, scripts, and regression test models.

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

assimp is package-nerd significant because it is both leaf-tool and infrastructure dependency: a user may install the assimp binary directly, but many graphics, CAD, game, robotics, and visualization stacks pull the library indirectly. The many bundled importers, test models, and third-party contributions also make licensing and ABI stability more visible than in smaller media tools.

### 时间线

- 2006: Project copyright period begins in official assimp license/source headers.
- 2010: assimp/assimp repository created on GitHub.
- 2022: Official Read the Docs documentation carried a March 2022 v6.0.2 documentation title.
- 2026: The official repository metadata and tags showed continued v6 maintenance.

### Related projects

- vcpkg, Homebrew, Debian/Ubuntu, Fedora, Arch, Alpine, MacPorts, Nix, and openSUSE packaging make assimp available across common developer platforms.
- assimp-mdb is the official model database for testing.
- PyAssimp, AssimpNetter, assimpjs, russimp, and engine integrations demonstrate the binding and wrapper ecosystem documented by the upstream README.

### 来源

- <https://api.github.com/repos/assimp/assimp>
- <https://github.com/assimp/assimp#readme>
- <https://github.com/assimp/assimp/blob/master/LICENSE>
- <https://the-asset-importer-lib-documentation.readthedocs.io/en/latest/>
- <https://www.assimp.org/>
- source_facts.package-manager


## 安全说明

library-like package without higher-risk signals.

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

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

- Debian apt - assimp-testmodels - 5.4.3+ds-2: normalized package name match | Debian stable package indexes: assimp-testmodels from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | assimp 3D model import library (testdata) | https://assimp.org
- Debian apt - assimp-utils - 5.4.3+ds-2: normalized package name match | Debian stable package indexes: assimp-utils from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | 3D model import library (utilities) | https://assimp.org
- Debian apt - libassimp-dev - 5.4.3+ds-2: normalized package name match | Debian stable package indexes: libassimp-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | 3D model import library (development) | https://assimp.org
- Debian apt - libassimp-doc - 5.4.3+ds-2: normalized package name match | Debian stable package indexes: libassimp-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | 3D model import library (documentation) | https://assimp.org
- Debian apt - libassimp5 - 5.4.3+ds-2: normalized package name match | Debian stable package indexes: libassimp5 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | 3D model import library | https://assimp.org
- Debian apt - python3-pyassimp - 5.4.3+ds-2: normalized package name match | Debian stable package indexes: python3-pyassimp from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | 3D model import library (Python3 bindings) | https://assimp.org
- Nix - assimp: normalized package name match | nixpkgs package indexes: pkgs/by-name/as/assimp/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - assimp-testmodels - 5.3.1+ds-2build1: normalized package name match | Ubuntu 24.04 LTS package indexes: assimp-testmodels from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | assimp 3D model import library (testdata) | https://assimp.org
- Ubuntu apt - assimp-utils - 5.3.1+ds-2build1: normalized package name match | Ubuntu 24.04 LTS package indexes: assimp-utils from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | 3D model import library (utilities) | https://assimp.org
- Ubuntu apt - libassimp-dev - 5.3.1+ds-2build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libassimp-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | 3D model import library (development) | https://assimp.org
- Ubuntu apt - libassimp-doc - 5.3.1+ds-2build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libassimp-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | 3D model import library (documentation) | https://assimp.org
- Ubuntu apt - libassimp5 - 5.3.1+ds-2build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libassimp5 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | 3D model import library | https://assimp.org
- Ubuntu apt - python3-pyassimp - 5.3.1+ds-2build1: normalized package name match | Ubuntu 24.04 LTS package indexes: python3-pyassimp from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | 3D model import library (Python3 bindings) | https://assimp.org
- apk - assimp - 6.0.4-r0: normalized package name match | Alpine Linux edge package indexes: assimp from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Open Asset Import Library imports and exports 3D model formats | https://www.assimp.org/
- apk - assimp-dev - 6.0.4-r0: normalized package name match | Alpine Linux edge package indexes: assimp-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Open Asset Import Library imports and exports 3D model formats (development files) | https://www.assimp.org/
- apk - assimp-libs - 6.0.4-r0: normalized package name match | Alpine Linux edge package indexes: assimp-libs from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Open Asset Import Library imports and exports 3D model formats (libraries) | https://www.assimp.org/


## Combined YAML source

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