June 9, 2025
Tested with Endeavour Mercury.
This document explains how to install a recent version of Wine Development or Wine Staging. Wine Stable is not available.
An EndeavourOS installation including a desktop is expected, in which case Wine should just work. For possibly enhanced graphics, see Graphics drivers in the Arch Wiki. Sound issues, if any, can be addressed through the settings panel that opens when winecfg is executed or by referring to the Arch Wiki information on Wine Sound
.
Open a Terminal window. The following will update all installed packages. yay with no arguments updates both the system and AUR. Discovery EndeavourOS – Installing Packages
$ yay
The next command will install Wine Development. If you prefer Wine Staging, replace wine with wine-staging.
(But leave wine-mono and wine-gecko as they are.)
$ sudo pacman -S wine wine-mono wine-gecko
Execute
$ wine --version
Wine has more than thirty optional dependencies that give Wine additional functionality. My preference is a complete Wine installation, which means installing all optional dependencies, but leaving out packages that are known to be not needed is reasonable.
Here are two ways to install optional dependencies: Straight-forward and Easy.
Straight-forward The straight-forward way to install optional dependencies also allows you to select which dependencies you want. Refer to the list of optional dependencies displayed by pacman during the installation, and note which were not installed, or execute this command, which will display all of Wine's optional dependencies.
$ pacman -Si wine
Then make a list containing the packages you want to install, and install them with a command like the next one. --asdeps causes the packages to be marked as dependencies, and --needed prevents packages that are already installed from being reinstalled.
If you want to know what a specific optional dependency does, you can search for it among the Arch Linux packages at archlinux.org/packages/.
$ sudo pacman -S --asdeps --needed list-of-optional-dependencies-to-install
Easy This command – which is thanks to Jay Ta'ala – will install all uninstalled optional dependencies. Just Copy/Paste it into a Terminal prompt and execute it.
If you are installing wine-staging, replace wine by wine-staging.
$ sudo pacman -S --asdeps --needed $(pacman -Si wine | sed -n '/^Opt/,/^Conf/p' | sed '$d' | sed 's/^Opt.*://g' | sed 's/^\s*//g' | tr '\n' ' ')
By way of explanation, executing the next command displays the optional dependencies on the Terminal screen. The previous command uses the same code to create a list of the dependencies and then passes that list to pacman for installation.
$ echo $(pacman -Si wine | sed -n '/^Opt/,/^Conf/p' | sed '$d' | sed 's/^Opt.*://g' | sed 's/^\s*//g' | tr '\n' ' ')
Remote file
content-configure-test-windowsapps.html
does not exist.
Did you find this page helpful? Have constructive feedback? Wisdom to share?
Send email to Email Address