Google Chrome For Linux (Ubuntu + KDE / Kubuntu)
January 5th, 2010 | by admin |
Warning: Do not install Chrome as root as suggested below… installing as root was only a quick hack when installing as a regular user failed! Please read – http://community.livejournal.com/evan_tech/271230.html?view=1741182
This post is almost a month late! I’ve not been that up to date with news from Google lately but by chance saw an advert on YouTube – who kindly detected I’m using Linux and advised me to download Google Chrome for Linux! What? It’s finally ready? More checks lead me to this page – the Google blog announcement on Chrome for Linux – http://googleblog.blogspot.com/2009/12/google-chrome-for-holidays-mac-linux.html
The .deb Debian package seemed to mess up when using GDebi package manager as it hung my system as it hogged resources for a good ten seconds then seemed to die without installing.
From the console…
sudo dpkg -i google-chrome-beta_current_i386.deb
Worked great! Now – maybe if I was using GNome the menu item would have bee created for me – but I’m using KDE and it wasn’t. For KDE fire up the KDE Menu Editor and add a new entry under “Internet”. The Google Chrome icon will already be available so just search for it in the provided box. The path / command to enter is…
sudo /usr/bin/google-chrome
Probably not a good idea to run the browser as root – but I’ll fix that another time
Home
HYGEN Web Design



February 17th, 2010 at 4:59 pm
Hi Fpl,
Thanks for posting – already noted not to use root / sudo. Possibly whatever bug stopped Chrome from installing as a regular user is now fixed so the quick hack is now obsolete.
Just in case anyone missed it, here it is again:
*Don’t install as root or sudo up to it*
BTW you are correct, I chmod’ed a few weeks back and removed the sudo etc and Chrome works fine – even though it had to be installed as root.
Process as follows…
- installed as root
- chmod dirs / files to my reg user on several directories in home (don’t forget the download dir too!)
- remove sudo from the command to launch Chrome
Start chrome and should then run fine as reg user.
Again…
*Don’t install Chrome on Linux as root or sudo up to it*
February 17th, 2010 at 2:42 pm
Please remove that second sudo. It isn’t necessary for any of your readers, and if it is, something is badly wrong with your profile, beyond chrome. If you have root files lying around in your home, please run (not as root, or $USER and $HOME won’t be set correctly!):
sudo chown -R $USER: ~.January 7th, 2010 at 5:31 pm
Hi bd_
Thanks for pointing that out. It was just a temporary fix when the user account I was using couldn’t run it
I did note in the post not to run it as root. Also there is one more blooper! In the KDE menu a link was created to Chrome during install – I just didn’t notice it at first. Creating the menu item is not necessary.
Dan
January 6th, 2010 at 5:03 pm
Why the heck are you telling people to run it as root? There’s no _need_ to sudo up to run chrome at all, and it worsens security. Plus it means all the chrome profile files will end up getting owned by root, but in your own home directory. Just run /usr/bin/google-chrome, no sudo.