2014-09-30 36 views
6

百勝我的系統顯示的ReadLine安裝百勝顯示的ReadLine但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庫中沒有找到。

+0

rlwrap作爲CentOS 6的[EPEL](http://fedoraproject.org/wiki/EPEL)中的一個包存在。 – 2014-09-30 20:59:31

回答

11

「readline」不是命令。

如果您正在嘗試構建使用readline庫的軟件,那麼您需要安裝readline-devel

2

明白了! 需要安裝Readline開發包。 安裝後。我得到了我想要的東西。 sudo yum install readline-devel