centos yum显示已安装readline,但readline命令不起作用

wrrgggsh  于 2022-11-07  发布在  其他
关注(0)|答案(2)|浏览(396)

我的系统显示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库。

ujv3wf0j

ujv3wf0j1#

“readline”不是命令。
如果您尝试构建使用readline库的软件,则需要安装readline-devel

3bygqnnd

3bygqnnd2#

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

sudo yum install readline-devel

相关问题