Wine helper script

Winetricks Makes Wine Setup Simpler on Linux and macOS

Winetricks is an open-source helper script for Wine that installs Windows runtime libraries, fonts and DLLs, applies configuration tweaks and manages Wine prefixes, giving compatible Windows programs and games a sounder footing on Linux and macOS.

  • Open source (LGPL 2.1+)
  • Linux, macOS and BSD
  • Community maintained since 2007
Verbs for DLLs, fonts and settings
Works per Wine prefix
Overview

What Is Winetricks?

Winetricks is a helper script for the Wine compatibility layer. Wine lets supported Windows applications run on Unix-like systems such as Linux and macOS, yet many programs expect components that a fresh Wine installation does not include: Microsoft Visual C++ runtime libraries, .NET Framework, particular DLL files, Microsoft fonts or specific configuration settings. Winetricks fetches those pieces from their original publishers, checks them and installs them for you.

Each task is packaged as a verb. Typing winetricks corefonts, for example, installs the core Microsoft font set, while winetricks win10 changes the Windows version that Wine reports to programs. Every change lands in a Wine prefix: a self-contained folder that behaves like its own small Windows installation, with a separate C: drive and registry.

Winetricks does not replace Wine and is not an emulator. It works alongside an existing Wine installation, making that environment more complete for the software you intend to run.

Shell scriptWine prefixesDLL filesRuntime librariesMicrosoft fonts
Capabilities

Key Features of Winetricks

Practical tools for configuring Wine and managing the Windows components your applications need.

Install Windows Components

Supported verbs install Windows DLLs and runtime libraries such as Visual C++ redistributables, .NET Framework and DirectX extension DLLs, downloaded from their original sources and verified by checksum.

Apply Useful Tweaks

Change the reported Windows version, switch the graphics renderer, adjust DLL overrides and set registry values with single verbs instead of manual edits in winecfg or regedit.

Manage Wine Prefixes

Point Winetricks at any prefix with WINEPREFIX, or create named prefixes with prefix=NAME, so one game's components never interfere with another application's setup.

Resolve Compatibility Issues

Missing runtimes cause launch failures, blank windows, garbled text and silent crashes. Adding the specific component a program expects often clears these problems.

Simple and Flexible Controls

Choose between a zenity or kdialog graphical menu and a scriptable command line with unattended mode, listing commands and a self-update option for manual installs.

Linux and macOS Support

The same script runs on Linux distributions, macOS and BSD systems with a working Wine build. Individual components can still behave differently on each platform.

Process

How Does Winetricks Work?

Winetricks is a single shell script containing hundreds of predefined recipes. Each recipe knows where a component lives, what its checksum should be and which installation or configuration steps a Wine prefix needs. Downloads are kept in a local cache, normally ~/.cache/winetricks, so a component is fetched only once.

1

Set up a Wine prefix

Use your existing prefix, or prepare a dedicated one for the program so its changes stay contained.

2

Choose the components

Identify the missing dependency or setting from the error message or the program's documentation, then pick the matching verb.

3

Install and configure

Winetricks downloads the files, verifies their checksums and runs the supported installation or registry steps.

4

Launch and test

Start the Windows program and confirm whether the original problem has gone before adding anything else.

Setup

How to Install Winetricks

Installation methods differ between operating systems and Linux distributions. Most users install Winetricks from their package manager; the official project also supports a manual install from the GitHub archive, which gives you the newest script when distribution packages lag behind.

Before you start

  • Install Wine first. Winetricks configures Wine and cannot run Windows software on its own.
  • Have cabextract, unzip and a download tool such as wget or curl available. Packages usually pull these in.
  • Install zenity or kdialog if you want the graphical menu.

Good practice

  • Run Winetricks as your normal user. Never run it with sudo; only the install step needs root.
  • If you switch to a manual install, remove the packaged copy first so two versions do not conflict.
  • Package versions differ between distributions, so check winetricks --version after installing.

On Ubuntu, Debian and their derivatives, install the package with APT. The package sits in Ubuntu's multiverse and Debian's contrib component, so enable that component if APT cannot find it.

$ sudo apt update
$ sudo apt install winetricks

Verify the installation

$ winetricks --version

Open the graphical interface

$ winetricks --gui
Real-world work

Practical Uses of Winetricks

Three common situations where installing the right component, or changing one setting, makes the difference.

A game controller and backlit keyboard in front of a monitor showing a game

Run Compatible Windows Games

Many Windows games rely on graphics, audio and runtime components that a plain Wine prefix lacks. Winetricks can add DirectX extension DLLs, the XACT audio engine, Visual C++ runtimes or the Vulkan-based DXVK translation layer, which often resolves crashes at start-up, missing sound or broken rendering in titles Wine already supports.

d3dx9xactvcrun2022dxvk
A laptop on a wooden desk displaying a desktop application workspace

Run Windows Applications

Productivity suites, creative tools and older business software frequently assume .NET Framework, Visual C++ libraries and standard Microsoft fonts. Installing those components into a dedicated prefix helps compatible applications open properly, display readable text and save files without errors.

dotnet48corefontsvcrun2022mfc140
Close-up of a processor on a dark circuit board lit in deep red

Fix and Fine-Tune Compatibility

Some programs need a single setting rather than a new library. Winetricks can change the Windows version Wine reports, select the Vulkan or OpenGL renderer, or sandbox a prefix away from your home folder. Component choices should always depend on the specific application and your Wine version.

win10renderer=vulkansandboxcorefonts

Download Winetricks

Get the current Winetricks script from the official project repository on GitHub. The archive contains the script, its manual page and bash completion, ready for a system-wide install. Distribution packages remain a sound alternative when you prefer automatic updates.

Official sourceOpen-source code hosted on GitHub
SoftwareWinetricks
TypeWine helper script
DeveloperWinetricks contributors
LicenceLGPL 2.1 or later
Latest tag20260125
PlatformsLinux, macOS, BSD
Compare

Compatibility: Wine vs Winetricks vs Protontricks

Wine provides the compatibility layer, Winetricks configures Wine environments and Protontricks applies the same fixes to games running under Steam Proton.

FeatureWineWinetricksProtontricks
Main purposeCompatibility layer that runs Windows programsHelper script that configures Wine prefixesWrapper that runs Winetricks against Steam Proton prefixes
Runs Windows applications directlyYesNo, needs WineNo, uses Proton
Installs additional Windows componentsNot by itselfYes, through verbsYes, through Winetricks
Applies configuration tweaksVia winecfg and regeditYes, scripted settings verbsYes, Winetricks settings
Wine prefix managementManual, via WINEPREFIXWINEPREFIX and prefix=NAMESelects prefixes by Steam App ID
Steam Proton integrationNoManual paths onlyBuilt for Proton games
Recommended useRunning Windows software on Linux or macOSAdding runtimes, fonts and settings to WineFixing dependencies for Steam games on Proton

When to use Wine

Use Wine on its own when a program installs and runs without extra components. Many applications do, especially newer ones.

When Winetricks helps

Reach for Winetricks when a program reports a missing runtime, DLL or font, or needs a specific Windows version setting.

When Protontricks fits

Use Protontricks for games launched through Steam with Proton. It finds the game's prefix and the right Proton build for you.

Why results vary

Each program uses Windows APIs differently, and Wine implements them to different degrees. The same component can fix one title and do nothing for another.

Fixes

Common Winetricks Problems and How to Fix Them

Identify common installation and configuration problems before making unnecessary changes to your Wine environment.

Common causes are an outdated script, a Wine version the component does not support, a missing extraction tool such as cabextract, or a network interruption. Update Winetricks, confirm the tools are installed and run the verb again. Running with -v shows each command as it executes, which helps pinpoint the failing step.

Confirm you are working in the correct prefix: echo $WINEPREFIX and run winetricks list-installed to see what that prefix contains. Then launch the program from a terminal and read Wine's output for the missing DLL or function named in the error. Check the WineHQ AppDB entry for the program, as some titles simply are not supported yet.

Match the DLL name in the error to its runtime. Files such as msvcp140.dll belong to the Visual C++ 2015-2022 runtime, installed with vcrun2022; d3dx9_43.dll comes from d3dx9. Avoid single-DLL download websites, which distribute unverified files.

Squares, blank labels or poorly spaced text usually mean the program expects Microsoft fonts. Install corefonts first; add other font verbs only if needed. For blurry text, adjust the screen resolution setting in winecfg rather than installing more fonts.

Check that the install completed with which winetricks. A manual make install places the script in /usr/bin by default. If you copied the script somewhere else, such as ~/bin, make sure that folder is in your PATH, or run the script with its full path.

Winetricks compares every download against a known SHA-256 value. A mismatch usually means the publisher changed the file or the download was corrupted. Delete the cached copy, update Winetricks and retry; if it persists, check the project's issue tracker. Do not bypass the check blindly.

Some Windows installers open a separate dialogue that may sit behind other windows, waiting for you to accept a licence or click Next. Check your taskbar or window list before cancelling. Unattended mode (-q) avoids most prompts.

.NET installs are sensitive to the Wine version, the prefix architecture and existing components. Use a fresh, dedicated prefix, avoid mixing it with Wine Mono, and let Winetricks handle the chain of earlier .NET versions that dotnet48 depends on.

Requirements

Winetricks System Requirements

A compatible Wine installation and the right command-line utilities matter far more than fixed hardware figures. Processor architecture, graphics capability, memory and storage depend on your Wine build, the Windows program you intend to run and the components you install.

Linux

  • A supported distribution such as Ubuntu, Debian, Fedora or Arch Linux
  • A working Wine installation
  • A POSIX shell plus cabextract and unzip
  • wget, curl or aria2c with internet access
  • Free storage for the cache and prefixes

macOS

  • A macOS release supported by your Wine build
  • Homebrew or another install method
  • Command-line tools for extraction and download
  • Free storage for the cache and prefixes
  • Internet access for component downloads
Security

Is Winetricks Safe to Use?

Winetricks is open-source code that anyone can read, and it downloads components from their original publishers before checking them against known SHA-256 checksums. Safe use still depends on where you obtain the script, which components you install and which Windows programs you choose to run, since a Wine prefix gives those programs access to your files.

  • Use trusted sourcesObtain the script from GitHub or your distribution's repositories.
  • Back up prefixesCopy a working prefix folder before major changes.
  • Avoid root privilegesRun Winetricks as your normal user, never with sudo.
  • Install only what you needEvery extra component adds a chance of conflicts.
  • Respect licencesMicrosoft runtimes and fonts carry their own licence terms.
  • Keep checksum checks onThey protect you from altered or corrupted downloads.
  • Skip DLL download sitesUse verbs instead of loose files from unknown websites.
  • Prefixes are not sandboxesWindows programs can still reach your files through Wine.
Polished metallic shield with a crimson centre and a check mark
Assessment

Advantages and Limitations of Winetricks

Explore how Winetricks simplifies installing Windows components and configuring Wine, along with the limitations to consider when running applications and games.

Pros

  • Open source and maintained in public on GitHub
  • Simplifies installing supported Windows dependencies
  • Offers both graphical and command-line operation
  • Works with separate Wine prefixes per program
  • Helps resolve many common compatibility problems
  • Available through most package managers

Cons

  • Requires a compatible Wine installation
  • Cannot guarantee that an application will work
  • Some components fail on particular Wine versions
  • Distribution packages can fall behind upstream
  • Advanced troubleshooting needs technical knowledge
  • Stacked changes can introduce conflicts

Who benefits most? Linux and macOS users who already run Windows software through Wine and meet the occasional missing runtime, font or setting. Steam players get the same benefit through Protontricks, while people expecting a one-click Windows replacement should treat Winetricks as a precise tool rather than a guarantee.

Answers

Frequently Asked Questions

Short, direct answers to the questions people ask most about Winetricks.

Winetricks installs Windows components that Wine does not include, such as Visual C++ runtimes, .NET Framework, DirectX DLLs and Microsoft fonts, and applies settings like the reported Windows version inside a chosen Wine prefix.

Yes. Winetricks is open-source software released under the GNU LGPL 2.1 or later. You can download it at no cost from GitHub or install it from your distribution's package repositories.

Yes. Winetricks configures Wine and cannot run Windows programs on its own. Most package managers install Wine automatically as a dependency; manual installs expect Wine to be present already.

Yes. The script runs on Linux distributions, macOS and BSD systems with a working Wine build. Individual components may behave differently on each platform, particularly on Apple silicon Macs.

Run winetricks --gui, or simply winetricks with no arguments. The menu needs zenity or kdialog installed; without either, Winetricks falls back to the command line.

Wine is the compatibility layer that actually runs Windows programs. Winetricks is a helper that adds missing components and settings to a Wine prefix so those programs have what they expect.

No. Winetricks can only supply components and settings. Whether a program runs depends on how well Wine implements the Windows features it uses, and some software, notably certain anti-cheat systems, does not work.

The script is open source and verifies downloads with SHA-256 checksums. Obtain it from GitHub or your distribution, run it without root and install only the components a program genuinely needs.

Packaged copies update through your package manager. A manual install updates with sudo winetricks --self-update, and winetricks --update-rollback reverses the last update if something breaks.

Yes, most easily through Protontricks, which runs Winetricks against a game's Proton prefix using its Steam App ID. On Steam Deck, the Protontricks Flatpak from the Discover store is the recommended route.

Use the official Winetricks repository on GitHub, or the package from your distribution or Homebrew. Avoid third-party mirrors and bundles that repackage the script with other software.

Not directly. Some verbs, such as dxvk, swap in translation layers that can perform better than Wine's defaults for particular games, but results vary by title, driver and Wine version.