Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How does Linux run exe

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

Most people do not understand the knowledge of this "how Linux runs exe" article, so the editor summarizes the following content, detailed content, clear steps, and has a certain reference value. I hope you can get something after reading this article. Let's take a look at this "Linux how to run exe" article.

EXE is a common extension of executable files in Windows systems. If you want to run exe in Linux systems, you can use Wine,wine, which is a compatible layer that can run Windows applications on a variety of POSIX-compliant operating systems, such as Linux,Mac OSX and BSD.

Linux running exe specific method 1, install the required software packages: yum groupinstall 'Development Tools' / / install development tools, time-consuming yum install libX11-devel freetype-devel zlib-devel libxcb-devel / / install development tools 2, download and extract the directory of Wine package cd / usr/src / / download files 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, it takes 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 about the content of this article on "how Linux runs exe". I believe we all have a certain understanding. I hope the content shared by the editor will be helpful to you. If you want to know more about the relevant knowledge, please follow the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report