Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 12-20-2007, 10:48 AM   #1
LQ Newbie
Registered: Dec 2007
Posts: 4

Rep: Reputation: 0
C header files

I am a new linux user. Just feeling my way around and trying to learn.
I need to find the directory where the C HEADER files are stored in debian linux etch.
Thanks in advance.
Old 12-20-2007, 12:01 PM   #2
Registered: Nov 2007
Location: /dev/volcano
Posts: 70

Rep: Reputation: 15

the "standard" ones are most of the time stored in /usr/include/
in order to use them, remember to have the corresponding developement package (glibc-dev for example)

happy learning
Old 12-22-2007, 01:10 PM   #3
LQ Newbie
Registered: Dec 2007
Posts: 4

Original Poster
Rep: Reputation: 0
I am sorry. I mean the C Header files for the current version running.
Old 12-22-2007, 01:12 PM   #4
LQ Newbie
Registered: Dec 2007
Posts: 4

Original Poster
Rep: Reputation: 0
I am sorry. I mean the C Header files for the running kernel.
Old 12-22-2007, 01:14 PM   #5
Senior Member
Registered: Jun 2006
Location: Maryland
Distribution: Kubuntu, Fedora, RHEL
Posts: 1,541

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
Take a look in /lib/modules/`uname -r`/source/include.

Those ` are the back-quotes, the ones paired with the ~ key on your keyboard.

If you are merely doing C s/w development, and need the linux headers, they are located in /usr/include/linux.

Last edited by dwhitney67; 12-22-2007 at 01:15 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
C Header files Stephanie Linux - General 4 12-22-2007 10:07 AM
Including header files and source files for classes Feenix Programming 8 09-28-2005 11:53 AM
gcc header files and cpp files? EchO Linux - Software 3 03-01-2005 02:14 AM
Where are C header files Squall Linux - Software 1 04-19-2004 09:51 PM
c header files in linux in place of header files in windows? harun_acs Programming 1 03-17-2004 03:24 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:17 PM.

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