Tuesday, September 9, 2008

How to Install Google Chrome in Linux Ubuntu 8.04

Google Chrome not released yet for Linux, but there's other way to install google chrome in ubuntu by using wine. And this is the tutorial to install Google Chrome in Ubuntu by using Wine.


1.First You have to install Wine
sudo apt-get install wine

2. You need to download and install winetricks, use this code:
If you have crossoveroffice that is better
wget http://www.kegel.com/wine/winetricks
sudo cp winetricks /usr/sbin
3. You need to install some chrome dependency software like flash player like riched20 riched30 flash
(sudo apt-get install
ubuntu-restricted-extras will install flash and other essentials)

You can install allfonts if you want(this is only an optional software): winetricks allfonts

4. After successfully installed all things that you need to install, you can download the google chrome now by typing;

5. Install the chrome, and follow the instructions,


6. After the install is finished, you won't be able to use Chrome it requires some changes. Close it and open Google Chrome.desktop icon created on your Desktop with your favorite editor . Make sure your add --new-http --in-process-plugins , at the end of this line:

When you open the icon in editor it looks like

Exec=env WINEPREFIX="/home/shibu/.wine" wine "C:\\windows\\profiles\\shibu\\Local Settings\\Application Data\\Google\\Chrome\\Application\\chrome.exe"

Change it to

Exec=env WINEPREFIX="/home/shibu/.wine" wine "C:\\windows\\profiles\\shibu\\Local Settings\\Application Data\\Google\\Chrome\\Application\\chrome.exe" --new-http --in-process-plugins

Save the file!

NOTE: shibu is my username, you will have something like /home/yourusername/.wine

7. Now, go to your desktop and start your google chrome!


IF you can't find and change the above

You can try, the command line like this:

export WINEPREFIX="/home/user/.wine"

wine "/home/user/.wine/drive_c/windows/profiles/user/Local Settings/Application Data/Google/Chrome/Application/chrome.exe" --new-http --in-process-plugins &


(replace "user" with your account)
see in
http://ubuntulife.wordpress.com/2008/09/03/instalar-google-chrome-en-ubuntu-mediante-wine/

2 comments:

Cyriac Thomas said...

i think it is better to wait for a linux native version which is in the oven.

shibuvarkala said...

think ahead