yum显示readline已安装,但readline命令无法使用。

14

嗯,我的系统显示已经安装了readline

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

但是当我运行readline命令时,它不起作用。

-bash: readline: command not found
我认为命令二进制文件可能不在路径中,所以尝试搜索它,但没有成功..!!
sudo find /usr/ -iname readline

我的问题是安装http://freecode.com/projects/rlwrap/时出错,配置失败并显示找不到readline库。


rlwrap在CentOS 6的EPEL软件包中可用。 - Etan Reisner
2个回答

28

“readline”不是一个命令。

如果你正在尝试构建使用readline库的软件,那么你需要安装readline-devel


6

明白了!需要安装readline开发包。安装后,我得到了我想要的...

sudo yum install readline-devel

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接