1.获取pcre: 版本为8.40 wget https://netix.dl.sourceforge.net/project/pcre/pcre/8.40/pcre-8.40.tar.gz 1 2.解压: tar -zxvf pcre-8.40.tar.gz 1 3.配置: 进入pcre-8.40目录 ./configure 4.编译: make 1 5.安装: make install