1. 安装运行时包
$ sudo apt-get install dbus -y
2. 安装readline库
$ apt-get cache search libreadline (找出当前发行版的libreadline包名)
$ sudo apt-get install libreadline7 -y (笔者找到的是libreadline7)
3. 安装依赖包
$ sudo apt-get install gcc g++ libdbus-1-dev libboost-dev libreadline-dev libtool autoconf autoconf-archive -y
4. 获取源码
5. 编译安装
$./bootstrap.sh && ./configure && make -j`nproc` V=s && make install