How to speed up the launch of Wine programs to Linux. Installation and Setup Wine - programs for running Windows applications. Winetricks - Additional Settings, Components and Programs

Wine is a special software that allows you to run applications created for Windows in UNIX-like systems, including Linux. Heard about Wine, I think, if not all, then many. I want to spoil on this topic. Many articles about Wine say that you need to harm on Pimp, pull the rogulin, and then the program (enter the name) will work. I would like to leave it aside, and tell about Wine in general, about what subtleties exist, and how to use it. At least this is exactly what I was lacking at first.

In many WINE distributions, "from the box" is installed - just perform a double click on the file with extension.exe, and it is likely to work. If this turned out to be a little, then let's dive into the details.

How to find out which version of Wine is installed?

Open the console, execute the command:

wineCFG.

In the window that opens, choose the "On Program" tab, where it is the desired.

Where to get Wine and what to choose a version?

Regarding the installation, I will only clarify that in many popular Winetricks distributions can be installed from repositories.

To run Winetricks for the default prefix, it is enough to execute the command:

winetricks --gui.

If you managed to create various prefixes, then use the command:

WINEPREFIX \u003d ~ / .WINE_EXAMPLE / WINERICKS --GUI

Is there any program that in general all the above will make for me?

There is, and two more. Let's start with Playonlinux - https://www.playonlinux.com/ru/. This program contains a large number of scenarios to install certain applications for Wine. Sometimes you need a distribution, in some cases playonlinux downloads it myself, as well as create a separate prefix with the desired Wine settings, downloads and installs all the necessary components, etc. In the list of programs, in the "General Education" there are those that do not work. They are highlighted in red. The interface at Playonlinux is simple and even in Russian.

The second option is a paid and fairly well-known CROSSOOVER solution (https://www.codeweavers.com/). Positioned as a commercial version of Wine. Product, on the one hand, aims to launch office applications. On the other hand, the same as in Playonlinux there are scenarios to set a large number of other applications, including games. Personally, I somehow not very see the "chip" of this program. It is not cheap, moreover, it is not about buying "one day and forever", but about subscription: 12 months - $ 40. At the same time, using a test version (if desired, you can do it), I saw the programs of interest to me (in particular Microsoft Office, and also something else in trivia) work no better than under the "simple" Wine And buy Crossover did not. I can not not notice that on the approach of the new, 15th, version of Crossover, in which we promise a lot of new things - for example, working office 2013. How it will work - of course, a big question. But meanwhile.

What is the result?

And in the end, everything is simple:
- Have a fresh version of Wine;
- In case of difficulties with some kind of program, do not be lazy to visit the APPDB and just read the forums. For example, on the forums of many MMO there are special topics on the launch of them under Wine;
- Additional components, since they are needed soon, install using WinETRicks;
- Especially "heavy" software install, using a special prefix.

By the way, about additional components. Many are trying to install DirectX under Wine, in most cases it is absolutely not necessary. If the game complains about the absence of some particular library, just install it through Winetricks.

In general, use Wine weighing. There is no point in switching to Linux, only to try to run all your usual programs under Wine.

Firstly, Linux has a lot of good native software, just look good, and you will definitely find the desired. For example, I already who picked up in return to those used in the "windows".

Secondly, "Wine" pulls not only Windows applications, but also various problems inherent in this platform. For example viruses. And given the fact that applications running under Wine have access to your home directory ... Some, as far as I know, even install under Wine Antiviruses. But this, it seems to me, completely bust.

It is enough to be careful and not to install everything. I start two games under Wine, and still, from time to time, the 7-Zip archiver - not to pick up completely satisfying me analogue under Linux.

In contrast to warnings, I would like to say that in itself the presence of such software as Wine opens a lot of opportunities, especially if you take into account the fact that recently Wine is improved literally in front of her eyes.

Wine for those who do not know is the shell with the help of which You can perform programs from the Windows operating system in Linux. At the moment, Wine supports a huge number of programs, of course, not everything, and the more not new games like GTA 5, but nevertheless, with the correct configuration, you can run almost any program, vassed some years ago.

But it's not entirely convenient to work with Wine. To install this or that program will have to climb a bunch of forums and blogs to understand which packages need to be installed and which libraries add. Then the long process of solving problems, setting packets through Winetricks and manual registry configuration and so on. It's all very difficult even for experienced users, not to mention newbies.

But there is a solution, even a few. There are several Wine shells that are trying to automate the program installation process - you choose the program from the list of supported, the installer and the utility itself loads all the necessary libraries and packets. There are such shells for Wine, like Playonlinux, Crossover and less well-known Qt4wine and t. But today they will not touch them, they are already quite written about the Internet. We will look at something new - Winewizard.

The official website of the program - WWIZARD.NET. Winewizard is a new open source Wine shell. With a new idea of \u200b\u200bthe approach to business, and much better than all previous ones. The main feature of Winewizard is solutions for installing programs. In order to install the Windows program, you just run Winewizard, select the program installer, and then select a program from the list supported.

Here are the differences from the familiar Playonlinux and CrossOver. Supported programs are solutions, and each user can create them. All solutions are synchronized to the program server and are available to everyone. Create a solution is very simply not necessary to enter anything into the console or write scripts, it is enough to choose from the list those packages that are needed for the program. Then the program itself downloads and install the necessary packets.

But the most interesting here is that the solutions you have created will be available to all users, and their solutions will be available to you. Thus, no longer needed to search for a very long time on the forums how to run one or another program, it is enough to do everything alone and everyone will be able to use this solution without going into details. For each program, a new prefix creates and you can select the Wine version. It is also very nice that you can choose architecture.

Of the advantages of the program, you can call the support mirrors to download packages, now many packages are taken from Playonlinux, support for selecting the prefix architecture, tips after installing the program, which in case of unsuccessful outcome can help solve the problem. Installing programs through Wine is performed very quickly and just if there are already solutions.

The program is completely new, so packages for it are not yet collected and it is not in the official repositories. To be more accurate, then at the moment there is a PPA for Ubuntu and a package in AUR for ARCHLINUX, but the versions in these repositories are already outdated.

I think that this is very soon correcting, so I'll still tell you how to install a program from PPA, but it is better to use another way and install from source code.

To add a PPA to the system, use the command:

sudo Add-APT-Repository PPA: NightUser / Winewizard

Now you can install:

sudo Apt Install Winewizard

The program is ready to work. Well, now consider the assembly from the source. To build a program, the libraries and the QT5 assembly tools are installed in the system. Also need standard utilities for archiving - Unzip, Cabextract, BZIP2, TAR, this is already for the program.

Install QT5 development tools in the system:

sudo Apt Install QT5-DEFAULT

Install the necessary utilities:

sudo Apt Install Unzip Cabextract Bzip2 Tar

First, download the sources themselves:

git Clone https://github.com/lliakajl/winewizard

Create the right directories:

cD Winewizard_version number
$ MKDIR Build && CD Build

Run an assembly:

qmake-qt5 ..
$ Make

The last stage is the installation. You can use the command:

sudo make install

Or use the CheckInstall utility in Ubuntu:

checkinstall
$ dpkg -i winewizard *

That's all, the program is installed and ready for use, the installation of programs through Wine will now be considered using Winewizard.

Installing Wine Programs With Winewizard

In this article, we will look at work with Winewizard on the example of installing a popular program for checking the uniqueness of texts - Advego Plagiatus.

First, start the program from the main menu of the system, or by following the command in the terminal:

You will see this minimalist main window in the form of the menu:

The whole point is that the program can hang in the tray and from there it will be very convenient to run the installed applications, it will be similar to the system menu.

To install the program, click Install Application.

In the next window of the wizard, you need to choose the installer in advance from the official website:

Next, the most interesting thing, what we talked about, solutions. You must select a solution for our program. To do this, enter the program name in the search bar. In our case, the Advego Plagiatus Linux installation will be performed:

We see the ready-made solution in the list, I have already created but, most likely, for the program that you want to establish solutions will not. To create a new solution, click the Add button:

The solution will be created, but now it remains to edit it to specify which packets you need to install with the program, you can edit both the 64 bit version and 32 bits, separately. Press the Edit button for the desired version. The next window is broken into three parts, the left column is packets that will be run without installer, the average available packages, and the right, packages will be installed before starting the program. Just drag the desired packets into a suitable column, it will be more reliable. In the same window you can choose Wine Version:

After applying the changes, it remains to click OK, then once again approx. Then we choose the prefix architecture:

Then start installing Advego Plagiatus Linux, I will not describe the installer, everything is elementary:





At the end, we can run the program, installing programs in Wine completed:

And we see that everything works fine:

After the operation of Winewizard is completed, whether the program works correctly:

If you have installed a Ubuntu or Linux MINT that, you wondered a logical question: how to install games on Linux? For those who just started using these systems, this question can be very relevant. This is due to the fact that on Linux not so many games that can be installed and all of them are sufficiently required for the system characteristics of the user. What again, for many it can be important.

Linux-based systems require more resources unlike Windows games. This is if we talk about direct ports. It's all about using OpenGL set when porting. Which in turn is quite new on the market. And in the investigation requires more time to study by developers. Although it is quite possible that with the arrival of the Vulkan API to the market, the situation may change for the better. After all, developers will be able to brief their projects with Windows on Ubuntu, subject to development on one graphics API.

But this is as they say, by the way. If you want to play Linux games, then you have several options: Download Steam for Linux or install Wine to run Windows applications. Each of the ways is very easy.

Download Linux games through Steam

Since the Steam game service has already has a fairly large number of games in the Digital Distribution Service, I am sure that you can find yourself the game to taste. The store presents literally games of any of the genres - from the Sid Meier's Civilization strategy to the CS: GO shooter. Here you can download Linux games in a huge amount. The main thing is that the characteristics of your system were productive for these games.

Installing games for Linux through Wine


Installing games for Linux through Steam is very simple. You just download the program through the Ubuntu Application Center or come to the Official Website Steam and from there take the installation file. In any case, you have a set of a huge number of games.

But this way is suitable if you sometimes play games. But if you spend a large amount of your free time for games, and these are large titles that come only on Windows, then you need to install Wine.

The essence of this program is very simple, and it is clear to everyone. You install this program, and run through its programs that are designed for Windows systems. True, this method is even more demanding to the resources of your device than the previous one. After all, it is necessary to take into account the time to compile resources from Windows Wednesday in Ubuntu.

Installing games is also possible directly from the system. That is, the game downloaded and launched the installer. Subsequently, you can run the installed game from the desktop.

Also important point: sometimes games need to run from the installation folder.

How to install Wine

Install Wine is very simple, for this you can use the way:

  • This can be made from Ubuntu official repository.
  • Or you can go to the official website of Wine and download the program from there and then install it.

I will give some general recommendations for installing and launching games.

1 To install or run a program, you do not need to run Wine. You just need to run the startup or installation file, as in Windows, usually double clicking on game.exe, setup.exe

2 No circumstances (if you do not understand what you do) do not run Wine's processes with superuser rights and in the terminal using Sudo to protect your computer from full access to your installed Windows programs. Come only under the usual user account. If, all the same managed to run Wine through sudo, then in the terminal (Ctrl + Alt + T), run the commands: sudo rm -rf ~ / .wine and winecfg, it will return you to the native /home/name/.wine folder

3 Installation. Insert your licensed disk with the game, open it on your desktop, searching for setup.exe and click on it, the installation program will start. If the game goes in the image Read





I advise you to select the C: \\ Program Files \\ directory to select the C: \\ Program Files \\ (by many games), in no case to install an additional software going along with the games especially DirectX.
If your game has a copy protection function that is not supported by Wine (for Starforse), you will have to find and install a NOCD patch (crack), but remember you should have an original disk in your hands without violating the license agreement.
When installing from the repaka, be careful, some repacks install an additional default software (i.e. without asking you), which is not good.
It happens that the installation file from the mouse does not start, in this case, open the terminal (Ctrl + Alt + T), drag your setup.exe, in the terminal window

Add the Wine command in front and press Ener.


4 launch.
If the game does not start from the icon on the desktop, try running it from the game folder or through the terminal, as mentioned above.
Where to look for our installed game? But where: " Applications-\u003e Wine-\u003e Disk Overview C: -\u003e Program Files-\u003e Your game" or " Transition-\u003e Home folder-\u003e Ctrl + H -\u003e. Wine-\u003e Drive_c-\u003e Program Files"
5 Using the visual effects of the desktop (compiz) can distort the operation of OpenGL, so I recommend it off.



6 saving.
Many know that after installation, most of the games prescribe their saving and settings to the "My Documents" folder, but in the Wine "My Documents" folder is a link to your home dryer / home / user, as a result after installing N-boushestics games The folder may be lit. To do this not happen to open " Applications-\u003e Wine-\u003e Wine Setup"And on the tab" View and integration-\u003e Standard folders"Enter your directory for storing game files, for example - / Home / Name / My Documents /:

7 The work of the NVIDIA PowerMizer energy saving technology can lead to insufficient performance in games and conflicts with a sound adapter, on this when the resource-intensive WINE applications are used to disable it on the appropriate tab in the NVIDIA-SETTINCE utility (set the Prefer Maximum Performance):



8 Another advice: I see a lot on various forums of type questions: " Installed (a) Wine, does not start (the game is not installed). What to do?"- informative, right? What you can answer, not knowing: what kind of operating system, the version of Wine, what is the game, is the video card driver installed, DirectX and whether other games work. Therefore, do not try to start at once some kind of trimmed game (especially if she has any problems and in the native Windows environment), choose for the first installation already running in Linux toy (Google to help), so you can make sure that they did not allow any critical errors in Wine, and if allowed, it will be easier to find it.

9 Some games require certain (relative) libraries in the System32 folder, as well as correctly setting up libraries in Wine:


My library set in the System32 folder, if you wish, you can download here: System32 folder
9 Completely when installing programs using Wine on the desktop, in addition to the icon, LNK files - which spoils the appearance.

To hide these files without changing their name (i.e., without setting the point before the file name), you can enroll as follows:
a) Create a file on the desktop - ".hidden";

b) open it in a text editor and you deposit the name of the file that we want to make invisible;

c) reboot

By the way, you can hide any files and folders, in any directory - you just need to create the ".hidden" file in this directory and enter all the folders you need and files there. "Show" them you can combine Ctrl + H.

An example of installation, starting and deleting the game can be viewed by the example: