LinuxQuestions.org
Visit Jeremy's Blog.
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-05-2012, 04:13 AM   #1
homerzhou
LQ Newbie
 
Registered: Aug 2012
Posts: 3

Rep: Reputation: Disabled
Smile How can i add the header files in /usr/include?


When i learn the Linux from the book ,there is a example in the book which need to use the header file term.h . But i don't have this header file, i want to know how i can add the term.h to /usr/include

tks

My Linux: Centos release 6.2
 
Old 09-05-2012, 04:16 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,746

Rep: Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551
Welcome to LQ.

# yum install ncurses-devel

Providing /usr/include/ncurses/term.h
( rpm -ql ncurses-devel : Will show all ncurses headers.)

.

Last edited by knudfl; 09-05-2012 at 04:18 AM.
 
1 members found this post helpful.
  


Reply


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
[SOLVED] No /usr/include/usb.h header file one_harsh Linux - Networking 4 12-16-2010 11:26 PM
[SOLVED] header overlap in /usr/include/drm Slackware-13.0 Endrew Slackware 13 01-12-2010 03:16 PM
Possibly missing /usr/include/linux header files.. how to fix? brfindla Debian 2 08-10-2009 11:21 AM
including /usr/include/linux/ header files throwing errors in SLES 10.2 deedhnd Linux - Server 9 08-19-2008 08:08 AM
C Header files missing in /usr/include zorro_kwh Ubuntu 3 04-12-2008 06:57 PM


All times are GMT -5. The time now is 01:22 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration