前言: 因为debian仓库里面的chrome太老了 于是下个离线的最新的包 本地安装
1:下载 页面在这儿
http://www.chromium.org/getting-involved/dev-channel
chromium beta 64bit
chromium dev 64bit
截至发文时chrome版本应该是 >= 16.0.912.59 beta
2:安装
进入到安装包的目录后
$sudo dpkg -i google-chrome-beta_current_amd64.deb
系统提示缺失2个包 libcurl3 和xdg-utils
$sudo apt-get install libcurl3
继续提示要libssh2-1>=1.2 不过可以用sudo apt-get -f install 解决
于是
$sudo apt-get -f install
$sudo apt-get install libcurl3
$sudo dpkg -i google-chrome-beta_current_amd64.deb
安装成功
3.安装flash
$sudo apt-get install flashplugin-nonfree
tips:如果不能在root下运行chromium或者chrome.这个就需要指定下-user-data-dir来指定存储配置文件信息的目录
打开 /etc/chromium-browser/default 文件
[code lang="xml"]
# Default settings for chromium-browser. This file is sourced by /bin/sh from
# /usr/bin/chromium-browser --user-data-dir
# Options to pass to chromium-browser
CHROMIUM_FLAGS=""
[/code]
改为
[code lang="xml"]
# Default settings for chromium-browser. This file is sourced by /bin/sh from
# /usr/bin/chromium-browser --user-data-dir
# Options to pass to chromium-browser
CHROMIUM_FLAGS="--user-data-dir"
[/code]