下载地址

https://dl.lancdn.com/landian/software/chrome/m
https://sites.google.com/a/chromium.org/chromedriver/downloads

缺少依赖

warning: 67.0.3396.79_x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 7fac5991: NOKEY
error: Failed dependencies:
	/usr/bin/lsb_release is needed by google-chrome-stable-67.0.3396.79-1.x86_64
	libX11-xcb.so.1()(64bit) is needed by google-chrome-stable-67.0.3396.79-1.x86_64
	libX11.so.6()(64bit) is needed by google-chrome-stable-67.0.3396.79-1.x86_64
	libXcomposite.so.1()(64bit) is needed by google-chrome-stable-67.0.3396.79-1.x86_64
	libXcursor.so.1()(64bit) is needed by google-chrome-stable-67.0.3396.79-1.x86_64
	libXdamage.so.1()(64bit) is needed by google-chrome-stable-67.0.3396.79-1.x86_64
	libXext.so.6()(64bit) is needed by google-chrome-stable-67.0.3396.79-1.x86_64
	libXfixes.so.3()(64bit) is needed by google-chrome-stable-67.0.3396.79-1.x86_64
	libXi.so.6()(64bit) is needed by google-chrome-stable-67.0.3396.79-1.x86_64
	libXrandr.so.2()(64bit) is needed by google-chrome-stable-67.0.3396.79-1.x86_64
	libXrender.so.1()(64bit) is needed by google-chrome-stable-67.0.3396.79-1.x86_64
	libXss.so.1()(64bit) is needed by google-chrome-stable-67.0.3396.79-1.x86_64
	libXtst.so.6()(64bit) is needed by google-chrome-stable-67.0.3396.79-1.x86_64
	libappindicator3.so.1()(64bit) is needed by google-chrome-stable-67.0.3396.79-1.x86_64
	libasound.so.2()(64bit) is needed by google-chrome-stable-67.0.3396.79-1.x86_64
	libatk-1.0.so.0()(64bit) is needed by google-chrome-stable-67.0.3396.79-1.x86_64
	libatk-bridge-2.0.so.0()(64bit) is needed by google-chrome-stable-67.0.3396.79-1.x86_64
	libc.so.6(GLIBC_2.14)(64bit) is needed by google-chrome-stable-67.0.3396.79-1.x86_64
	libc.so.6(GLIBC_2.15)(64bit) is needed by google-chrome-stable-67.0.3396.79-1.x86_64
	libcairo.so.2()(64bit) is needed by google-chrome-stable-67.0.3396.79-1.x86_64
	libcups.so.2()(64bit) is needed by google-chrome-stable-67.0.3396.79-1.x86_64
	libgdk-3.so.0()(64bit) is needed by google-chrome-stable-67.0.3396.79-1.x86_64
	libgdk_pixbuf-2.0.so.0()(64bit) is needed by google-chrome-stable-67.0.3396.79-1.x86_64
	libgtk-3.so.0()(64bit) is needed by google-chrome-stable-67.0.3396.79-1.x86_64
	libnss3.so(NSS_3.22)(64bit) is needed by google-chrome-stable-67.0.3396.79-1.x86_64
	libpango-1.0.so.0()(64bit) is needed by google-chrome-stable-67.0.3396.79-1.x86_64
	libpangocairo-1.0.so.0()(64bit) is needed by google-chrome-stable-67.0.3396.79-1.x86_64
	libssl3.so(NSS_3.28)(64bit) is needed by google-chrome-stable-67.0.3396.79-1.x86_64
	libstdc++.so.6(GLIBCXX_3.4.14)(64bit) is needed by google-chrome-stable-67.0.3396.79-1.x86_64
	libstdc++.so.6(GLIBCXX_3.4.15)(64bit) is needed by google-chrome-stable-67.0.3396.79-1.x86_64
	libxcb.so.1()(64bit) is needed by google-chrome-stable-67.0.3396.79-1.x86_64
	xdg-utils is needed by google-chrome-stable-67.0.3396.79-1.x86_64

由于依赖组件太多,只能逐步排查:安装缺少的依赖

yum install -y redhat-lsb-core-4.0-7.el6.centos.x86_64 
yum install -y libX11-devel --nogpg  
yum install -y cmake gcc gcc-c++ gtk+-devel gimp-devel gimp-devel-tools gimp-help-browser zlib-devel libtiff-devel libjpeg-devel libpng-devel gstreamer-devel libavc1394-devel libraw1394-devel libdc1394-devel jasper-devel jasper-utils swig python libtool nasm 
yum install -y gtk2 gtk2-devel gtk2-devel-docs
yum install -y libgtk*

  最终发现,这种安装方式存在缺陷且依赖的组件相对较多,任务介入安装比较麻烦。


本博客所有文章除特别声明外,均采用 CC BY-SA 4.0 协议 ,转载请注明出处!

Linux使用命令备忘 上一篇
Alibaba-DataX调研使用 下一篇