1.leptonica-1.78.0.tar.gz下载地址:http://www.leptonica.org/download.html
2.rz上传服务器
3.tar xvzf leptonica-1.78.0.tar.gz : 解压
4. cd leptonica-1.78.0/
./configure
make && make install
ldconfig
参考文档:https://blog.csdn.net/qq_42184699/article/details/92575404