How To Run Picasa on Ubuntu 12.04

5:32 PM

Wow, I only left Linux a few months ago but coming back it seems like it's been a year since I left. One of the many changes that has taken place on the Linux playing field is Google no longer supports Picasa for Linux. I kind of feel like Google is shooting themselves in the foot - after all they use Linux for practically everything, including their Android operating system. Why wouldn't they support the operating system they themselves show a preference for? But whatever. The fact is you can still run Picasa on Linux. It just takes A LOT more steps to do so.

I could show you how to download WINE and install Picasa that way, but there's a much easier method that doesn't involve Wine at all. Google has actually produced a WINE wrapper for Picasa that makes it a lot easier to install on a Linux system. Since I'm using Ubuntu 12.04, I'm going to go over the steps a Ubuntu user would do to get this working on their system. If you're not using Ubuntu this will still work; just replace "sudo" with "su" and use your administrative password.

First we need to get the Google repository key:

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

Next we're going to download the list of available software from the Google repository:
sudo sh -c 'echo "deb http://dl.google.com/linux/deb/ testing non-free" >> /etc/apt/sources.list.d/google.list'

Now we're going to download and install Picasa:
sudo apt-get update && sudo apt-get install picasa

Start Picasa:
picasa &

Close out of Picasa and download the 3.9 exe:
cd ~ && wget http://dl.google.com/picasa/picasa39-setup.exe

Now we're going to use the wrapper Google provides to install the exe:
sudo WINEPREFIX=/tmp/.wine_picasa /opt/google/picasa/3.0/wine/bin/wine ~/picasa39-setup.exe

Close out of Picasa if it comes up, and then copy the installation file over to another directory:
sudo cp -r /tmp/.wine_picasa/drive_c/Program Files/Google/Picasa3/* /opt/google/picasa/3.0/wine/drive_c/Program Files/Google/Picasa3/

Now we're going to clean up the mess we made in the Home folder:
rm -rf ~/.google/picasa/

rm ~/picasa39-setup.exe

Install IE6 to circumvent a bug that doesn't allow you to sign in to your Picasa account:
env WINEARCH=win32 WINEPREFIX=~/.google/picasa/3.0/ winetricks ie6

And we're done! :)

I want to thank AskUbuntu for providing the answers I needed to resolve this issue. It just wasn't the easiest thing to find so I'm reposting in the hopes that it will make it a bit easier to find. :)


You Might Also Like

8 comments

  1. Hmmm... looks like the first step fails because the key url is no longer valid.
    "gpg: no valid OpenPGP data found."

    Know of any other sources for the signing key?

    thanks

    ReplyDelete
  2. Unfortunately no I don't. :(

    ReplyDelete
  3. I got through the first step, but the 3rd step failed like this...
    W: Failed to fetch http://dl.google.com/linux/deb/dists/testing/non-free/binary-amd64/Packages 404 Not Found [IP: 74.125.228.103 80]

    W: Failed to fetch http://dl.google.com/linux/deb/dists/testing/non-free/binary-i386/Packages 404 Not Found [IP: 74.125.228.103 80]

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

    Step 4 to start Picasa fails. "command not found"

    ReplyDelete
  4. I got through the first step, but the 3rd step failed like this...
    W: Failed to fetch http://dl.google.com/linux/deb/dists/testing/non-free/binary-amd64/Packages 404 Not Found [IP: 74.125.228.103 80]

    W: Failed to fetch http://dl.google.com/linux/deb/dists/testing/non-free/binary-i386/Packages 404 Not Found [IP: 74.125.228.103 80]

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

    Step 4 to start Picasa fails. "command not found"

    ReplyDelete
  5. Jonquil, only 4 steps required:

    1. sudo apt-get install wine winetricks

    2. cd ~ && wget http://dl.google.com/picasa/picasa39-setup.exe

    3. wine picasa39-setup.exe

    4. winetricks ie6

    Search "picasa" in Dash to launch it.

    ReplyDelete
  6. This is the method of installing Picasa without installing Wine, thus the use of the wrapper. Personally, I had no need for Wine because Picasa was the only Windows program I wanted to use.

    ReplyDelete
  7. Also, if you want to get video working follow the steps here.

    http://ubuntuforums.org/showthread.php?t=1385837

    ReplyDelete
  8. Please refrain from commenting on this article as it is over two years old and now obsolete except for those that for whatever reason choose to stick with 12.04 or may find use for it otherwise.

    Terminal commands are directly copied and pasted from terminal's accepted input to eliminate chance of error. Formatting corrections are not necessary unless you actually copy and paste from this blog and it does not work.

    Comments that recommend distro changes as "solutions" for technical issues will be deleted from this blog with no exception. When you do this you're no better than someone that said you should switch to Windows because you're having an issue in Linux.

    ReplyDelete