yum showing readline installed but readline command not working

萝らか妹 提交于 2019-12-10 02:17:14

问题


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.


回答1:


"readline" is not a command.

If you are trying to build software that uses the readline library then you need to install readline-devel.




回答2:


Got it !! Readline development package needs to be installed. After installing it. I got what i wanted.. sudo yum install readline-devel



来源:https://stackoverflow.com/questions/26129623/yum-showing-readline-installed-but-readline-command-not-working

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!