📜 ⬆️ ⬇️

Linux at home or ...

How to make Linux run professional software through Wine using the example of Adobe Photoshop CC 2018 without using the Play on Linux toolkit.


All that will be written under the cat is an experiment that you yourself can crank on your workstation with the operating system based on the Linux kernel or on macOS as you like.


Preparing for the experiment


You will first need a basic toolkit with which we will work.


In my case it is:



First stage


Workspace preparation


The first thing we need to do at this stage is to force Wine to create a working directory with the parameters we need.


This is done quite simply:
WINEARCH=win32 #  win64          WINEPREFIX=$HOME/.WineExperiment #     export WINEARCH export WINEPREFIX #               wine wineboot #     WINEARCH  WINEPREFIX     


Preparing for installation and installation


In the future, we will need the tools winedump, grep and winetricks. #


Using winedump dump <> -j import | grep offset winedump dump <> -j import | grep offset find the necessary libraries to work with the installer.


In my case, everything you need is already in the standard environment.


And if you need components to run the installer, then you need to follow these lines.


 wget <  #> chmod +x ./winetricks ./winetricks --gui #      

For the curious
If you need a winetricks installed in the environment, then either download it to the $ HOME / bin directory, then set the execution rights to this file and then add it to the PATH variable in .bashrc, or use the package manager to install it.
In my case, I use the universal method available in many distributions:
 pkcon install winetricks 

Let's try to start the installer using WINEDLLOVERRIDES=winemenubuilder.exe=d wine <> .


For the curious.
You have the right to use WINEDEBUG=info to detect errors in the work of the installer.

For the unknowing
WINEDLLOVERRIDES=winemenubuilder.exe=d disables the creation of shortcuts and types.

Second phase


Run and search for problems


For this stage, we need the same tools that are used in the first stage.


Run the wine cmd to enter the work environment.
Using the cd go to the folder with the program and run it.


If necessary, enter or register. In my case, I use this program in trial mode because there is no money.


And it starts and runs without kicks, but not everything is as smooth as it seemed.


Photoshop saw that I was using a graphics card with an insufficient amount of video memory, and therefore I would have to discard some functions such as 3D and a small number of filters.


Decision
 ./winetricks settings videomemorysize=512 #       

On closing, Photoshop produced an error in the CEPHtmlEngine subroutine.


Decision
This error appears only once. You can ignore her.

Report


As part of this experiment, you can verify that the software is working on a platform that is clearly incompatible to run with standard settings.
But as follows from the experiment, there were no problems requiring any actions from the user, I deliberately did not consider the problems associated with the graphics card and where the solution is simply to close the error report window as one that requires additional actions.


PS


Write in the comments if something is not clear, we will understand together or vice versa, to supplement the text of the article with your sentence.


Thank you for your time.


')

Source: https://habr.com/ru/post/421703/


All Articles