• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Bear Bibeault
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Jj Roberts
  • Tim Holloway
  • Piet Souris
Bartenders:
  • Himai Minh
  • Carey Brown
  • salvin francis

how to run a .exe file

 
Ranch Hand
Posts: 92
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using Linux Fedora

How do we run a .exe file on OS.

What are the commands we need to use

Can we run a binary file on Linux
 
author and iconoclast
Posts: 24203
43
Mac OS X Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
".exe" files are executables for DOS or Windows; they don't run directly on Linux. You need to use some special (but readily available, and possibly already installed) software that will let you run the *.exe file. For DOS executables, you can use DOSEMU. For Windows programs, WINE does what you need.
 
p hasini
Ranch Hand
Posts: 92
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When I tried running an exe file.
I am getting the following error message:


An error occurred while loading the archive.

Command line output says:

[/home/opensource/Desktop/.exe]
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
note: /home/opensource/Desktop/.exe may be a plain executable, not an archive
zipinfo: cannot find zipfile directory in one of /home/opensource/Desktop/.exe or
/home/opensource/Desktop/.exe.zip, and cannot find /home/opensource/Desktop/.exe.ZIP, period.



How do I resolve this error
 
Java Cowboy
Posts: 16084
88
Android Scala IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You have a file which is named ".exe" (i.e., just ".exe", nothing before the dot)? What command exactly did you try to run? The error message looks like you're trying to unzip it, but it isn't a ZIP file.
 
p hasini
Ranch Hand
Posts: 92
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The file name is 101GoldenKeys.exe.

Its actually a book I tried to open on Linux.The above message is getting displayed.

Is it not possible to open this file on Linux OS.
 
p hasini
Ranch Hand
Posts: 92
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I didnt run any command.I just double clicked on this file.exe icon.

The same file I can open on Windows Vista.
 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

p hasini wrote:I didnt run any command.I just double clicked on this file.exe icon.

The same file I can open on Windows Vista.



Did you read the first reply that you got in this thread?
 
p hasini
Ranch Hand
Posts: 92
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes.

You need to use some special (but readily available, and possibly already installed) software that will let you run the *.exe file. For DOS executables, you can use DOSEMU. For Windows programs, WINE does what you need.

I dont know how to execute the command in Linux.I am new to Linux software.
 
Jaikiran Pai
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

p hasini wrote:
I dont know how to execute the command in Linux.


Which command?
 
Jaikiran Pai
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Follow the instructions in the link which Ernest posted.
 
p hasini
Ranch Hand
Posts: 92
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ok. Thank you
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic