Package: rlwrap

"rlwrap" package binaries on CentOS:

/usr/bin/rlwrap

You may install this package on CentOS with yum install rlwrap

"rlwrap" package binaries on Debian:

/usr/bin/rlwrap

You may install this package on Debian with apt-get install rlwrap