1 源码编译安装 1.1 安装依赖 CentOS: 1 sudo yum install -y openssl-devel bzip2-devel expat-devel gdbm-devel readline-devel sqlite-devel gcc gcc-c++ openssl-devel libffi-devel mariadb-devel xz-devel tk-devel tcl-devel libuuid-devel Debian/Ubuntu: 1 sudo apt-get install -y zlib1g-dev libbz2-dev libssl-dev libncurses5-dev default-libmysqlclient-dev libsqlite3-dev libreadline-dev tk-dev libgdbm-dev libdb-dev libpcap-dev xz-utils