Get the App
SLTechnology News&Howtos  ›  Development  › 

How does the Linux system execute .exe files

Shulou Source: shulou.com Published: 2022-06-01 20:22:20 10月25日 Update

Editor to share with you how the Linux system executes .exe files, I believe most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!

The .exe file is the executor in windows.

1. Install the required software packages: yum groupinstall 'Development Tools' / / install the development tools, take a long time to install the development tools library 2, download and decompress the Wine package, download it from all versions of https://sourceforge.net/projects/wine/files/Source/, and download it directly from linux.

Cd / usr/src / / download file directory, you can choose wget https://excellmedia.dl.sourceforge.net/project/wine/Source/wine-3.7.tar.xz / / download tar-xvJf. / wine-3.7.tar.xz / / decompress 3, install wine, take a long time, more than 30 minutes cd wine-3.764 bit installation method: note that there are three commands

. / configure-enable-win64 make make install32 bit installation method: note that there are three commands

. / configure make make install if there is a lack of package, which causes the execution of. / configure-enable-win64 to report an error, it will be resolved after executing the following command:

Yum install flex.x86_64 yum install bison.x86_64 Note: installation time will be long, wait patiently.

4. After the installation is successful, use the wine command to test the 32-bit system

Wine-version 64-bit system

Wine64-versioncentos7.0 successfully installed wine cannot be used, execute the following command to try:

Sudo ln-s / usr/local/bin/wine64 / usr/local/bin/wine5, Wine how to use the following command to run your program, some programs may require root permission:

If wine xxx.exe appears:

Wine: Bad EXE format for Z:\ D\ LYServer\ erl7.3.exe.

It's your .exe file, not 64.

The above is all the contents of the article "how the Linux system executes .exe files". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Tags: Commands files systems programs articles success content tools development tools methods three development patience not so much address most time more permissions version Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Huawei Docker NVidia Shulou Information OPPO Reno