由于centos 6对C++11支持不足的缘故,目前chromium已经不再支持CentOS 6系列。
这里介绍如何在centos 6系列安装chromium。
1、添加chromium源
cd /etc/yum.repos.d
wget http://people.centos.org/hughesjr/chromium/6/chromium-el6.repo
yum install chromium
2、给chromium添加flash支持
cd /tmp
wget https://raw.github.com/hughesjr/chromium_el_builder/master/chrome_pepperflash_copy.sh
chmod +x chrome_pepperflash_copy.sh
./chrome_pepperflash_copy.sh
3、给chromium添加pdf在线阅读支持
wget https://raw.github.com/hughesjr/chromium_el_builder/master/chrome_libpdf_copy.sh
chmod +x chrome_libpdf_copy.sh
./chrome_libpdf_copy.sh