wem build
The wem build
command will build a specified version of wine from source. The version can be any valid git tag or commit sha from the wine repo.
$ wem build wine-6.5
Note that it is up to you to ensure that the necessary build dependencies are satisfied. Consult your distribution's build documentation for details, the ./configure
step will be where messages about missing dependencies appear.
The --verbose
flag may be passed to see all build output:
$ wem build wine-6.5 --verbose
The --force
flag may be passed to rebuild an already built version:
$ wem build wine-6.5 --force
The --staging
flag may be passed to apply wine-staging patches:
$ wem build wine-6.5 --staging
Note that staging patches can only be applied to tag release versions!
To see installed versions:
$ wem list --wine --installed
To use an installed wine version, run wem list --wine --installed
to see the path to your installed versions, then set your WineExe
to the desired path.
$ wem cfg tes3 --wine-exe $HOME/.local/share/wem/builds/6.5.1-staging/bin/wine --no-render --save
$ wem run tes3 --wine-exe $HOME/.local/share/wem/builds/6.5.1-staging/bin/wine
Fish completion can be used to autocomplete any built wine versions. Note that completion files need to be regenerated after building your first wine.