官网大法好,其他方法需要装好多依赖,还没安装成功。。。
yum-config-manager --add-repo https://download.opensuse.org/repositories/home:/Alexander_Pozdnyakov/CentOS_7/
sudo rpm --import https://build.opensuse.org/projects/home:Alexander_Pozdnyakov/public_key
yum update tesseract
yum list tessact # 这时就是4.1版本的了
yum install tesseract
[yum install tesseract-langpack-deu]