yum My system shows readline installed
rlwrap-0.41]$ sudo yum install readline
Loaded plugins: fastestmirror, presto, security
Loading mirror speeds from cached hostfile
.
.
.
Package readline-6.0-4.el6.x86_64 already installed and latest version
Nothing to do
But when I run readline
command it doesn't work
-bash: readline: command not found
I thought command binary may not be on path so tried searching for it but no luck..!!
sudo find /usr/ -iname readline
basically I'm trying to install http://freecode.com/projects/rlwrap/
and the configure is failing saying readline library is not found.
To check which version of readline is installed, use pip show readline or pip3 show readline in your Linux terminal.
package: libreadline Name: libreadline Version: 7.0-1 Description: The Readline library provides a set of functions for use by applications\\ that allow users to edit command lines as they are typed in. Both Emacs\\ and vi editing modes are available.
The function readline () prints a prompt and then reads and returns a single line of text from the user. The line readline returns is allocated with malloc () ; you should free () the line when you are done with it. The declaration for readline in ANSI C is. char *readline (char * prompt );
Readline is free software, distributed under the terms of the GNU General Public License, version 3. This means that if you want to use Readline in a program that you release or distribute to anyone, the program must be free software and have a GPL-compatible license.
"readline" is not a command.
If you are trying to build software that uses the readline library then you need to install readline-devel
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With