LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-29-2006, 04:14 PM   #1
Arcane
Member
 
Registered: May 2006
Location: Latvia, Europe
Distribution: random
Posts: 310

Rep: Reputation: 312Reputation: 312Reputation: 312Reputation: 312
Arrow Executable file on Linux


Which file format on Linux is the same as .exe on Windows - executable and main program launcher? I tried to launch application on Ubuntu 5 but cannot do that!:/ That one that looks like a cats paw also is useless in this Q(question)!..
 
Old 05-29-2006, 04:35 PM   #2
jonaskoelker
Senior Member
 
Registered: Jul 2004
Location: Denmark
Distribution: Ubuntu, Debian
Posts: 1,524

Rep: Reputation: 47
I'm not sure I completely understand your question, so let me answer to the best of my ability.

(GNU/)Linux can't run the Windows program format (.exe) natively. However, there is a windows program loader, wine, which will run them (with varying degrees of success). I say `program loader', because Wine Is No Emulator

The native GNU/Linux programs are stored in a format called ELF. For instance,
Code:
$ file $(which ls)
/bin/ls: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.2.0, dynamically linked (uses shared libs), for GNU/Linux 2.2.0, stripped
It will also run the older a.out format, and IIRC newer kernels also support a format called COFF. You may want to google for the format names for more information.

Also, you may be interested in what ld does.

Hope this helps.
 
Old 05-29-2006, 06:35 PM   #3
mcmillan
Member
 
Registered: Jul 2005
Distribution: Arch
Posts: 489

Rep: Reputation: 30
I think the question is more how to make a linux file executable, rather than run a windows .exe. There isn't a special extension to execute files with linux. This is set by changing the permissions of a file, if you want to make something executable you need to change these permissions. If you're using gnome, there should be a way to do this by right clicking on the file, the going to properties. Another way to do this that would be good to know is through the command line with the command chmod. The simplest way would probably be chmod +x [file name] There's other options that might be good to know that you can learn by typing man chmod into a terminal.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Create an executable file in linux which opens by double-clicking it shivanand Linux - General 5 08-30-2005 12:10 AM
every file is created executable oopsnic Fedora 4 08-15-2005 02:38 AM
Java SDK won't install, binary file not executable, yoper linux 2.6 kernel lopoetve Linux - Software 8 10-30-2004 03:03 AM
Linux Executable File Help (created from a .c file) MattG1981 Linux - Newbie 7 06-06-2004 04:54 PM
how to install an executable file props666999 Slackware 4 05-29-2004 03:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration