October 20, 2023
Tested on Manjaro 23
This document explains how to install a recent version of Wine Development or Wine Staging. Wine Stable is not available.
A Manjaro 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, from the repositories and also from AUR.
$ pamac upgrade -a
You will be asked to choose 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.
When asked, enter the number of each dependency you want to install separated by commas. It would look like this if you choose to install 10 optional dependencies.
Enter a selection (default=none): 1,2,3,4,5,6,7,8,9,10
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.)
$ pamac install wine wine-mono wine-gecko
Execute
$ wine --version
To bring up Wine's configuration panel, open a Terminal window and execute winecfg. If installing mono or gecko is offered, accept the offer.
When prompted, set your preferred version of Windows. Windows 10 may be preferred for most applications.
$ wine winecfg
If you are creating custom Wine prefixes, this configuration must be repeated for each prefix.
If, in the following, a wine command causes this message to be displayed
zsh: correct 'wine' to '.wine' [nyae]?
enter n for "no".
Just for fun, or to see Wine in action …
$ wine clock
At the time of this writing, Wine's web browser, Iexplore, opens and runs as expected except for one glitch, which must be avoided. When Iexplore opens, it displays a WineHQ web page. If one of the large graphic links are clicked (About, Download, News, Application Database, …), Iexplore will display an error panel and freeze, so do not click any of those graphical links. Other kinds of links (regular non-graphical web links) execute normally.
The first of the next two commands ensures that optional dependencies required by iexplore are installed. The second command runs Wine's web browser.
If installing gecko is offered, accept the offer.
$ pamac install samba gnutls lib32-gnutls
$ wine iexplore
Wine is a Terminal application. Even after installing Wine, you will not find it listed with the desktop apps that came with your Linux distribution. Wine is invoked using Terminal commands.
As an example of installing a Windows app with Wine, consider Abcdef, a fictitious Windows application which is installed by Abcdef_Setup.exe. To install your own Windows app, replace Abcdef_Setup.exe with the filename of your app's installer.
The first step is to download Abcdef_Setup.exe and store it in ~/Downloads.
After doing that, execute winecfg (if you haven't already).
$ wine winecfg
The command to execute Abcdef_Setup.exe must be issued from the directory where Abcdef_Setup.exe is located, so execute
$ cd ~/Downloads
The next command starts the installation. Respond to the installer's prompts just as you would in Windows.
$ wine Abcdef_Setup.exe
Here is a real example. It installs version 8.6 of the text editor Notepad++. The file name of the Notepad++ installation program is npp.8.6.Installer.x64.exe
$ wine npp.8.6.Installer.x64.exe
When installation is complete, look for an Abcdef launcher on your desktop. There may also be an entry named Wine in your distribution's Applications. Launchers may require you to confirm execution of your app is safe.
Did you find this page helpful? Have constructive feedback? Wisdom to share?
Send email to Email Address