HOWTO:Picasa

From PardusWiki
(Difference between revisions)
Jump to: navigation, search
(Install method 2)
(Install method 2)
Line 32: Line 32:
  
 
== Install method 2 ==
 
== Install method 2 ==
 +
# Use wget to download the latest 32bit deb of picasa ;
 
  wget http://dl.google.com/linux/deb/pool/non-free/p/picasa/picasa_2.7.3736-15_i386.deb
 
  wget http://dl.google.com/linux/deb/pool/non-free/p/picasa/picasa_2.7.3736-15_i386.deb
 +
# Use ar to extract the install files from the deb ;
 
  ar x picasa_2.7.3736-15_i386.deb data.tar.gz
 
  ar x picasa_2.7.3736-15_i386.deb data.tar.gz
 +
# Create a directory and all it's parent dirs to place picasa (~/bin/google/picasa) ;
 
  mkdir -p ~/bin/google/picasa
 
  mkdir -p ~/bin/google/picasa
 +
# Move the archive to the above dir
 
  mv data.tar.gz ~/bin/google/picasa
 
  mv data.tar.gz ~/bin/google/picasa
 +
# Change to that directory
 
  cd ~/bin/google/picasa
 
  cd ~/bin/google/picasa
 +
# Extract the archive
 
  tar zxf data.tar.gz
 
  tar zxf data.tar.gz
 +
# Delete the archive
 
  rm -f data.tar.gz
 
  rm -f data.tar.gz
 +
# Change dir to ~/bin
 
  cd ~/bin
 
  cd ~/bin
 +
# Create a symbolic link so that I could run ~/bin/picasa to execute the program
 
  ln -s google/picasa/opt/picasa/bin/picasa
 
  ln -s google/picasa/opt/picasa/bin/picasa
 +
# Run picasa
 
  ~/bin/picasa
 
  ~/bin/picasa
 
So going through the lines:
 
* I used wget to download the latest 32bit deb of picasa.
 
* I then used ar to extract the install files from the deb.
 
* I created a directory and all it's parent dirs to place picasa (~/bin/google/picasa).
 
* I moved the archive to the above dir.
 
* I changed to that directory.
 
* I extracted the archive.
 
* I deleted the archive.
 
* I changed dir to ~/bin.
 
* I created a symbolic link so that I could run ~/bin/picasa to execute the program.
 
* I ran picasa.
 

Revision as of 17:37, 26 September 2008

Install method 1

There may be a better way to install Picasa on Pardus, so pelase up date this howto with a easier method. This method is a bit cumbersome, but does work.

http://picasa.google.com/linux/faq.html#1

Q: I miss the .bin package. Why is it gone, and how can I install Picasa 2.7 in my home directory?

We no longer ship a .bin because we prefer users to add our repository to their package manager, and use their system's normal autoupdate to pick up new versions of Picasa automatically.

If you really can't or don't want to use a .rpm or .deb package manager, you can still do a manual install into your home directory by unpacking the .deb or .rpm package. For instance, to unpack the .deb package manually, do:

cd $HOME ar x picasa_*.deb data.tar.gz tar zxf data.tar.gz

You can then run Picasa with the command:

$HOME/opt/picasa/bin/picasa

You probably want to make an icon, shortcut, or symlink for that so you only have to type it once!

The above was from google FAQ, i did it as follows:

I extracted the picasa.deb file to my desktop. then extracted the data.tar.gz file this created a 'opt' directory on my desktop and a 'usr' folder. Then as SU i copied the 'opt/picasa' folder to my /opt/ folder so I had /opt/picasa. I aslo copied the usr/picasa file to /usr/local/bin Then edited the kde-menu to add a entry under 'graphics' for picasa, pointing to /opt/picasa/bin/picasa The icon was located at: /opt/picasa/desktop/picasa.xpm

Install method 2

  1. Use wget to download the latest 32bit deb of picasa ;
wget http://dl.google.com/linux/deb/pool/non-free/p/picasa/picasa_2.7.3736-15_i386.deb
  1. Use ar to extract the install files from the deb ;
ar x picasa_2.7.3736-15_i386.deb data.tar.gz
  1. Create a directory and all it's parent dirs to place picasa (~/bin/google/picasa) ;
mkdir -p ~/bin/google/picasa
  1. Move the archive to the above dir
mv data.tar.gz ~/bin/google/picasa
  1. Change to that directory
cd ~/bin/google/picasa
  1. Extract the archive
tar zxf data.tar.gz
  1. Delete the archive
rm -f data.tar.gz
  1. Change dir to ~/bin
cd ~/bin
  1. Create a symbolic link so that I could run ~/bin/picasa to execute the program
ln -s google/picasa/opt/picasa/bin/picasa
  1. Run picasa
~/bin/picasa
Personal tools
Namespaces
Variants
Actions
Navigation
Print/export
Toolbox