Difference between revisions of "Wine"
m (→For a stand-alone exe) |
m (→For a software installer) |
||
Line 38: | Line 38: | ||
Here is a list of software that has been verified to be highly stable in wine: https://appdb.winehq.org/objectManager.php?sClass=version&iId=2631 | Here is a list of software that has been verified to be highly stable in wine: https://appdb.winehq.org/objectManager.php?sClass=version&iId=2631 | ||
+ | |||
+ | Desktop and menu icons will be created by wine when the installer completes, based on your wine configuration settings. This includes icons added to the X desktop and X menu. | ||
[[Category:Computer_Technology]] | [[Category:Computer_Technology]] | ||
[[Category:Linux]] | [[Category:Linux]] |
Revision as of 12:49, 22 December 2017
Wine is a compatibility layer for running Windows applications on Linux. Applications are run at full speed without the need of cpu emulation. Wine does not require Microsoft Windows, however it can use native system dll files in place of its own if they are available.
Contents
configuration
To configure (or reconfigure) wine: This control panel allows you to change settings and add or remove windows components
winecfg
install windows software
With Wine installed on your linux system, you can find a directory called .wine under your user home. Look for the path:
- /home/username/.wine/drive_c
For a stand-alone exe
You will want to copy the .exe file into the following path:
- /home/username/.wine/drive_c/Program Files
This location is not required, however, it is a logical place for the executable. It is best to have the executable stored anywhere within .wine/c_drive
Once the file is place, you can right click and choose "Open With -> Wine Windows Program Loader"
To create a launcher on the desktop of X you can try this method:
- create a file with the name of the program you want to launch and use a non-standard custom file extension, I used .wsh because it will be a shell script to a wine software. Here is a sample script to launch the stand alone program AxCrypt2Go.exe
#!/bin/sh cd /home/derek/.wine/drive_c/Program\ Files wine AxCrypt2Go.exe &
- Replace the executable in the example with one you are using and add the shell script into the .wsh file you created on the X desktop.
- Now right click on the .wsh file and choose "Open with" and "Other application"
- At the bottom in the text entry filed where you can add a custom executable path enter "/bin/sh"
- choose "Set as default" and click "Ok"
Although this is not the most elaborate way to create a desktop link to a stand alone wine executable, it does work. Other methods require 3rd party software.
For a software installer
- right-click the executable file and select Open With -> Wine Windows Program Loader.
- proceed with the installation same as in Microsoft Windows
- run the installed program, then exit
- Try to run it again. If there are errors we now need to apply any wine recommended workarounds or patches available from WineHQ
If you attempt to install any Windows application on Linux with Wine and run into a glitch you should check to see if it has been posted in the Wine application database. Here users have contributed resolutions to common glitches with workarounds for wine. Check the AppDB.
Here is a list of software that has been verified to be highly stable in wine: https://appdb.winehq.org/objectManager.php?sClass=version&iId=2631
Desktop and menu icons will be created by wine when the installer completes, based on your wine configuration settings. This includes icons added to the X desktop and X menu.