本次安装基于系统CentOS Linux release 6.0 (Final)
1.下载源码
下载地址: https://github.com/seanmiddleditch/libtelnet
2.解压源码
$ tar -zxvf libtelnet-develop.tar.gz
3.编译前配置
$ mkdir libtelnet-build
$ cd libtelnet-build
$ cmake ../libtelnet-develop -DCMAKE_INSTALL_PREFIX=~/local/normal/
4.编译源码
$ make
5.安装
$ make install