Help coderanch get a
new server
by contributing to the fundraiser
  • 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

how to run a .exe file

 
p hasini
Ranch Hand
Posts: 92
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ernest Friedman-Hill
author and iconoclast
Posts: 24207
46
Mac OS X Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Jesper de Jong
Java Cowboy
Posts: 16084
88
Android Scala IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Jaikiran Pai
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
ok. Thank you
reply
    Bookmark Topic Watch Topic
  • New Topic