LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 10-09-2005, 06:50 PM   #1
dudeman41465
Member
 
Registered: Jun 2005
Location: Kentucky
Distribution: Debian
Posts: 794

Rep: Reputation: 56
Executables


What is the extension for a linux executable file. (.exe in windows)
 
Old 10-09-2005, 07:05 PM   #2
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
there's no direct equivalent to ".exe" files on linux... whether a file is executable or not in linux depends exclusively on the permissions the file has set onto it, not the extension... having said that, since you're asking about ".exe" (which is comminly used to install and run software) the standard linux software package format is RPM, the extension being ".rpm"... there's also things like shell scripts, which usually use the extension ".sh", and perl scripts, which usually use ".pl", etc... those are all typical executables... after you install a package with RPM then it's a matter of executing the program - no matter what extension the program has, if it's executable, you can execute it by using a dot and a slash (for example), like so:
Code:
./program.example
BTW, an .rpm file doesn't need to be executable AFAIK...


Last edited by win32sux; 10-09-2005 at 07:16 PM.
 
Old 10-09-2005, 07:13 PM   #3
dudeman41465
Member
 
Registered: Jun 2005
Location: Kentucky
Distribution: Debian
Posts: 794

Original Poster
Rep: Reputation: 56
Cool, I had that much down but I just recently switched to the gnome environment and I decided to run a .bin file by double clicking it and it told me to rename it with the proper extension, but I managed to get it running after the following steps.

$ chmod a+rxw /home/marcus/Desktop/Marcus's Stuff/Software/real.bin
$ cd /home/marcus/Desktop/Marcus's Stuff/Software
$ ./real.bin
 
Old 10-09-2005, 07:15 PM   #4
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
OIC... well, that was a gnome thing, not a linux thing...
 
Old 10-09-2005, 07:59 PM   #5
spooon
Senior Member
 
Registered: Aug 2005
Posts: 1,755

Rep: Reputation: 51
Extensions have absolutely no meaning in Unix. Sometimes certain GUI desktop environments like GNOME and KDE allow you to "open" files by double-clicking on them by associating the extension with some program or action, but that is not a standard Unix thing and doesn't always work.
 
  


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
executables humblestudent87 Linux - Newbie 6 07-22-2004 11:42 AM
executables will not start MikeZila Linux - Newbie 4 07-02-2004 02:09 AM
Executables q64 Linux - Newbie 3 03-29-2004 03:31 AM
Help on executables.... Kit Linux - General 9 12-06-2002 11:24 AM
Where are the executables? rooman Linux - Software 6 06-05-2002 02:31 PM

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

All times are GMT -5. The time now is 01:37 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