wget -c ftp://ftp.gnu.org/gnu/readline/readline-6.2.tar.gz
tar -zxvf readline-6.2.tar.gz
cd readline-6.2
./configure //这个地方一定要指定路径,要不然要报错(一般在/usr/local下用软件命名,比如 /usr/local/readline下)
make && make installl
ldconfig
或:
yum -y install readline-devel ncurses-devel
时间: 2024-10-12 15:22:24