Centos7 install libicu-dev, libpango1.0-dev, libcairo2-dev

When we use the Tesseract project, we need to use these three libraries when training our own data, but the official only gives the Ubuntu tutorial, the following is introduced in centos7 How to install these libraries

1, Ubuntu installation

Use the following command to install in Ubuntu

sudo apt-get install libicu-dev
sudo apt-get install libpango1.0-dev
sudo apt-get install libcairo2-dev

2, centos installation

Use the following command to install in Centos

yum install libicu-devel
yum install pango pango-devel
yum install cairo cairo-devel
0

Leave a Reply

Your email address will not be published.