Installing Wine. Basic Wine setup Filling wine

1. Introduction

Many programs run under WINE without any additional settings. Unfortunately, this is not always the case. In addition, programs are constantly updated and the list of running applications is constantly changing. Therefore, it would be a good idea to configure WINE to work with potentially problematic programs.

There are two main utilities for configuration - winecfg and winetricks. In this guide we will look at the first of them. In most cases, however, winecfg's capabilities are quite enough to make the program work.

winecfg is a graphical utility. Different distributions and desktop environments handle WINE and WINE applications differently, so the easiest way to run winecfg on any distribution is in a terminal.

After launching the program, you will see a simple window with seven or eight tabs, depending on the version of WINE. The eighth tab "Staging" appears only when using intermediate versions of WINE.

2. Libraries

The "Libraries" tab is probably the most important in winecfg. It allows you to control how WINE works with Windows libraries. This is especially important because some applications are incompatible with certain versions of libraries, or require certain non-standard libraries. The WINE code has also been modified to address these issues. Since WINE is not Windows, it may not always use the same native version of the Windows library before that library is adapted to work with WINE.

The first element in the contribution is the "New override" drop-down list. It allows you to select a Windows library from an incredibly long list, or enter your own. After that, you click the "Add" button to add to the list.

After clicking "Add", the library will appear in the field below called "Existing overrides.". This field contains a list of overridden libraries added to WINE. By default, the new override (native, builtin) will be as follows. This means that WINE will first try to use the native Windows version of the library. If the attempt fails, WINE will revert to its built-in version. These options can be changed. To do this, highlight the override you need, then click "Edit" next to the "Existing overrides" field.

By clicking the "Edit" button, we will see a window that allows you to edit the override. Here you can choose from five available options, most of which are various combinations of "Native" and "Builtin." The last available option is "Disable". Which option you choose depends on the type of errors you are encountering. Finding the right combination of options can be quite difficult, especially if the program is not documented in the WINE Appdb (https://appdb.winehq.org). You can try running the program in WINE from command line to view the output, which contains a lot of useful information.

If you need to remove an override, simply highlight it in the "Existing overrides" field and click the "Remove" button. From time to time you have to do this when updating the program.

3. Graphics

You probably won't use the "Graphics" tab very often. If you have problems with screen resolution, you can adjust the dpi, and if your window manager is misbehaving, you can disable its control over WINE windows.

More often you will use the "Emulate a virtual desktop" option in the "Graphics" tab. This option allows you to force WINE app run in a window that behaves like a virtual desktop. Remember that this is not a virtual machine. It simply forces applications to run in WINE in a window.

This option probably seems rather strange, but there are at least a couple of cases where it may become necessary.

Very often, programs in WINE refuse to run in windowed mode. This problem usually occurs in games where some strange bug only appears in windowed mode. A workaround for running such games in windowed mode is to use the "Emulate virtual desktop" option.

The other case is more problematic. Sometimes an app tries to change the screen resolution and crashes in the process. Again, this happens most often with games, especially older ones. A crash could ultimately result in a black screen, the wrong resolution being set, or the X server hanging. Either way it's a problem. To prevent this, run the program with the "Emulate a virtual desktop" option. It may not prevent the program from crashing, but it should prevent problems with the rest of the system. This is a useful debugging methodology.

4. Desktop integration

You've probably never used this tab. The "Desktop Integration" tab allows you to change appearance applications running in WINE. However, most graphical shells and window managers already cope with this task perfectly, as a result of which there is almost never a need to change the theme. The worst thing that can await you if you don't use this tab is design in Windows style 98.

5. Discs

WINE usually does a good job of detecting drives. If the disk is not detected, or you need to add a physical or virtual drive, for this use the "Drives" tab.

When adding a physical drive, you can use the "Autodetect" button to have WINE try to detect the new drive. If this doesn't work, or you are adding a virtual drive, you can click "Add..." and set a letter for the new drive. Next, select the drive in the "Drive configuration" window and change the path to the device in the "Path" field.

This tab is very useful when running games that span multiple discs, or games that require a disc in the drive to run. It may also help if you have a dedicated drive or Windows partition, which contains games or other programs.

6. Audio

7. Staging

You will only have the "Staging" tab if you are installing intermediate releases or patches. It is simply a set of checkboxes that allow you to enable or disable various possibilities provided by patches. Main function- the ability to activate support for CSMT or Gallium Nine, depending on the installed patches. CSMT is available for all video cards and drivers, and can significantly increase performance in many programs and games. Gallium Nine is only available to Mesa users and can potentially see huge performance gains. However, these two options cannot be used simultaneously. Other options may also provide some performance gains.

8. Settings for specific programs

Since most WINE settings are intended to troubleshoot problems associated with various applications, it makes sense to create specific configurations for different programs. The "Application" tab allows you to create configurations that are selected when running in WINE certain applications, and also select the emulated version of Windows to ensure compatibility.

To create a specified set of settings, click "Add application...". You will see a window that allows you to select Windows executable files.

winecfg will change settings depending on which application is selected in the tab. By default, the default settings are selected. These are general settings that will apply to all applications, with the exception of a specific set of settings intended for a specific application. By selecting an application in the "" tab, you will see the settings of this application in all tabs. Changes you make in other tabs apply only to the selected application.

9. Conclusion

winecfg is a small but powerful utility that allows you to customize WINE to suit your needs. Once you become familiar with it and learn how to use it correctly, you will be able to create working configurations with many applications that run using WINE. Additionally, using winecfg with winetricks, you can achieve near-native performance levels for many programs.

It turned out that not all the subtleties are there. Therefore, I wrote this post as an addition to that.

This post is mostly a free translation of. documentation, as well as several of our own and others’ tricks when working with Vine.
Most likely, this post will be of interest to beginners and ordinary GNU\Linux users. Nevertheless, good advice from experts will not be superfluous.

I think there is no point in explaining what a vine is. I just want to show you a few tricks when working with it.

Prefixes
With their help, you can install applications exactly where you want to install them, and not in the default.wine. Even if something goes wrong, it is enough to delete the prefix in which the error occurred, while all other applications\prefixes (assuming they are configured) will not be affected.

That is, each prefix you create can be considered a separate wine - it is independent of other prefixes. Or, for even greater simplicity, treat each created prefix as a separate installation of Windows.

Now a little practice:
Now we will create a Gamez folder, in it we will create a lib prefix in which we will install several libraries. These libraries will still be useful later, so let them be cached.

Mkdir ./Gamez

env WINEPREFIX=$HOME/Gamez/lib winetricks directx9 vcrun2005 vcrun2008 vcrun6
env WINEPREFIX=$HOME/Gamez/lib wine winecfg

With the last command we again called up the wine configurator window. Just go to the Libraries tab and make sure everything is installed. After this do:

Wine winecfg - the wine configurator will open (not from the prefix), check the same tab. See! There are no libraries here. So he is safe and sound.

How to install multiple different versions wine?
To solve this problem, you will have to build wine from sources. When assembling, we simply use the prefix for the default installation. Something like this:

./configure prefix=/path/to/install/directory && make
sudo make install

AppDB
Be sure to use appdb to search for information on installing the application; perhaps the staff you are installing has already been installed and all the pitfalls have been described.
Cleaning up your home directory
If you like to game, then your /home partition is probably full of saves and other game files. You can get rid of this whole thing, without any damage, like this:

Replace the standard path to my documents with the desired location for storing saves. For example, this path leads to the game folder.

Using the latest versions of wine
Wine is such a thing than newer than that better! With the following command you will always have latest version wine (for Ubuntu-like distributions):

Sudo add-apt-repository ppa:ubuntu-wine/ppa
sudo apt-get update

After running these commands, look for the latest version of wine in synaptic.

Installing winetricks
If for some reason you still don’t have winetricks, then you can start one on your farm like this:

Wget winetricks.org/winetricks
sudo cp winetricks /usr/bin
sudo chmod +x /usr/bin/winetricks

How to install MSI file?
This can be done in two ways: wine msiexec /i whatever.msi

Alternative way: wine start whatever.msi

The file foo.exe is not marked as executable… - What does this mean?
This error occurs because exe file there is a ban on execution. For a file on your FS, this command should fix the situation:

Chmod a+x ./patch/you/exe.file

If the file is on disk, then this command should help:

Mount -o remount,mode=0777,exec /media/cdrom

How to output debug contents to a separate file?
cd ~/.wine/drive_c/Games/Tron
wine tron.exe &> log.txt
How to disable the "crash" dialog?
If you use prefixes, do not forget to specify the path to the prefix in the command - winetricks nocrashdialog
After launching the application/game, wine complains and does not launch anything. What to do?
First, study the logs, usually everything is written in them. Below I will list the most popular mistakes:

MFC40.DLL: Install mfc40 (Microsoft Foundation Classes from Visual C++ 4) via winetricks.
MFC42.DLL, MSVCP60.DLL: Install vcrun6 via winetricks (MS Visual C++ 6 sp4 libraries: mfc42, msvcp60, msvcrt).
MFC71.DLL, MSVCP71.DLL: Install vcrun2003 via winetricks (MS Visual C++ 2003 libraries: mfc71,msvcp71,msvcr71).
MFC80.DLL, MSVCP80.DLL: Install vcrun2005 via winetricks (MS Visual C++ 2005 libraries: mfc80,msvcp80,msvcr80).
MFC90.DLL, MSVCP90.DLL: Install vcrun2008 via winetricks (MS Visual C++ 2008 libraries: mfc90,msvcp90,msvcr90).
MDAC: Install mdac27 (MS MDAC 2.7) via winetricks.

My app is working but the text fields are behaving strangely
Analyze the wine debug after launching the application, if you see something complaining about RICHED20.DLL, then install the following library via winetricks: riched20
After launch, fixme messages are displayed in the console. What is this?
You can simply ignore them, this is information for developers.
What to do if the application requires the .NET framework?
Through Wintrix you can install 1 or 2 frameworks. Alternatively use mono. If the application requires framework 3 or 4, then most likely it will not work (although 3 and even 3.5 are available in the winetricks menu). We are waiting for this problem to be resolved.
The game I'm trying to install is protected from distribution, is it possible to install it?
See the list of copy protection that work.
What to do if the application requires IE?
Wine uses the Gecko kernel/engine by default, which is the same as Firefox. Therefore, you can install gecko (if it doesn’t exist) and/or fakeie6 through winetrikcs.

If this does not help, try changing the windows version to win2k and installing ie6, ie7 or ie8 via winetricks.

How to enable font smoothing in wine?
If your version is higher than 1.1.12 you can use winetricks and choose one of three antialiasing options: fontsmooth-gray, fontsmooth-rgb or fontsmooth-bgr
Screen resolution is not restored after exiting the game
This should help: xrandr -s 0
How to get into the wine registry?
wine regedit - If prefixes are used, specify the path in the command.
Does wine require a separate driver installation?
No. Wine is not a computer emulator; it only translates Windows API calls into commands that Linux understands.
Is it safe to run wine as root?
Never run wine as root user!!!

If this has already happened, change the owner of the ~./wine directory.

CD ~
sudo chown -R $USER:$USER .wine

Safety precautions when using wine
Here are some tips to help you improve your security:
  • Never run programs from suspicious sites
  • Never use root user to run applications!
  • Use a virus scanner for startup applications, such as ClamAV. Or at least check the exe files on virustotal
  • Try removing the wine drive Z:, which points to the root directory by default. As a workaround, run programs from the ~/.wine/drive_c directory.
  • Use virtual machine to launch and scan suspicious applications.
The file.xsession-errors clogs up the entire disk space with garbage!!! What to do? (recipe from --=XliN=--)
Save the following script:
% cat .scripts/xsessionerrorscleaner.sh
#! /bin/bash
while true ; do
inotifywait -e modify ~/.xsession-errors &> /dev/null
[[ "$(stat -c %s ~/.xsession-errors)" -ge "52428800" ]] && echo > ~/.xsession-errors
done

Add it to startup, and install the following package (it is necessary for the script to work).
apt-get install inotify-tools

Making a “sandbox” for wine (recipe from drBatty)
*1) create a user
2) change the rights to home directories to 700
*3) write the command in sudoers (visudo)
first_user computer_name=(second_user) NOPASSWD: /program_with_full_path
4) for the first user, enter the command xhost +local into DE startup: second_user
5) write in the shortcut to launch the program
sudo -u second_user /program_with_full_path
then the first user will be able to more or less safely run programs on behalf of the second user.
The asterisk marks the items for which root rights are required.

Wine (WINE Is Not an Emulator) – special program, compatibility layer, for running Win32 applications in UNIX-like systems. Simply put, this thing allows you to run Windows programs and games in your cozy Linux :).
The program is actively developing, but so far, unfortunately, not all applications work correctly in it (and some do not work at all). It’s also sad with games - there is no full support for DirectX 10 and 11, only 9 and younger. (DirectX 10 support is being actively improved in the latest test builds). But nevertheless, there are a lot of games on DirectX 9. In this article, we will install and configure Wine, and also install the PlayOnLinux application, which is very useful for games. The installation will depend on your distribution, but the program setup itself is absolutely the same in the vast majority of distributions. There are two branches of Wine - stable and test. In most cases, it is recommended to use the test one, since the program is actively developing and improving. For now, let's look at installing the stable version (examples are for the command line, but you can use graphical utilities such as Ubuntu Software Center or Yast2 in OpenSUSE):

For Debian/Ubuntu/Mint:

sudo apt-get install wine winetricks

For OpenSUSE:

sudo zypper ar -r http://download.opensuse.org/repositories/Emulators:/Wine/openSUSE_13.1/Emulators:Wine.repo
sudo zipper in wine

sudo yum install wine
cd/tmp
wget http://www.kegel.com/wine/winetricks
chmod +x winetricks

Note. If you have a 64-bit system, then for 32-bit programs to work correctly (and most games are like that), you need to configure Wine with a 32-bit prefix. To do this we enter:

WINEARCH=win32 WINEPREFIX=~/.wine winecfg

The settings window will open. You can leave everything as is.

Now we need to install a set of system libraries for our Windows applications to work. In the programs menu, find and run Winetricks(or from the terminal with the command winetricks). In the first window we select ---Select the default wineprefix--- making money OK. In the second ---install a Windows DLL or component---OK


Remember:
You will need to mark with dots, as in the list. It is better to install not all at once, but several at a time. I'll separate them for convenience. Don't go far when installing, you need to agree with licensing agreements and so on. Error windows will pop up, click OK. Let's begin.

directly play, dmsynth

dotnet20

dotnet30(errors will appear and a window will open in the file manager and browser, download from the second link and move it to this window file manager. Type in the console winetricks and again select dontnet30. Before doing this, you need to check the Wine Settings so that Windows version XP or Vista.

dxdiagn, gecko120, gfw, mfc40, mfc42, msasn1, msxml6, gdiplus, physx, quartz

vb5run, vb6run, vcrun2003, vcrun2005, vcrun2008, vcrun6, vcrun6sp6

wmp10, wsh56vb, wsh57, xact, xact_jun2010, xinput

Let's install the fonts. Choose Install a Font and indicate

corefonts, fontfix

Registry settings

Opening Change Settings and celebrate

1. DirectDrawRender(ddr) -- opengl
2. Multisampling Direct3D -- enabled
3. OffscreenRenderingMode(orm) -- fbo
4. PixelShaderMode(psm) -- enabled
5. Render TargetLockMode(rtlm) -- auto
6. UseGLSL(glsl) -- enabled (default) (For Nvidia video cards It is recommended to leave it disabled. This can significantly improve the performance of some games).
7. VertexShaders(vsm) -- hardware
8. VideoMemorySize 1024 (select the RAM value of your video card)
9. MouseWarpOverride(mwo) -- enabled (force)
We confirm our changes - OK.

That's all. Now some notes on installing software and games. Firstly, under no circumstances install additional software that the program offers (all sorts of directixes, visual c++, and so on). Check them carefully and if something happens, uncheck them. Secondly, at the end of the installation, uncheck “Run the program”.

Now as for test version. There is a special repository for Ubuntu/Mint. To connect it and install a test version of Wine, enter in the terminal:

sudo add-apt-repository ppa:ubuntu-wine/ppa
sudo apt-get update
sudo apt install wine 1.7 winetricks

In some distributions (for example Debian), to install the test version, it must be compiled from source code. But this is beyond the scope of this article. Or you can install wine-staging, which is also a test but has a few extra features.

P.S. For those who like to see once is worth reading a hundred times - a short video tutorial on installing a test version of Wine on Ubuntu:

All people love to play games. This activity helps to take your mind off the real world with its real problems and, at least for a short time, immerse yourself in the virtual world.

This is exactly how an article about games for Windows should have started. But today the conversation is not entirely about them. Today we will talk about games on Linux. Most people don't like this operating system just because it doesn't have "normal" games, no matter that it works great.

But those who want can play the same games on Linux as on Windows. Ask how? And it's very simple. Today we’ll talk about how installation occurs and Wine setup.

Those people who have been using Linux for a long time and have chosen it as the head of the OS probably do not need to define this software, but for others it is still worth explaining.

Wine is a program that makes it possible to run programs and Windows games. In other words, you can use it to play those games that are not intended for Linux and are, so to speak, exclusive to Windows.

It is noteworthy that the program is constantly evolving. So, a couple of years ago it was impossible to launch a game based on DiretX11 using it, but now everything has changed. Patches are constantly coming out, and everything is quickly repaired if something is broken. If you prefer stability, then you can easily install the standard version of Wine and it will not surprise you unpleasantly.

The only downside is the relatively complex setup of Wine. But after reading this article, you will understand everything in a matter of minutes and do everything yourself.

Installation methods

Before telling how to set up Wine for games, it is necessary to first explain how it is installed.

Linux users know that the same action in their operating system can be produced in different ways, and with

Let's consider initially the simplest option, using the Package Manager or, as it is also called, the Program Manager. In principle, it doesn’t matter what it’s called, the main thing is that it works the same.

Initially, you need to open it. Next in search bar you need to enter the name of the program - Wine. The search begins. At the end of it, several options may appear in front of you. Simply select Wine without any extra characters and click “Install”. Wait while the program downloads and installs.

The second way is to use the terminal. Once you open it, enter:

sudo apt-get install wine

The download will begin followed by installation. However, there is a high probability that the download will not be the “fresh” version, this is due to the fact that the program is being developed by leaps and bounds. Therefore we enter:

sudo add-apt-repository ppa:ubuntu-wine/ppa

sudo apt-get update

Now enter:

sudo apt-get install wine1.6

That's all, the software has just been installed via the Console. Now we’ll tell you how to configure Wine.

What you need to know about setting up Wine?

For Wine (Linux), the setup may not always go smoothly, but don’t worry if something doesn’t work out for you, you can return everything to its original position at any time. The easiest way would be to remove the program and reinstall it, but this is only in extreme cases.

The main thing is not to rush. In this matter, it is important to carefully read what needs to be done and when. But if you succeed, you will remember it for the rest of your life. Now let's get started.

First thing

There are two development options here, the differences in them are small, but still there. If you have 64-bit Linux distribution, then you and Wine have 64-bit installed, but this is not necessary. Therefore, enter this command into the terminal:

WINEARCH=win32 winecfg

After this, you should have the Wine settings open. Move it to the background and don't come back to it for now. If you have a 32-bit system, you can skip this step.

Now you need to download and install Winetricks. To do this, write in the terminal:

winetricks

If you do not have this program, you will be offered to download it. Download and install. Then launch it.

Winetricks allows you to quickly set up Wine itself. Having launched it in the first window, you need to select Select the default wineprefix. Click OK.

Setting up DLLs and fonts

We continue to talk about how Wine setup proceeds. By clicking “OK”, we will see that a second window will open. It is necessary to highlight Install a font- this is to customize fonts. Click OK.

A window will open in front of you with all possible fonts for Wine. In order not to delay for a long time and not waste time, select everything at once and click OK. After this, the download and installation window will open. During this, do not move far from the computer, as it is likely that you will receive requests to confirm the operations being carried out. Agree with all of them.

It is likely that after selecting all the fonts and pressing the button, you will be shown an error and everything will be lost. In this case, you won’t be able to install everything at once and will have to do it separately. If after selecting an item you get an error, skip it.

Now let's move on to setting up the DLL. This is a very important point, and you cannot skip it, since without the installed DLLs it is unlikely that you will run at least any game.

Click on Install a Windows DLL or component. A window similar to what was with the fonts will open in front of you. Not all components can be installed here, but some are required. In general, it would be better to do the same manipulations as with fonts. Try to install each of them one by one, ignoring those that give an error.

By the way, after trying to install some DLLs like dotnet30, you may get an error and open Explorer with the browser. In this case, on the browser page you need to download the proposed component and place it in the folder that was opened, and then perform the installation procedures again.

Registry settings

By the way, according to these instructions, setting up Wine in Linux Mint, although there should be no problems with other distributions either.

Let's move on to debugging the registry. To do this, in the second window, this time select Change setting. You can’t take any liberties here, and you won’t be able to install everything at once. Therefore, we follow the presented list of necessary settings:

    ddr-opengl

    multisampling - enabled

    orm - f bo

    psm - enabled

    rtlm - auto

    glsl - enabled- this is according to the standard, but if you have an Nvidia video card, then it is better to choose disabled. This will improve gaming performance.

    vsm - hardware

    videomemory size 1024(select the amount of video card memory)

    mwo - enabled (force)

That's basically all about Wine. Setting up Mint and other OS versions is no longer a problem for you, because this instruction works great for most distributions.

Remember one more thing: when installing Windows games, you cannot choose to install additional software. Uncheck the boxes. Also, once the installation is complete, uncheck the “Run now” checkbox. Launch via a shortcut on the desktop.

Wine (WINE Is Not an Emulator) is a special program, a compatibility layer, for running Win32 applications on UNIX-like systems. Simply put, this thing allows you to run Windows programs and games in your cozy Linux :).
The program is actively developing, but so far, unfortunately, not all applications work correctly in it (and some do not work at all). It’s also sad with games - there is no full support for DirectX 10 and 11, only 9 and younger. (DirectX 10 support is being actively improved in the latest test builds). But nevertheless, there are a lot of games on DirectX 9. In this article, we will install and configure Wine, and also install the PlayOnLinux application, which is very useful for games. The installation will depend on your distribution, but the program setup itself is absolutely the same in the vast majority of distributions. There are two branches of Wine - stable and test. In most cases, it is recommended to use the test one, since the program is actively developing and improving. For now, let's look at installing the stable version (examples are for the command line, but you can use graphical utilities such as Ubuntu Software Center or Yast2 in OpenSUSE):

For Debian/Ubuntu/Mint:

sudo apt-get install wine winetricks

For OpenSUSE:

sudo zypper ar -r http://download.opensuse.org/repositories/Emulators:/Wine/openSUSE_13.1/Emulators:Wine.repo
sudo zipper in wine

sudo yum install wine
cd/tmp
wget http://www.kegel.com/wine/winetricks
chmod +x winetricks

Note. If you have a 64-bit system, then for 32-bit programs to work correctly (and most games are like that), you need to configure Wine with a 32-bit prefix. To do this we enter:

WINEARCH=win32 WINEPREFIX=~/.wine winecfg

The settings window will open. You can leave everything as is.

Now we need to install a set of system libraries for our Windows applications to work. In the programs menu, find and run Winetricks(or from the terminal with the command winetricks). In the first window we select ---Select the default wineprefix--- making money OK. In the second ---install a Windows DLL or component---OK


Remember:
You will need to mark with dots, as in the list. It is better to install not all at once, but several at a time. I'll separate them for convenience. Don't go too far when installing, you need to agree to license agreements and other things. Error windows will pop up, click OK. Let's begin.

directly play, dmsynth

dotnet20

dotnet30(errors will appear and a window will open in the file manager and in the browser, download from the second link and move the file manager to this window. Type in the console winetricks and again select dontnet30. Before doing this, you need to check the Wine Settings so that the version of Windows XP or Vista is installed.

dxdiagn, gecko120, gfw, mfc40, mfc42, msasn1, msxml6, gdiplus, physx, quartz

vb5run, vb6run, vcrun2003, vcrun2005, vcrun2008, vcrun6, vcrun6sp6

wmp10, wsh56vb, wsh57, xact, xact_jun2010, xinput

Let's install the fonts. Choose Install a Font and indicate

corefonts, fontfix

Registry settings

Opening Change Settings and celebrate

1. DirectDrawRender(ddr) -- opengl
2. Multisampling Direct3D -- enabled
3. OffscreenRenderingMode(orm) -- fbo
4. PixelShaderMode(psm) -- enabled
5. Render TargetLockMode(rtlm) -- auto
6. UseGLSL(glsl) -- enabled (default) (For Nvidia video cards, it is recommended to leave disabled. This can significantly improve the performance of some games).
7. VertexShaders(vsm) -- hardware
8. VideoMemorySize 1024 (select the RAM value of your video card)
9. MouseWarpOverride(mwo) -- enabled (force)
We confirm our changes - OK.

That's all. Now some notes on installing software and games. Firstly, under no circumstances install additional software that the program offers (all sorts of directixes, visual c++, and so on). Check them carefully and if something happens, uncheck them. Secondly, at the end of the installation, uncheck “Run the program”.

Now regarding the test version. There is a special repository for Ubuntu/Mint. To connect it and install a test version of Wine, enter in the terminal:

sudo add-apt-repository ppa:ubuntu-wine/ppa
sudo apt-get update
sudo apt install wine 1.7 winetricks

In some distributions (for example Debian), to install a test version, you need to build it from source code. But this is beyond the scope of this article. Or you can install, which is also a test but has a few additional features.

P.S. For those who like to see once is worth reading a hundred times - a short video tutorial on installing a test version of Wine on Ubuntu: