yum显示已安装readline,但readline命令不起作用 [英] yum showing readline installed but readline command not working

查看:234
本文介绍了yum显示已安装readline,但readline命令不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

yum我的系统显示已安装readline

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

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

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

基本上我正在尝试安装http://freecode.com/projects/rlwrap/ 并且配置失败,提示未找到readline库.

basically I'm trying to install http://freecode.com/projects/rlwrap/ and the configure is failing saying readline library is not found.

推荐答案

"readline"不是命令.

"readline" is not a command.

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

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

这篇关于yum显示已安装readline,但readline命令不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆