zlib的命令安装就三条,依次输入执行,简单粗暴: sudo apt-get install ruby sudo apt-get install zlib1g sudo apt-get install zlib1g.dev