Wednesday, March 21, 2012

Installing the latest Google Picasa in Ubuntu over wine

Google Picasa is not really created for linux, but can be installed via Wine in Ubuntu.

These are the steps:

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

Add the repo for picasa
sudo sh -c 'echo "deb http://dl.google.com/linux/deb/ testing non-free" >> /etc/apt/sources.list.d/google.list'

Update apt and installing picasa
sudo apt-get update && sudo apt-get install picasa

Run Picasa once and close it
picasa &

Download the latest version of Google Picasa into your home folder
cd ~ && wget http://dl.google.com/picasa/picasa39-setup.exe

Run the Picasa installer with wine
sudo WINEPREFIX=/tmp/.wine_picasa /opt/google/picasa/3.0/wine/bin/wine ~/picasa39-setup.exe

After installation completes, close all the open Picasa windows.
Then copy the installation over package files
sudo cp -r /tmp/.wine_picasa/drive_c/Program\ Files/Google/Picasa3/* /opt/google/picasa/3.0/wine/drive_c/Program\ Files/Google/Picasa3/

Clean up your home folder
rm -rf ~/.google/picasa/
rm ~/picasa39-setup.exe

Suggested installing IE6 to overcome picasa authentication errors
env WINEARCH=win32 WINEPREFIX=~/.google/picasa/3.0/ winetricks ie6

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.