Debian下安装Google Chrome

今天突然发现了一个小问题,wmaker下竟然没有一个可用的浏览器! 自带的w3m实在过于奇葩,于是就在软件源里找可用的浏览器,可软件源今天也出问题了! 不知怎么的竟然发现了我们学校的源没有公共许可密钥。于是开始自救。 网上说在任意文件下新建个名为“key0x07DC563D1F41B907.asc”的文件。 我建在home/下,键入命令:nano key0x07DC563D1F41B907.asc 输入以下内容:

-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: PGP Universal 2.0.3
mQGiBDf3hHARBAC/pUIb79CHi2b1LdPI1pUgAMMVAcpLk+g+LRUcNnTVWrXBUkLv
gjbraraA1jw728X7RE7BCqQc8TO2AkqZu4E16a4hFms58agPRtyXHcQMqRSBjkT2
hXC73sO/nookcmtFNeiNSTTvrITcDabhs8rnVNYCJxpUm0yZBwnripzNlwCgl2OZ
7W3M0hMahh/nPO/pqkQIO60D/RUoWs5bBZ0BAeTfUJpCjGpE0SiT/cryZSF9sKEx
cPN135PURKVytofxc8bv2ZSd9v1CG+iO2JcmQ8ie7CD+qnub6AW9Uf6uFFfDpdgG
2k2cZGoHMdiw6mnSb5fbvwCKgi9Nj3AOeDF7WcgFdQFLags28vfypL/RH2XhPfBe
4EV+A/9TZ1Kxgk69dn3l5BGpwudmzHiD1142G7eZI1JlM4pJuOw6YY+NRDeVEbcF
iP5diGZWdcoRYgwEEfLpgl7ok0ScRN3wPfZtmUl3GACsAZbxh06utkP2X3Lptopd
PuoJhlKD6FpK99TDD34TWy76tBmigzm/CkLaTI4gawpWs5D89LQoQ2hyaXN0aWFu
IE1hcmlsbGF0IDxtYXJpbGxhdEBkZWJpYW4ub3JnPohGBBARAgAGBQI9GPl1AAoJ
ELed76p6J6DMsMwAn2/I4VYcMENSdO/FM+6Yb/1PGv+HAJ4zn+3i7Z+R/iDhx7c+
luDpfBTe+IhGBBARAgAGBQI9GWSJAAoJELz2xg9ugWnSt6AAoJPHD0N6LnQMUZxv
7MkcUIRE88CMAJwI5lVoJ0TCFHG/49pcjN7Lz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RAgAGBQI394TOAAoJEAfcVj0fQbkHp0QAnA3/HBLEhjAydk5n
Z+PeV+Fxs+h8AJoDew5wFKb477LBOz0qyWxe+byZzg==
=oDfT
-----END PGP PUBLIC KEY BLOCK-----

Crtl+o保存,Crtl+x退出nano。

再在root下输入命令:apt-key add key0x07DC563D1F41B907.asc

更新源,成功认证!

但google,firefox,opera在源里都找不到!于是再次上网, 由于对google的怀旧,就找装google chrome的方法:

nano /etc/apt/sources.list 打开源地址设置文件,追加google的源

deb http://dl.google.com/linux/deb/ stable main

同样要设置认证:

输入:wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -

然后:apt-get update

安装测试版:apt-get install google-chrome-beta

不稳定版:apt-get install google-chrome-unstable

不过貌似装下来比较大需要100多M的硬盘空间,这对爱惜内存、磁盘空间的linux用户可不算好。

Comments