LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-03-2007, 07:10 PM   #1
Zoiked
LQ Newbie
 
Registered: Sep 2007
Posts: 2

Rep: Reputation: 0
Stumpy Questions on File Types?


These questions always stumped me.

What is the linux version of a .exe?

What is the linux version of a .dll?

Also, Does Linux have a API like the Windows API?
 
Old 09-03-2007, 08:32 PM   #2
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Arch + Xfce
Posts: 6,852

Rep: Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037
I'm not an expert by any stretch of the imagination, but this is what I've gathered over the years.

1: Executables are generally in the ELF format, and don't regularly get an extension. If you run 'file /usr/bin/<program_name>', chances are that's what it will be reported as.

2: Some people might complain about having them compared to DLLs, but Linux does use shared libraries that provide essentially the same function. Most of them will have an .so extension, which, I believe, specifies libraries for the C program language (but I may be wrong on that point). They're generally stored in /usr/lib and related directories.

3: Certainly Linux has an API. Probably several. Are there any systems that don't? But I have no personal knowledge of what it entails. I can only say that the internals of Linux appear to be much cleaner, and are certainly better documented, than Windows.

I'm sure someone will come along and give more detail presently, and correct me if I'm wrong.
 
  


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
What File Types Can I Use? yzguy Linux - Games 3 05-21-2007 05:28 PM
file types vijraj Programming 4 11-15-2006 02:37 AM
determining file types supersucker Linux - Newbie 2 05-03-2005 12:29 PM
Genral Questions on Types of Linux Files roiboy Linux - Newbie 4 04-27-2004 08:22 PM
file types jclark00001 Linux - Newbie 2 02-17-2003 03:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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