WelcomeUser Guide
ToSPrivacyCanary
DonateBugsLicense

©2024 Poal.co

1.1K

Back to Index

This guide assumes you already have a working and up-to-date Linux distribution installed, and are knowledgeable about your chosen distributions package installation methods.

Preamble

Installing Wine should be the easiest of the steps required to begin gaming on Linux using Wine, but depending on what release of Wine you are looking for, some distributions make it harder to obtain than others.

This guide will detail how to search for (using the terminal) and install the various Wine packages available for a selection of different distributions.

For information on how to compile Wine from source, see the appropriate Guide from the Index.

Note: These steps will require the use of a terminal emulator, but that is not to say you need to use the terminal in order to install Wine. Text based instructions are better suited to this medium, but there is nothing to stop you using your distribution's GUI front-end/App Store to achieve the same results. Alternative Guides and Informational Resources will be linked to from the Appendix section of the Guide Index.

Arch Linux (Arched Based Distributions)

Let's be frank, if you're using Arch then you probably don't need this Guide, but I'm putting it here because it can also be used on the more beginner-friendly arch-based distributions.

Enable the Multilib Repository

By default, Arch installs with the Multilib repository disabled. This repository contains 32bit software and libraries which can be used to install 32bit applications onto a 64bit Arch install. Wine does come with 64bit binaries (Wine64) but in order to create 32bit Wineprefixes, you will need 32bit version of Wine as well.

Note: Some Arch-Based distributions, such as Manjaro, pre-enable multilib for you.

1: Launch a terminal session and type the following into the command line:

sudo nano /etc/pacman.conf

You will be prompted for your password, so enter that to proceed.

2: This will open the pacman.conf file located in the /etc folder on your root partition, using the nano text editor with root privileges, so you can edit the file. (You can use a different terminal text editor should you prefer)

Find the line shown below:

[multilib]

Include = /etc/pacman.d/mirrorlist

Remove the "#" symbol from the beginning of the lines, so it looks the example above. Then use Ctrl+O keys to save the changes and Ctrl+X to close out of the file.

3: Multilib is now enabled, but you'll need to refresh the repositories of the package manager so that it knows the software within Multilib is available for install. To do this, just run the upgrade command in the terminal:

sudo pacman -Syu

Installing the Wine Packages

Thankfully, this is about as hard as it gets for Arch. Both the Wine (Development) and Wine-Staging packages are available within the Multilib repository, so once you have completed the previous steps, all you need do to install Wine is choose which package you want to install, wine or wine-staging and install it.

sudo pacman -S wine |OR| sudo pacman -S wine-staging

You will be prompted for your password and then pacman will begin downloading and installing the chosen wine package, along with all its required dependencies that are not already installed.

Note: Though not strictly necessary, as Wine will download the files required if needed when a Wineprefix is created, you can also elect to install the wine-mono and wine-gecko packages as well. This will ensure you can setup new Wineprefixes while offline, as the files will already be on disk and not need to be downloaded.

Ubuntu Linux (Ubuntu Based Distributions)

Enable 32-bit Architecture

This step is only required if you are running a 64-bit version of Ubuntu, but lets face it, in #CurrentYear, you probably are.

Launch a terminal session and type the following into the command line:

sudo dpkg --add-architecture i386

Add the official WineHQ PPA

Ubuntu utilizes PPAs to provide access to unofficial third party repositories for additional software. In order to install Wine on Ubuntu, you will need to add the WineHQ PPA.

1: Back in the terminal, enter and execute the following commands, one after the other:

wget -nc https://dl.winehq.org/wine-builds/Release.key

sudo apt-key add Release.key

sudo apt-add-repository https://dl.winehq.org/wine-builds/ubuntu/

Note: If you are using Mint, the repository will be different, depending on which release of Ubuntu that version of Mint was based off of.

Mint 17.x users should run:

sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ trusty main'

Mint 18.x users should run:

sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ xenial main'

Mint 19.x users should run:

sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main'

2: From the terminal, run the update command to refresh the list of available packages:

sudo apt update

Install Wine (Stable, Development, or Staging)

The WineHQ PPA contains all three releases of Wine, so choose which one you want to install and run the applicable command. If the terminal throws out errors regarding missing dependencies, make a note of which packages it says are missing and then install them, before trying again.

Wine Stable

sudo apt install --install-recommends winehq-stable

Wine Development

sudo apt install --install-recommends winehq-devel

Wine Staging

sudo apt install --install-recommends winehq-staging

Solus Linux

Installing Wine in Solus, providing you only want to use the stable or development version of Wine, is pretty straight forward and involves running only two commands - one, if you don't need 32-bit Wine.

Install Wine using eopkg

Launch a terminal session and enter the following commands, depending on which Wine version you want to use:

Wine Stable

sudo eopkg install wine

sudo eopkg install wine-32bit

Wine Development

sudo eopkg install wine-devel

sudo eopkg install wine-32bit-devel

Wine Staging

This is where it gets a little more complicated. Solus does not provide Wine Staging in their official repositories, so you have to rely on the community git repos provided by a kind enough User.

As of writing this guide, the github repo shown below, can be added to allow install of Wine Staging based on Wine 3.6. The latest release was 3.13 for Staging, so it is out dated. If you know of a more up to date repo, let me know, and I'll replace this one.

sudo eopkg ar SolusWineStaging http://raw.github.com/community-repositories-for-solus/solus-wine-staging-repo/stable/eopkg-index.xml.xz

Re-Order the Repo Priority

Because this is adding a community repo, the priority must be set higher than the default Solus repository, to prevent eopkg from taking Wine from the Solus repo instead. To do this, enter the following commands:

sudo eopkg rr Solus

sudo eopkg ar Solus https://packages.solus-project.com/shannon/eopkg-index.xml.xz

Check the Priority of the Repos (SolusWineStaging must be higher than Solus)

eopkg lr

Refresh Repositories List

sudo eopkg ur -f

Upgrade Wine (if already installed)

sudo eopkg up

This will replace the existing versions of Wine with that of the SolusWineStaging repository.

###[Back to Index](https://poal.co/s/WineGaming/314301) **This guide assumes you already have a working and up-to-date Linux distribution installed, and are knowledgeable about your chosen distributions package installation methods.** #Preamble Installing Wine should be the easiest of the steps required to begin gaming on Linux using Wine, but depending on what release of Wine you are looking for, some distributions make it harder to obtain than others. This guide will detail how to search for (using the terminal) and install the various Wine packages available for a selection of different distributions. For information on how to compile Wine from source, see the appropriate Guide from the [Index](https://poal.co/s/WineGaming/314919). **Note:** These steps will require the use of a terminal emulator, but that is not to say you need to use the terminal in order to install Wine. Text based instructions are better suited to this medium, but there is nothing to stop you using your distribution's GUI front-end/App Store to achieve the same results. Alternative Guides and Informational Resources will be linked to from the Appendix section of the Guide Index. #Arch Linux (Arched Based Distributions) Let's be frank, if you're using Arch then you probably don't need this Guide, but I'm putting it here because it can also be used on the more beginner-friendly arch-based distributions. ## Enable the Multilib Repository By default, Arch installs with the Multilib repository disabled. This repository contains 32bit software and libraries which can be used to install 32bit applications onto a 64bit Arch install. Wine does come with 64bit binaries (Wine64) but in order to create 32bit Wineprefixes, you will need 32bit version of Wine as well. **Note:** Some Arch-Based distributions, such as Manjaro, pre-enable multilib for you. **1:** Launch a terminal session and type the following into the command line: > sudo nano /etc/pacman.conf You will be prompted for your password, so enter that to proceed. **2:** This will open the pacman.conf file located in the /etc folder on your root partition, using the nano text editor with root privileges, so you can edit the file. (You can use a different terminal text editor should you prefer) Find the line shown below: >[multilib] >Include = /etc/pacman.d/mirrorlist Remove the "#" symbol from the beginning of the lines, so it looks the example above. Then use Ctrl+O keys to save the changes and Ctrl+X to close out of the file. **3:** Multilib is now enabled, but you'll need to refresh the repositories of the package manager so that it knows the software within Multilib is available for install. To do this, just run the upgrade command in the terminal: >sudo pacman -Syu ## Installing the Wine Packages Thankfully, this is about as hard as it gets for Arch. Both the Wine (Development) and Wine-Staging packages are available within the Multilib repository, so once you have completed the previous steps, all you need do to install Wine is choose which package you want to install, wine or wine-staging and install it. >sudo pacman -S wine |OR| sudo pacman -S wine-staging You will be prompted for your password and then pacman will begin downloading and installing the chosen wine package, along with all its required dependencies that are not already installed. **Note:** Though not strictly necessary, as Wine will download the files required if needed when a Wineprefix is created, you can also elect to install the wine-mono and wine-gecko packages as well. This will ensure you can setup new Wineprefixes while offline, as the files will already be on disk and not need to be downloaded. #Ubuntu Linux (Ubuntu Based Distributions) ## Enable 32-bit Architecture This step is only required if you are running a 64-bit version of Ubuntu, but lets face it, in #CurrentYear, you probably are. Launch a terminal session and type the following into the command line: > sudo dpkg --add-architecture i386 ## Add the official WineHQ PPA Ubuntu utilizes PPAs to provide access to unofficial third party repositories for additional software. In order to install Wine on Ubuntu, you will need to add the WineHQ PPA. **1:** Back in the terminal, enter and execute the following commands, one after the other: >wget -nc https://dl.winehq.org/wine-builds/Release.key >sudo apt-key add Release.key >sudo apt-add-repository https://dl.winehq.org/wine-builds/ubuntu/ **Note:** If you are using Mint, the repository will be different, depending on which release of Ubuntu that version of Mint was based off of. Mint 17.x users should run: >sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ trusty main' Mint 18.x users should run: >sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ xenial main' Mint 19.x users should run: >sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main' **2:** From the terminal, run the update command to refresh the list of available packages: >sudo apt update ## Install Wine (Stable, Development, or Staging) The WineHQ PPA contains all three releases of Wine, so choose which one you want to install and run the applicable command. If the terminal throws out errors regarding missing dependencies, make a note of which packages it says are missing and then install them, before trying again. **Wine Stable** >sudo apt install --install-recommends winehq-stable **Wine Development** >sudo apt install --install-recommends winehq-devel **Wine Staging** >sudo apt install --install-recommends winehq-staging #Solus Linux Installing Wine in Solus, providing you only want to use the stable or development version of Wine, is pretty straight forward and involves running only two commands - one, if you don't need 32-bit Wine. ##Install Wine using eopkg Launch a terminal session and enter the following commands, depending on which Wine version you want to use: **Wine Stable** >sudo eopkg install wine >sudo eopkg install wine-32bit **Wine Development** >sudo eopkg install wine-devel >sudo eopkg install wine-32bit-devel **Wine Staging** This is where it gets a little more complicated. Solus does not provide Wine Staging in their official repositories, so you have to rely on the community git repos provided by a kind enough User. As of writing this guide, the github repo shown below, can be added to allow install of Wine Staging based on Wine 3.6. The latest release was 3.13 for Staging, so it is out dated. If you know of a more up to date repo, let me know, and I'll replace this one. >sudo eopkg ar SolusWineStaging http://raw.github.com/community-repositories-for-solus/solus-wine-staging-repo/stable/eopkg-index.xml.xz ##Re-Order the Repo Priority Because this is adding a community repo, the priority must be set higher than the default Solus repository, to prevent eopkg from taking Wine from the Solus repo instead. To do this, enter the following commands: >sudo eopkg rr Solus >sudo eopkg ar Solus https://packages.solus-project.com/shannon/eopkg-index.xml.xz ##Check the Priority of the Repos (SolusWineStaging must be higher than Solus) >eopkg lr ##Refresh Repositories List >sudo eopkg ur -f ##Upgrade Wine (if already installed) >sudo eopkg up This will replace the existing versions of Wine with that of the SolusWineStaging repository.

(post is archived)