It is possible to run a Exe file in RedHat
Solution 1
I'm going to answer this anyway, even though this is off-topic as this is about another Linux distro. Really you ought to ask the question on Unix & Linux - you can use the same StackExchange account.
To run most exe files, you can use Wine. You can install it in most rpm
based systems with:
sudo yum list wine*
Then you can click on exe files, and open them with 'Wine Windows Program Loader'.
As for batch files, that is harder, but you may be able to use a Windows like terminal that comes with Wine - you can open that by running:
wineconsole
Solution 2
Exe files can not be run in Linux
The exe fileformat is something that Microsoft has coined and is something that only natively works in their operating systems.
There are, however, plenty of tools for you to run files with the .exe fileformat and the most popular one right now would be WineHQ.
Wine
Wine enables you to run software that only natively works in Windows, but in Linux instead.
Wine is not something that is foolproof and probably wont support every itty bitty application that you need to run. So to be sure that the application you are trying to run is supported I suggest that you head on over to their AppDB. This page contains a lot of useful information regarding applications supported by Wine as well as some common bugfixes to the current version of the software.
Related videos on Youtube
user3085760
Updated on September 18, 2022Comments
-
user3085760 over 1 year
I am new to linux. I run the batch file which will execute exe file in automated way. I need to do the same in linux. Kindly give me some idea how to use it. Thanks in advance
-
John F. about 10 yearsHave you tried installing wine (winehq.org)? That allows you to run some windows applications.
-
Andy about 10 yearsThis question is ambigious, do you want to run actual Windows Binaries (.exe) files, or are you asking how you would make a .bat style "script" to run a fixed set of linux programs?
-
user3085760 about 10 yearsActual windows Binaries(.exe)files
-
-
user3085760 about 10 yearsIt is possible to use wine for automatic way?@wilf
-
Dillmo about 10 years
wine
will do just about anything you can do on Windows. However, more advanced software may require a bit of tweaking. Head to WineHQ for more information. -
Wilf about 10 yearsSorry about the lack of info, stuck this in before it is flagged as closed. Wine should automatically open 'exe` files if you set it in 'Properties' > 'Open With...', but in terminal you need to prefix it with
wine
orwine start /unix FILE