PDA

View Full Version : HOWTO: Install Google Chrome from the Google repository



gletob
December 10th, 2009, 11:48 PM
This is a guide for those that want to install the new Google Chrome Beta, and be able to update it through apt.

First add the google repo to the end of your /etc/apt/sources.list file as root.

# Google software repository
deb http://dl.google.com/linux/deb/ stable non-free mainNow add the package signing key by running:

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

sudo apt-get updateNow to actually install the Google Chrome Beta run

sudo apt-get install google-chrome-betaAnd that's it! Now you can run Google Chrome from you Application>Internet menu or by running google-chrome in the terminal.

NoaHall
December 10th, 2009, 11:49 PM
Chromium is better. But still, nice guide.

cariboo
December 10th, 2009, 11:59 PM
The Chrome install creates a cron job that goes out and checks the Google Chrome repository daily, so there is really no need to add it to your /etc/apt/sources.list

I agree I like the Chromium better, but the one thing I can't do is edit tags without having to right-click and open the editor in another tab. That can get real old after you've done it a dozen or more times a day

Tibuda
December 11th, 2009, 12:06 AM
If you install the official deb from google, it already adds the google repository to your sources.list.d directory.


$ cat /etc/apt/sources.list.d/google-chrome.list
deb http://dl.google.com/linux/deb/ stable main


Opera also does the same.

peterroots
March 15th, 2010, 07:06 AM
The difference being that opera repositories work and google does not - apt-get update takes forever and finally times out on the google repositories added by the google chrome install. I have had google chrome installed for a week or two (on three machines) and none pick up the repositories from google (Kubuntu9.10)

rifter
March 24th, 2010, 08:29 AM
This is a guide for those that want to install the new Google Chrome Beta, and be able to update it through apt.

First add the google repo to the end of your /etc/apt/sources.list file as root.

# Google software repository
deb http://dl.google.com/linux/deb/ stable non-free mainNow add the package signing key by running:

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

sudo apt-get updateNow to actually install the Google Chrome Beta run

sudo apt-get install google-chrome-betaAnd that's it! Now you can run Google Chrome from you Application>Internet menu or by running google-chrome in the terminal.

Actually you need to put


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

Otherwise you get errors like this:



gpg: no writable keyring found: eof
gpg: error reading `-': general error
gpg: import from `-' failed: general error


Otherwise a perfect howto! :D

nindrianto
September 18th, 2010, 07:18 PM
Thanks, still confuse in this way, cause I am newbie in linux. But I success to install chromium browser from Ubuntu Software Center. Just sharing...thanks.:P

portly
May 6th, 2013, 09:50 PM
so much for that "howto" working.........


W: Failed to fetch http://dl.google.com/linux/deb/dists/stable/Release Unable to find expected entry 'non-free/binary-amd64/Packages' in Release file (Wrong sources.list entry or malformed file)

E: Some index files failed to download. They have been ignored, or old ones used instead.

Oh well, back to the drawing board

oldos2er
May 7th, 2013, 04:15 AM
Old thread closed.