LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 02-06-2008, 12:38 PM   #1
endfx
Member
 
Registered: May 2003
Location: Canada
Distribution: Debian
Posts: 104

Rep: Reputation: 15
Where is readline on Linux?


I would like to write some software using readline in linux.
Does anybody know where the readline header file is?

I've used readline in netbsd before and the header file is in /usr/include/readline.

I'm using ubuntu (so I've installed the readline-common and libreadline4 packages), but I've looked in redhat as well. I can't find the header file.

Thanks.
 
Old 02-06-2008, 12:42 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Squeeze
Posts: 5,747

Rep: Reputation: 301Reputation: 301Reputation: 301Reputation: 301
In a console, try
Code:
locate releadline.h
In my Suse installation, it's located at /usr/include/guile-readline/readline.h.
 
Old 02-06-2008, 12:49 PM   #3
endfx
Member
 
Registered: May 2003
Location: Canada
Distribution: Debian
Posts: 104

Original Poster
Rep: Reputation: 15
That didn't seem to work.

I've also try "fine / -name readline*"

Any other thoughts?
 
Old 02-06-2008, 12:59 PM   #4
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
If you have libreadline4 installed and want the header files, you need to install libreadline4-dev.
 
Old 02-06-2008, 01:43 PM   #5
endfx
Member
 
Registered: May 2003
Location: Canada
Distribution: Debian
Posts: 104

Original Poster
Rep: Reputation: 15
That did it. Thanks reddazz
 
  


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
Using cat readline within cat readline while loop demxkn66 Programming 5 12-16-2007 05:10 PM
Readline/Terminal Corruption adieyal Linux - General 7 03-23-2007 03:52 PM
Readline command error Jacko123 Programming 1 03-02-2007 07:51 AM
apt + readline + postfix + etc... Sapient Linux - Software 2 01-04-2006 09:03 AM
readline compile feetyouwell Programming 1 10-06-2004 06:01 PM


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

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