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

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

## 安装

```sh
sudo av install brew:winetricks
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install winetricks
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install winetricks
```

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

### Linux

- apk (92%):

```sh
sudo apk add winetricks
```

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

- Debian apt (92%):

```sh
sudo apt install winetricks
```

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

- dnf (92%):

```sh
sudo dnf install winetricks
```

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

  证据: nixpkgs package indexes: winetricks from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

- pacman (92%):

```sh
sudo pacman -S winetricks
```

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

- zypper (92%):

```sh
sudo zypper install winetricks
```

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

## 软件包事实

- **软件包键:** brew:winetricks
- **软件包管理器:** Homebrew
- **版本:** 20260125
- **来源摘要:** Automatic workarounds for problems in Wine
- **主页:** <https://github.com/Winetricks/winetricks>
- **仓库:** <https://github.com/Winetricks/winetricks>
- **最后更新:** 2026-06-24T12:52:25-04:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- winetricks (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

Winetricks is a shell-script companion to Wine that automates common workarounds. Its README describes it as a way to work around Wine problems, install missing DLLs, install selected applications with needed workarounds, and tweak Wine settings.

### 项目历史

The tool dates to the older Wine community habit of sharing small recipe scripts for troublesome Windows runtimes and fonts. An archived Dan Kegel script identifies Winetricks as a quick script for downloading and installing redistributable runtime libraries, with 2007-2010 Google copyright lines for Dan Kegel and 2008-2010 copyright lines for Austin English.

Winetricks later moved from earlier project hosting to the GitHub `Winetricks/winetricks` repository; the README explicitly notes that the homepage was previously hosted at Google Code. The GitHub project presents Austin English as maintainer and provides tagged releases, a wiki, tests, and a large catalog of verbs.

### 采用历史

Winetricks became one of Wine's standard companion tools because it encodes many application-specific fixes in a packageable script. The README lists packages for mainstream Unix-like operating systems, including Arch, Debian, Fedora, FreeBSD, Gentoo, Homebrew, MacPorts, Slackware, and Ubuntu, reflecting its role as a distribution-level helper rather than just a user snippet.

### 使用方式

Users invoke Winetricks interactively through a menu or noninteractively by naming verbs, such as fonts, DLLs, settings, or application installers. The manual emphasizes both GUI and command-line use, with command-line mode serving interactive users, Wine frontends, and automated regression testing.

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

Winetricks is important in package-manager culture because it separates Wine itself from legally and technically messy optional components. Rather than distros redistributing proprietary runtimes, Winetricks supplies scripted fetch-and-install recipes that users run inside a Wine prefix when an application needs a particular font, runtime, codec, or compatibility tweak.

### 时间线

- 2007: Archived script copyright lines show Dan Kegel/Google-era Winetricks work.
- 2008: Austin English appears in archived script copyright and maintainer lines.
- 2011: WineHQ forum discussions show Winetricks being treated as a separate companion script, not part of Wine itself.
- 2026: The GitHub project lists a January 2026 tagged release.

### Related projects

- Winetricks is closely related to Wine, Wine Staging, Wine frontends, and distribution Wine packages. It complements rather than replaces Wine by applying per-prefix runtime and settings recipes.

### 来源

- <https://forum.winehq.org/viewtopic.php?t=11552>
- <https://forum.winehq.org/viewtopic.php?t=338>
- <https://github.com/Winetricks/winetricks>
- <https://github.com/dankegel/winezeug/blob/master/attic/winetricks>
- <https://man.archlinux.org/man/winetricks.1.en>


## 安全说明

narrow executable package without higher-risk signals.

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

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

- Debian apt - winetricks - 20250102-1: normalized package name match | Debian stable package indexes: winetricks from https://deb.debian.org/debian/dists/stable/contrib/binary-amd64/Packages.xz | simple tool to work around common problems in Wine | https://github.com/Winetricks/winetricks
- Nix - winetricks: normalized package name match | nixpkgs package indexes: winetricks from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
- Ubuntu apt - winetricks - 20240105-2: normalized package name match | Ubuntu 24.04 LTS package indexes: winetricks from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | simple tool to work around common problems in Wine | https://github.com/Winetricks/winetricks
- apk - winetricks - 20260125-r0: normalized package name match | Alpine Linux edge package indexes: winetricks from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Winetricks is an easy way to work around problems in Wine | https://github.com/Winetricks/winetricks
- apk - winetricks-bash-completion - 20260125-r0: normalized package name match | Alpine Linux edge package indexes: winetricks-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Bash completions for winetricks | https://github.com/Winetricks/winetricks
- apk - winetricks-doc - 20260125-r0: normalized package name match | Alpine Linux edge package indexes: winetricks-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Winetricks is an easy way to work around problems in Wine (documentation) | https://github.com/Winetricks/winetricks
- dnf - winetricks - 20260125-2.fc45: normalized package name match | Fedora Rawhide package metadata: winetricks from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Work around common problems in Wine | https://github.com/Winetricks/winetricks
- pacman - winetricks - 20260125-2: normalized package name match | Arch Linux sync databases: winetricks from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Script to install various redistributable runtime libraries in Wine. | https://wiki.winehq.org/winetricks
- zypper - winetricks - 20260125-1.4: normalized package name match | openSUSE Tumbleweed package metadata: winetricks from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | A way to work around problems in WINE | https://github.com/Winetricks/winetricks
- zypper - winetricks-bash-completion - 20260125-1.4: normalized package name match | openSUSE Tumbleweed package metadata: winetricks-bash-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Bash Completions for winetricks | https://github.com/Winetricks/winetricks
- MacPorts - winetricks: normalized package name match | MacPorts ports tree: x11/winetricks/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

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