平台:CentOS7
先安装以下依赖
yum -y groupinstall "Development tools"
yum -y install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel gdbm-devel db4-devel libpcap-devel xz-devel
yum install libffi-devel -y
make install
来源:oschina
链接:https://my.oschina.net/u/2654135/blog/3074409