yum install pdftk ImageMagick ImageMagick-devel ghostscript python-imaging python-devel
在 http://zbar.sourceforge.net/download.html 下载源码包
#注意此步有大坑,要禁止gtk,python和qt的支持,不然你就等着无限报错吧
./configure --without-gtk --without-python --without-qt --prefix=/usr/local/zbar
make &&make install