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

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

## 安装

```sh
sudo av install brew:wimlib
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install wimlib
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install wimlib
```

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

### Linux

- apk (92%):

```sh
sudo apk add wimlib
```

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

- dnf (92%):

```sh
sudo dnf install wimlib
```

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

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

- pacman (92%):

```sh
sudo pacman -S wimlib
```

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

- Debian apt (92%):

```sh
sudo apt install libwim-dev
```

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

- zypper (92%):

```sh
sudo zypper install libwim15
```

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

### Windows

- Scoop (92%):

```sh
scoop install main/wimlib
```

  证据: Scoop official bucket manifest trees: bucket/wimlib.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:wimlib
- **软件包管理器:** Homebrew
- **版本:** 1.14.5
- **来源摘要:** Library to create, extract, and modify Windows Imaging files
- **主页:** <https://wimlib.net/>
- **最后更新:** 2026-07-15T22:00:29Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- mkwinpeimg (别名)
- wimappend (别名)
- wimapply (别名)
- wimcapture (别名)
- wimdelete (别名)
- wimdir (别名)
- wimexport (别名)
- wimextract (别名)
- wiminfo (别名)
- wimjoin (别名)
- wimlib-imagex (别名)
- wimmount (别名)
- wimmountrw (别名)
- wimoptimize (别名)
- wimsplit (别名)
- wimunmount (别名)
- wimupdate (别名)
- wimverify (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

wimlib is an open-source C library and command-line toolkit for Windows Imaging Format archives. Its README positions wimlib and `wimlib-imagex` as a free, cross-platform alternative to Microsoft's WIMGAPI, ImageX, and DISM for creating, modifying, extracting, and mounting WIM files.

### 项目历史

The project emerged to make WIM files workable outside the Microsoft deployment toolchain. Secondary WIM-format references date the availability of an open-source WIM-handling library to April 30, 2012, and SourceForge records the earlier hosting era before the project moved to the dedicated wimlib.net site in January 2016.

Over time, wimlib grew from basic WIM manipulation into a broad toolkit exposed through `wimlib-imagex` and individual command aliases such as `wimcapture`, `wimapply`, `wimextract`, `wimsplit`, and `wimoptimize`. The manual emphasizes that its interface resembles Microsoft's ImageX while remaining cross-platform and adding extensions useful to non-Windows workflows.

A major part of wimlib's relevance is format completeness. Its manuals document support for XPRESS, LZX, and LZMS compression, split WIMs, pipable WIMs, solid WIM/ESD-style files, mounting, exporting, appending, verifying, and optimizing archives. Those features map directly to modern Windows install media and deployment images.

### 采用历史

wimlib became the practical WIM implementation for Unix-like package managers because Microsoft tools are Windows-centered. It is packaged across Linux, BSD-oriented, macOS, Windows, and cross-platform package ecosystems, and is commonly used anywhere install.wim or install.esd files need to be inspected, split, converted, or applied without booting into Microsoft's tooling.

### 使用方式

Typical package-user workflows include extracting files from Windows installation media, converting ESD-style solid WIMs to conventional WIMs, splitting large install images for FAT32 media, capturing or applying Windows images from Linux, and verifying archives. `wimlib-imagex` is the general frontend, while the command aliases provide ImageX-like verbs as standalone commands.

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

For package nerds, wimlib is the key non-Microsoft implementation of a deployment format that otherwise belongs to the Windows ADK world. It turns WIM from a vendor deployment artifact into an ordinary archive-like format that can be scripted, packaged, and used in rescue media, installer creation, forensic extraction, and cross-platform system administration.

### 时间线

- 2012: Open-source WIM-handling library availability is noted in WIM-format histories.
- 2016: SourceForge noted that hosting had moved to wimlib.net.
- 2026: The mirrored README identifies wimlib 1.14.5 as the January 2026 release.

### Related projects

- wimlib is related to Microsoft's WIMGAPI, ImageX, and DISM, and to the broader Windows Imaging Format used by Windows Setup, Windows PE, and deployment tooling.

### 来源

- <https://en.wikipedia.org/wiki/Windows_Imaging_Format>
- <https://github.com/ebiggers/wimlib>
- <https://man.archlinux.org/man/wimlib-imagex.1.en>
- <https://sourceforge.net/projects/wimlib/>
- <https://www.mankier.com/1/wimlib-imagex>


## 安全说明

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

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

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

- Debian apt - libwim-dev - 1.14.4-1.1+b3: normalized package name match | Debian stable package indexes: libwim-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Library for manipulating Windows Imaging files - development files | https://wimlib.net/
- Debian apt - libwim-doc - 1.14.4-1.1: normalized package name match | Debian stable package indexes: libwim-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Library for manipulating Windows Imaging files - API documentation | https://wimlib.net/
- Debian apt - libwim15t64 - 1.14.4-1.1+b3: normalized package name match | Debian stable package indexes: libwim15t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Library for manipulating Windows Imaging files | https://wimlib.net/
- Debian apt - wimtools - 1.14.4-1.1+b3: normalized package name match | Debian stable package indexes: wimtools from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Tools for manipulating Windows Imaging files | https://wimlib.net/
- Nix - wimlib: normalized package name match | nixpkgs package indexes: pkgs/by-name/wi/wimlib/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - libwim-dev - 1.14.4-1.1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libwim-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Library for manipulating Windows Imaging files - development files | https://wimlib.net/
- Ubuntu apt - libwim-doc - 1.14.4-1.1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libwim-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Library for manipulating Windows Imaging files - API documentation | https://wimlib.net/
- Ubuntu apt - libwim15t64 - 1.14.4-1.1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libwim15t64 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Library for manipulating Windows Imaging files | https://wimlib.net/
- Ubuntu apt - wimtools - 1.14.4-1.1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: wimtools from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Tools for manipulating Windows Imaging files | https://wimlib.net/
- apk - wimlib - 1.14.4-r2: normalized package name match | Alpine Linux edge package indexes: wimlib from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Create, extract, and modify Windows Imaging archives | https://wimlib.net/
- apk - wimlib-dev - 1.14.4-r2: normalized package name match | Alpine Linux edge package indexes: wimlib-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Create, extract, and modify Windows Imaging archives (development files) | https://wimlib.net/
- apk - wimlib-doc - 1.14.4-r2: normalized package name match | Alpine Linux edge package indexes: wimlib-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Create, extract, and modify Windows Imaging archives (documentation) | https://wimlib.net/
- dnf - wimlib - 1.14.5-2.fc45: normalized package name match | Fedora Rawhide package metadata: wimlib from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Open source Windows Imaging (WIM) library | https://wimlib.net/
- dnf - wimlib-devel - 1.14.5-2.fc45: normalized package name match | Fedora Rawhide package metadata: wimlib-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Development files for wimlib | https://wimlib.net/
- dnf - wimlib-utils - 1.14.5-2.fc45: normalized package name match | Fedora Rawhide package metadata: wimlib-utils from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Tools for creating, modifying, extracting, and mounting WIM files | https://wimlib.net/
- pacman - wimlib - 1.14.5-3: normalized package name match | Arch Linux sync databases: wimlib from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A library and program to extract, create, and modify WIM files | https://wimlib.net


## Combined YAML source

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