contador web Saltar al contenido

How to install WineHQ on Ubuntu correctly

Before we go any further, let's reiterate that Wine is not an emulator, so much so that Wine is an acronym for Wine Is Not an Emulator.

First let's go to winehq.org and go to Download.

Then we will go to the Ubuntu session.

Well, now we need to make some adjustments before we start installing WineHQ. First let's install the libfaudio0 package which from Wine 4.5, an essential dependency for the app. To install on Ubuntu 18.04.3 or Mint 19.x, you will use these two commands in Terminal, one for 64-bit version (AMD64) and the other for 32-bit version (i386). At the moment the lib version is 19.07-0, but it may change, so it's good to always keep an eye here.

We recommend saving to folders you have access to, such as the Downloads folder, which to access via the terminal would look like this:

Inside the folder, you run the following download commands:

wget https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_18.04/amd64/libfaudio0_19.07-0~bionic_amd64.deb

wget https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_18.04/i386/libfaudio0_19.07-0~bionic_i386.deb

Now let's install, with the following command:

sudo dpkg -i libfaudio0_19.07-0 ~ bionic_amd64.deb libfaudio0_19.07-0 ~ bionic_i386.deb

If you have any problems, just run the command:

sudo apt –fix-broken install

To install on Ubuntu 19.04, you will use these two commands in Terminal, one for the 64-bit version (AMD64) and the other for the 32-bit version (i386). At the moment the lib version is 19.08-0, but it may change, so it's good to always keep an eye here.

Inside the folder, you run the following download commands:

wget https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_19.04/i386/libfaudio0_19.08-0~disco_i386.deb

wget https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_19.04/amd64/libfaudio0_19.08-0~disco_amd64.deb

Now let's install, with following command:

sudo dpkg -i libfaudio0_19.08-0 ~ disco_amd64.deb libfaudio0_19.08-0 ~ disco_i386.deb

If you have any problems, just run the command:

sudo apt –fix-broken install

Now let's add 32-bit support if your system is 64-bit (most likely). Just run this command:

sudo dpkg –add-architecture i386

Let's add the repository and the key:

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

sudo apt-key add winehq.key

Having done these procedures, we will add the repository.

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

For Ubuntu 19.04: sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ disk main'

If everything went to conform and without errors, let's take that updated: sudo apt update

Now Installing WineHQ

In their repository there are 3 versions of Wine, namely: Stable branch, Development branch and Staging branch. To install them very easily, simply choose the respective command for each version.

sudo apt install –install-recommends winehq-stable -y

sudo apt install –install-recommends winehq-devel -y

sudo apt install –install-recommends winehq-staging -y

Just wait for the installation to complete and enjoy Wine straight from the cellar. For those who play Windows games on Linux, we recommend using WineHQ Staging.

This article does not end here, keep exchanging an idea there in our forum.

Hope to see you next, a big hug.

_____________________________________________________________________________

See an error or would you like to add any suggestions to this article? Collaborate, click here.