Jump to content

[Tutorial] Install and Run EXE Files in Linux


shashwat

Recommended Posts

Today, I installed and ran an EXE file in Linux. Believe me, it’s true. Having known to all that the .exe files can not be installed or run in Linux. But how did I make it possible?

Posted Image

Actually, the Linux architecture does not support the .exe files. But there is a free utility, “Wine” that gives you Windows environment in your Linux operating system. Installing the Wine software in your Linux computer you can install and run your favorite Windows applications. To begin you have to install the Wine software  in your Linux. After that you can install any EXE.

How to install Wine in your Linux operating system

Firstly, download the specific version of Wine for your Linux from WineHQ. In the download page you can see the links of Wine software for various version of Linux e.g Ubuntu, Red Hat, Mandriva etc. Click on your preferred link and follow the onscreen installation direction. Every version has its own installation procedure. You can also directly install the Wine software from the terminal by the following commands:

sudo apt-get update
sudo apt-get install wine

Assuming that you are the root user and the internet connection is available. If you are using Ubuntu then Press Alt + F2 and type “gnome-terminal” then hit enter.

Posted Image

This will open the terminal. Type “su” and hit enter to change your self in root user. You will be prompted for your root password. Now, here type the above commands one by one. At the time of installation system can download some files if required.

How to install and run EXE file

Navigate to the directory location of your windows application setup file and double click on it. It should start the installation of the application (.exe) file. If it does not work then you can start the installation process from the terminal by typing the following command

wine your_application_setup_file_name.exe

As example, if your application setup file resides in the desktop and the name of that file is install.exe then the command would look like these

Posted Image

After installing the application in your Linux operating system, you can run it from Application > Wine > Programs. You can also run the application from the terminal by typing the command “wine your_application_setup_file_name.exe“. Replace “your_application_setup_file_name.exe” with your own.

Note: Though Wine can provide an environment of Windows in Linux some application may not install or run properly.

Link to comment
Share on other sites

  • 1 year later...
  • 1 year later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...