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 to run the .exe file of Windows in Linux

2025-04-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

This article focuses on "how to run the .exe file of Windows in Linux". Interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn how to run the .exe file of Windows in Linux.

Wine 6.0Features:

The core module is implemented in PE format.

An experimental Vulkan renderer for WineD3D

Support for DirectShow and Media Foundation.

The text console is redesigned.

An initial USB kernel driver

Various Vulkan support improvements

For more information, see the bulletin.

How to install Wine 6.0in Ubuntu:

Press Ctrl+Alt+T on the keyboard, or search for "terminal" in the system application menu to open the terminal. When it is turned on, run the following steps in turn.

1. Run the command to enable the 32-bit architecture (if you don't have it):

Linuxmi@linuxmi:~/www.linuxmi.com$ sudo dpkg-add-architecture i386

When prompted, type the user password (no asterisk feedback) and press enter to continue.

2. Run the command to install the repository key:

Linuxmi@linuxmi:~/www.linuxmi.com$ wget-O-https://dl.winehq.org/wine-builds/winehq.key | sudo apt-key add-

3. Add wine repository by command (applicable to Ubuntu 20.04 and Linux Mint 20):

Linuxmi@linuxmi:~/www.linuxmi.com$ sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ focal main'

Note: you must replace the focal in the code with:

Ubuntu 20.10 is groovy Ubuntu 18.04 and Linux Mint 19.x is bionic

4. For Ubuntu 18.04 and Linux Mint 19.x, you need to install the libfaudio0 library from a third-party repository by running the following command:

Linuxmi@linuxmi:~/www.linuxmi.com$ sudo add-apt-repository ppa:cymaxmax-dexter / sdl2-backport

5. Finally, install Wine 6.0by command:

Linuxmi@linuxmi:~/www.linuxmi.com$ sudo apt update & & sudo apt install--install-recommends winehq-stable

This installs a series of packages, libraries, and drivers.

After the installation is complete, verify the Wine version, as shown below.

Linuxmi@linuxmi:~/www.linuxmi.com$ wine-version

6. Use Wine to run the Windows program on Ubuntu

To demonstrate how to run Windows programs using Wine, we downloaded the Rufus executable (.exe) from the official Rufus website.

To run the file, run the command:

Linuxmi@linuxmi:~/www.linuxmi.com$ wine rufus-3.13.exe

Choose whether you want to check for application updates from time to time.

Finally, the Rufus interface is displayed as follows.

We have successfully installed Wine on Ubuntu 20.04 and shown how to execute a Windows application in .exe format, which usually cannot be run in a Linux environment.

Uninstall Wine:

You can remove PPA by launching the software and update utilities and navigating to other software tabs.

To delete the win6.0, execute the command in the terminal:

Linuxmi@linuxmi:~/www.linuxmi.com$ sudo apt remove-auto-remove winehq-stable so far, I believe you have a deeper understanding of "how to run the .exe file of Windows in Linux". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!

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

Servers

Wechat

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

12
Report