Today, I installed and ran an EXE file in Linux. Believe me, it’s true. Having known to all that the .exe files cannot be installed or run in Linux. But how did I make it possible?
Update: Another better way to Run Windows Applications On Linux.
Actually, the Linux architecture does not support the .exe files. But there is a free utility, “Wine” that gives you the 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 file.
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 versions 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.
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, the 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 an 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
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 applications may not install or run properly.
I really like wine, however it yet to support all program but good to see it support most major software like Microsoft Office, Photoshop and so.
@Arafat Hossain Piyada: Yes. Wine makes it possible to run your favorite windows application without searching for its Linux version. You can use an .EXE file in both Windows and Linux. Thanks for sharing.
To make sure that your executable run you also need to make sure that the shared libraries are also installed which are needed by the application. And for “major” softwares like MS office and Photoshop, atleast for me i have trashed MS Office long ago, and use OpenOffice for word processing and Latex for structured word processing, and for image editing i use GIMP. And for wine, i can still run counterstrike, flatout2, win rar etc in my fedora system.
And yes, i should also add that please log into a normal user account, and not the superuser account. Else the software will be installed in the root user’s account and not the one you are using.
And also avoid logging in the superuser account it is a very very bad practice, as it gives easy access to system.
how can i install .exe files in linux??????????
i tried installing smsdiscount using Wine but i am unable to install it. does anyone know if wine support it or not. please reply, i will be highly grateful…
ya , winne is superb it really helps , thnx
Hi…I didn’t find the file to download from winehq website…can you send me the direct link for RHEL 6 64 bit machine.
u ain’t gonna get one, you’ll be a 100 years old by then……
thank u for sharing this sowftware. i like wine software….
some days iam searching how to install .exe file in linux. now i got the solution with the help of wine s/w.
it is very help to me..
I wan’t wine but it wont download on linux mint 13
What about after installation of ‘wine’ which procedure is done ?
Hello,
Can you help me please. I want to set up a .exe game server on linux?
Thank you so much. Very nice guide for newbies
Good tutorial but unfortunately didn’t worked out for me, when ever I try to execute a .exe or .msi file it gives me a big strange error :(.
Hi,
Thanks for the excellent post, I want to know how to run the wine with the php exec(), with relative and absolute url on the Linux server, do you know about it??
hallo i want to learn linux from scratch, i am newbie, please could you recomment for me the right books of reference
I m having problem with Wine package. Can you help me out?
What kind of problem are you facing Teju?
Can we run multiplayer games also in ubantu?
If yess plz tell me
It’s ubuntu!
what if i install java.exe with this process will it work
how do i install gimpshop in fedora 22?? please help
reallly new to this enviroment
hello guys.. im a software developer. i had develop application using vs2010 and want to run in linux..the problem is, exe installed successfully in linux but not running i had every thing from my side but nothing happen so plz help me..
Unfortunately Wine is unable to be installed on my PC…..
Any suggestions??