yum显示已安装readline但readline命令无法正常工作

Aks*_*ath 10 bash centos readline libreadline rlwrap

yum我的系统显示已安装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
Run Code Online (Sandbox Code Playgroud)

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

-bash: readline: command not found
Run Code Online (Sandbox Code Playgroud)

我认为命令二进制文件可能不在路径上所以尝试搜索它但没有运气.. !!

sudo find /usr/ -iname readline
Run Code Online (Sandbox Code Playgroud)

基本上我正在尝试安装http://freecode.com/projects/rlwrap/ ,配置失败,说没有找到readline库.

Ign*_*ams 18

"readline"不是命令.

如果您正在尝试构建使用readline库的软件,则需要安装readline-devel.


Aks*_*ath 6

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

sudo yum install readline-devel
Run Code Online (Sandbox Code Playgroud)