Google Chrome for Linux and Mac with CrossOver Chromium

Two weeks ago i have posted a tutorial on how to make Google Chrome run on Linux using wine. That gave Linux users the option to test the browser without having to go to a Windows machine, but it was not perfect as it lacked HTTPS support.

CrossOver packaged for both Linux and Mac the browser and it supports HTTPS. Check it out at: http://www.codeweavers.com/services/ports/chromium/

Note that this package does NOT play flash files. In order to get flash pages to play you just have to go to http://www.adobe.com and install the flash player as if you were running windows.

Install Google Chrome on Linux using wine

Google launched a few days ago a new web browser, that has some interesting features which might give FF 3, Safari and IE8 a run for their money. Although not yet for Linux, i’ve put together (following some ubuntuforms posts) a detailed tutorial to help you Install Google Chrome on Linux using wine >= 1.1.3.

1. install wine (follow the official instructions http://www.winehq.org/site/download-deb)

2. make sure wine >= 1.1.3 is installed by entering the following in the terminal
wine –version

3. Download winetricks and install it
wget http://www.kegel.com/wine/winetrickssudo cp winetricks /usr/sbin

4. Install some dependencies for Chrome (Flash is not mandatory but will allow you to play youtube videos :-))winetricks riched20 riched30 flash
4.1 Install allfonts (this is optional)
winetricks allfonts

5. Download the Chrome installer
wget http://gpdl.google.com/chrome/install/149.27/chrome_installer.exe

6. Install Chrome (just follow the onscreen instructions and make sure you create a desktop icon)
wine chrome_installer.exe
google-chrome-linux-1.png

7. After the install is finished, you won’t be able to use Chrome as it needs a bit more hacking. Just close it and opent with your favorite editor the Google Chrome.desktop icon created on your Desktop. Make sure your add “–new-http –in-process-plugins”, without the quotes at the end of this line:

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

to make it look like this:
Exec=env WINEPREFIX=”/home/mimir/.wine” wine “C:\windows\profiles\mimir\Local Settings\Application Data\Google\Chrome\Application\chrome.exe” –new-http –in-process-plugins

Save the file!

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

8. Go to desktop and start Google Chrome

google-chrome-linux-2.png

Checking some youtube videos 🙂

google-chrome-linux-flash.png

HTTPS Note: it seems that the https is not working due to the fact that wine is missing TSL/SSL features, the dlls that should handle that being just stubs at the moment. If you have any information regarding this, please share.

Resources:
Wine appdb page for Chrome
http://ubuntuforums.org/showthread.php?t=908493
Install Google Chrome On Mac OS X using wine

Install Adobe Flash Player 10 on Ubuntu 64bit


UPDATE: Native Adobe 64bit Flash Player has been released.
I have put together a small tutorial on how to install the native flash player 10 64bit plugin for linux.

Adobe recently launched Flash Player 10 Beta codenamed “Astro”. Great news, as it supports a bunch of new features, but as usually nothing yet for the 64 bit users. I’m going to show you how to get flash player 10 running on Ubuntu 64bit using nspluginwrapper. Before doing anything in the terminal make sure you close Firefox else you might not get the expected result.

1. Make sure you don’t have any other flash plugin installed on your system:
sudo apt-get remove -y –purge flashplugin-nonfree gnash gnash-common mozilla-plugin-gnash swfdec-mozilla libflashsupport nspluginwrapper

1.1 To be sure we don’t have any other old flash libs let’s cleanup the folders where it usually resides:
sudo rm -f /usr/lib/mozilla/plugins/*flash*
sudo rm -f ~/.mozilla/plugins/*flash*
sudo rm -f /usr/lib/firefox/plugins/*flash*
sudo rm -rfd /usr/lib/nspluginwrapper

2. Install ia32-libs and latest nspluginwrapper
sudo apt-get install ia32-libs nspluginwrapper

3. Download the latest flash player from Adobe Labs and extract it:
cd ~
wget http://download.macromedia.com/pub/labs/flashplayer10/flashplayer10_install_linux_051508.tar.gz
tar zxvf flashplayer10_install_linux_051508.tar.gz
sudo cp install_flash_player_10_linux/libflashplayer.so /usr/lib/mozilla/plugins/
rm -rf ~/install_flash_player_10_linux/

4. Use nspluginwrapper to install the plugin and link it to firefox
sudo nspluginwrapper -i /usr/lib/mozilla/plugins/libflashplayer.so
sudo ln -sf /usr/lib/nspluginwrapper/plugins/npwrapper.libflashplayer.so /usr/lib/mozilla/plugins/
sudo ln -sf /usr/lib/nspluginwrapper/plugins/npwrapper.libflashplayer.so /usr/lib/firefox-addons/plugins/

EDIT: here is how to install flash player 10 on 64bit systems for Liferea and Vuze

sudo ln -sf /usr/lib/nspluginwrapper/plugins/npwrapper.libflashplayer.so /usr/lib/xulrunner-addons/plugins/

5. Start Firefox and type in the address bar about:plugins and press enter. You should get a result similar to this one:

flash_player_10_ubuntu_64bit.png

6. Go to http://labs.adobe.com/technologies/flashplayer10/demos/index.html and test the new features.

EDIT: if you are lazy by nature, you can just grab install_flash_player_10_ubuntu64bit, a small script i put together. Make it executable (chmox +x install_flash_player_10_ubuntu64bit) and run it in terminal. It will kill ask you for root password the kill any Firefox you might have running and install the flash player 10

NOTE: for the new and improved script follow this URL: http://meandubuntu.wordpress.com/2008/08/20/flash-10-rc-on-ubuntu-amd64/