<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-8689372863103114839</id><updated>2011-09-02T10:22:23.368+02:00</updated><category term='gimp'/><category term='flickrsave'/><category term='photos'/><category term='plugin'/><category term='flickr'/><category term='upload'/><category term='manual'/><title type='text'>anbits</title><subtitle type='html'>my random computer-related musings...</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://anbits.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8689372863103114839/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://anbits.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>CP</name><uri>http://www.blogger.com/profile/05060660472767938848</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://img203.imageshack.us/img203/1695/kenny965gw.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>2</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8689372863103114839.post-8692745772184747642</id><published>2007-10-17T21:40:00.000+02:00</published><updated>2007-10-18T19:53:47.867+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='gimp'/><category scheme='http://www.blogger.com/atom/ns#' term='flickr'/><category scheme='http://www.blogger.com/atom/ns#' term='plugin'/><category scheme='http://www.blogger.com/atom/ns#' term='flickrsave'/><category scheme='http://www.blogger.com/atom/ns#' term='photos'/><category scheme='http://www.blogger.com/atom/ns#' term='manual'/><category scheme='http://www.blogger.com/atom/ns#' term='upload'/><title type='text'>FlickrSave: Upload your photos to Flickr from within GIMP</title><content type='html'>&lt;h2&gt;Summary&lt;/h2&gt;&lt;br /&gt;&lt;a href="http://flickrsave.googlecode.com"&gt;FlickrSave&lt;/a&gt; is a &lt;a href="http://gimp.org"&gt;GIMP&lt;/a&gt; plugin which adds an option to directly upload a picture to &lt;a href="http://www.flickr.com"&gt;Flickr&lt;/a&gt;. It uses Christophe Beauregard's &lt;a href="http://search.cpan.org/~cpb/Flickr-Upload/flickr_upload"&gt;flickr_upload&lt;/a&gt; tool as a backend. The plugin supports setting title, description, tags and privacy, and works in both GIMP-2.2 and GIMP-2.4RC under Linux.&lt;br /&gt;&lt;br /&gt;More background on the plugin can be found at the end of the post, in the "Motivation" section.&lt;br /&gt;&lt;br /&gt;In all honesty, this is more of a ugly hack than a full-fledged plugin, but it works OK. And maybe it will inspire somebody to write a better plugin. In the meantime, please use and enjoy it!&lt;br /&gt;&lt;br /&gt;&lt;h2&gt;The obligatory screenshot&lt;/h2&gt;&lt;br /&gt;&lt;a href="http://www.flickr.com/photos/andvaranaut/1605224627/" title="Photo Sharing"&gt;&lt;img src="http://farm3.static.flickr.com/2410/1605224627_ed5d263cbb.jpg" width="500" height="400" alt="FlickrSave screenshot" /&gt;&lt;/a&gt;&lt;br /&gt;This shows FlickrSave in action. You can see the dialog, allowing you to choose title, description and tags for the image, and the added option in the menu.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;h2&gt;Installing the plugin&lt;/h2&gt;&lt;br /&gt;&lt;br /&gt;Here are step by step installation instructions:&lt;br /&gt;&lt;br /&gt;&lt;h2&gt;What you need&lt;/h2&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Any Unix-based OS. I have used &lt;a href="http://www.ubuntu.org"&gt;Ubuntu&lt;/a&gt;, but any current distro will do. This hack won't work on Windows because there are some hardcoded paths on it (and, also, running scripts is much more awkward).&lt;/li&gt;&lt;br /&gt;&lt;li&gt;The GIMP (doh), with a working Gimp-Python installation. Your distro has it. I used the 2.4 release candidate, which is current in Gutsy, and have tried it with 2.2 also.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;a href="http://search.cpan.org/~cpb/Flickr-Upload/flickr_upload"&gt;flickr_upload&lt;/a&gt;, Cristophe Beauregard's tool for uploading photos to Flickr. As of this writing, &lt;a href="http://search.cpan.org/CPAN/authors/id/C/CP/CPB/Flickr-Upload-1.29.tar.gz"&gt;Version 1.29&lt;/a&gt; is current and works perfectly with FlickrSave. (You don't need to download the file unless you are willing to install it by hand)&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;a href="http://code.google.com/p/flickrsave/downloads/list"&gt;FlickrSave&lt;/a&gt;, the plugin and wrapper script. Grab it from &lt;a href="http://code.google.com/p/flickrsave/downloads/list"&gt;Google Code&lt;/a&gt;. The current version is &lt;a href="http://flickrsave.googlecode.com/files/flickrsave-0.1d.tar.gz"&gt;flickrsave-0.1d&lt;/a&gt;.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Firefox as a web browser and &lt;tt&gt;xterm&lt;/tt&gt; for a terminal. Chances are you already have them installed. You may change the default program choice by editing the wrapper script (see below).&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;&lt;h2&gt;Step 1: Installing flickr_upload&lt;/h2&gt;&lt;br /&gt;&lt;br /&gt;The plugin depends on &lt;a href="http://search.cpan.org/~cpb/Flickr-Upload/flickr_upload"&gt;flickr_upload&lt;/a&gt; and, unfortunately, most distros don't package it. There are two possibilities for installing this tool. The recommended one is using CPAN, which only needs running a single command:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Open a terminal and run the following command (you'll need root privileges for this, either by using &lt;tt&gt;sudo&lt;/tt&gt; or &lt;tt&gt;su&lt;/tt&gt;:&lt;br /&gt;&lt;blockquote&gt;&lt;tt&gt;$ sudo perl -MCPAN -e 'install Flickr::Upload'&lt;/tt&gt;&lt;/blockquote&gt;&lt;/li&gt;&lt;br /&gt;&lt;br /&gt;&lt;li&gt;If you haven't used CPAN before, Perl will ask you whether you are ready for manual CPAN configuration: &lt;blockquote&gt;&lt;tt&gt;CPAN is the world-wide archive of perl resources. It consists of about&lt;br /&gt;100 sites that all replicate the same contents all around the globe.&lt;br /&gt;Many countries have at least one CPAN site already. The resources&lt;br /&gt;found on CPAN are easily accessible with the CPAN.pm module. If you&lt;br /&gt;want to use CPAN.pm, you have to configure it properly.&lt;br /&gt;&lt;br /&gt;If you do not want to enter a dialog now, you can answer 'no' to this&lt;br /&gt;question and I'll try to autoconfigure. (Note: you can revisit this&lt;br /&gt;dialog anytime later by typing 'o conf init' at the cpan prompt.)&lt;br /&gt;&lt;br /&gt;Are you ready for manual configuration? [yes] _&lt;/tt&gt;&lt;/blockquote&gt;&lt;br /&gt;I recommend typing &lt;tt&gt;no&lt;/tt&gt; and pressing Enter. CPAN will then use its default setup, which is sensible enough for most situations.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;CPAN will then begin working, downloading files as it goes. If your system lacks a dependency of &lt;tt&gt;flickr_upload&lt;/tt&gt;, it will ask you whether you want to install it. Press Enter to accept:&lt;br /&gt;&lt;blockquote&gt;&lt;tt&gt;---- Unsatisfied dependencies detected during [C/CP/CPB/Flickr-Upload-1.29.tar.gz] -----&lt;br /&gt;    XML::Parser::Lite::Tree&lt;br /&gt;    Flickr::API&lt;br /&gt;Shall I follow them and prepend them to the queue&lt;br /&gt;of modules we are processing right now? [yes] &lt;/tt&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;You'll probably need XML::Parser::Lite::Tree and Flickr::API. In addition to that, XML::Parser::Lite::Tree depends on XML::Parser::Lite, part of SOAP:Lite. If that happens, press Enter again:&lt;br /&gt;&lt;blockquote&gt;&lt;tt&gt;---- Unsatisfied dependencies detected during [I/IA/IAMCAL/XML-Parser-Lite-Tree-0.03.tar.gz] -----&lt;br /&gt;    XML::Parser::Lite&lt;br /&gt;Shall I follow them and prepend them to the queue&lt;br /&gt;of modules we are processing right now? [yes] &lt;/tt&gt;&lt;/blockquote&gt;&lt;br /&gt;If you install SOAP::Lite in this way, it may want to ask you some configuration questions. Press Enter three times to accept the defaults.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;That's it. Once the command returns, &lt;tt&gt;flickr_upload&lt;/tt&gt; will be installed on your system.&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;If you don't want to use CPAN, you can read the manual installation instructions &lt;a href="http://anbits.blogspot.com/2007/10/manual-installation-of-perlupload.html"&gt;here&lt;/a&gt;. Follow the steps outlined in that post and return here once you are done.&lt;br /&gt;&lt;br /&gt;&lt;h2&gt;Step 2: Authenticating flickr_upload&lt;/h2&gt;&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Once Flickr-Upload has been installed, you need to authenticate it. Type the following command in the terminal:&lt;br /&gt;&lt;blockquote&gt;&lt;tt&gt;$ flickr_upload --auth&lt;/tt&gt;&lt;/blockquote&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;tt&gt;flickr_upload&lt;/tt&gt; will respond with a huge URL. You'll need to open it with a web browser. (In gnome-terminal, you can open it by right-clicking, so you can avoid the awkward copy&amp;paste operation). This will take you to a Flickr page, where you will be asked to authorize &lt;b&gt;Flickr::Upload&lt;/b&gt;. Accept the authorization; you may then close the browser window.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Return to the terminal and press Enter. Then, &lt;tt&gt;flickr_upload&lt;/tt&gt; will give you an "authentication token" (a bunch of hexadecimal digits strung together). Copy the token to the clipboard.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Use your favourite editor to create a &lt;tt&gt;~/.flickrrc&lt;/tt&gt; file (as in &lt;tt&gt;gedit ~/.flickrrc&lt;/tt&gt;, for example). You only need the following line on it:&lt;br /&gt;&lt;blockquote&gt;&lt;tt&gt;auth_token=&amp;lt;token&gt;&lt;/tt&gt;&lt;/blockquote&gt; &lt;br /&gt;If you prefer, you may run the following command from the terminal instead:&lt;blockquote&gt;&lt;tt&gt;$ echo auth_token=&amp;lt;token&gt; &gt;&gt; ~/.flickrrc&lt;/tt&gt;&lt;/blockquote&gt;In both cases, substitute &lt;tt&gt;&amp;lt;token&gt;&lt;/tt&gt; for the authentication token you copied to the clipboard a moment ago.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Flickr-Upload should now be correctly configured. You may test it by typing something like &lt;tt&gt;flickr_upload &lt;i&gt;somefile.jpg&lt;/i&gt;&lt;/tt&gt; on a terminal (provided that &lt;tt&gt;&lt;i&gt;somefile.jpg&lt;/i&gt;&lt;/tt&gt; exists). If everything is working, you should see the file appear on your Flickr photostream.&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;&lt;h2&gt;Step 3: Installing FlickrSave&lt;/h2&gt;&lt;br /&gt;Once the dependencies have been met, the actual installation of the plugin is the simplest part, so you are almost there.&lt;br /&gt;&lt;br /&gt;FlickrSave has two parts. The wrapper, &lt;tt&gt;flickr_upload_gimp_helper&lt;/tt&gt;, is a shell script which does most of the work associated with calling &lt;tt&gt;flickr_upload&lt;/tt&gt;. (Incidentally, editing this script will allow you to change the chosen terminal and browser program). The GIMP plugin, &lt;tt&gt;flickrsave.py&lt;/tt&gt; (for GIMP-2.4RC) or &lt;tt&gt;flickrsave-2.2.py&lt;/tt&gt; (for GIMP-2.2), provides the GIMP interface. You only need to copy the files to their correct places and you'll be good to go.&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Uncompress the &lt;a href="http://flickrsave.googlecode.com/files/flickrsave-0.1d.tar.gz"&gt;flickrsave-0.1d.tar.gz&lt;/a&gt; file you downloaded somewhere and get into the corresponding directory:&lt;br /&gt;&lt;blockquote&gt;&lt;tt&gt;$ tar xvzf flickrsave-0.1d.tar.gz&lt;br /&gt;$ cd flickrsave-0.1d&lt;/tt&gt;&lt;/blockquote&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Ensure that all scripts (&lt;tt&gt;flickrsave.py&lt;/tt&gt;, &lt;tt&gt;flickrsave-2.2.py&lt;/tt&gt; and &lt;tt&gt;flickr_upload_gimp_helper&lt;/tt&gt;) are world executable:&lt;blockquote&gt;&lt;tt&gt;$ chmod a+rx flickr*&lt;/tt&gt;&lt;/blockquote&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Copy &lt;tt&gt;flickr_upload_gimp_helper&lt;/tt&gt; somewhere in your $PATH. The exact point does not matter; I recommend &lt;tt&gt;/usr/local/bin&lt;/tt&gt;. Unless &lt;tt&gt;~/bin&lt;/tt&gt; is an option, you will need to copy the file with root privileges, either by using &lt;tt&gt;sudo&lt;/tt&gt; or &lt;tt&gt;su&lt;/tt&gt;.&lt;blockquote&gt;&lt;tt&gt;$ sudo cp flickr_upload_gimp_helper /usr/local/bin&lt;/tt&gt;&lt;/blockquote&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Now for the final step (phew!), copying &lt;tt&gt;flickrsave.py&lt;/tt&gt; (or &lt;tt&gt;flickrsave-2.2.py&lt;/tt&gt;) to your GIMP plugin directory (note that it's NOT your script directory). There are two options:&lt;/li&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;b&gt;Local copy (recommended)&lt;/b&gt;: Install the plugin to your user's private plugin directory. That way you don't need root privileges and you don't mess with your main GIMP installation. For GIMP 2.4RC, the correct command is: &lt;blockquote&gt;&lt;tt&gt;$ cp flickrsave.py ~/.gimp-2.4/plug-ins&lt;/tt&gt;&lt;/blockquote&gt; For GIMP-2.2 and earlier, the &lt;tt&gt;flickrsave.py&lt;/tt&gt; plugin won't work directly due to some incompatibilities; a working version for GIMP-2.2, &lt;tt&gt;flickrsave-2.2.py&lt;/tt&gt;, is included in the package. So the correct command would be: &lt;blockquote&gt;&lt;tt&gt;$ cp flickrsave-2.2.py ~/.gimp-2.2/plug-ins&lt;/tt&gt;&lt;/blockquote&gt; &lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;b&gt;Global copy&lt;/b&gt;: Copy the plugin to your global GIMP plugin directory, which in my case is &lt;tt&gt;/usr/lib/gimp/2.0/plug-ins&lt;/tt&gt;. You'll need root privileges for that. This will make it available by default to every user, although they will still need to have a correct &lt;tt&gt;~/.flickrrc&lt;/tt&gt; file for it to work (&lt;tt&gt;flickr_upload&lt;/tt&gt; depends on it). For GIMP 2.4, the command is (the following should be all in a single line):&lt;blockquote&gt;&lt;tt&gt;$ sudo cp flickrsave.py /usr/lib/gimp/2.0/plug-ins&lt;/tt&gt;&lt;/blockquote&gt;&lt;br /&gt;And for GIMP 2.2:&lt;br /&gt;&lt;blockquote&gt;&lt;tt&gt;$ sudo cp flickrsave-2.2.py /usr/lib/gimp/2.0/plug-ins&lt;/tt&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;li&gt;That's all! The plugin is now fully installed.&lt;/ul&gt;&lt;br /&gt;&lt;h2&gt;Usage&lt;/h2&gt;&lt;br /&gt;Not much to say here. Right click on your image and choose File, or use File from the drop-down menu. The very last option is "Save to Flickr..." Choose it and a dialog will pop up asking you for the image title, description, tags and desired privacy settings. Click Accept and the plugin will do its bidding automatically. A terminal window will pop up briefly as the image is uploaded, and, if everything goes well, the Flickr photo edit page will be opened on Firefox once it is available in your photostream.&lt;br /&gt;&lt;br /&gt;&lt;h2&gt;Motivation&lt;/h2&gt;&lt;br /&gt;I love taking lots of photographs, up to the point that it has become somewhat of an obsession. It's only fitting, then, than from the moment I signed up for a pro &lt;a href="http://www.flickr.com/photos/andvaranaut"&gt;Flickr&lt;/a&gt; account, I never looked back. In addition to having almost 10,000 pictures uploaded (and counting), I find myself more and more involved in the community. In particular, I'm very active in &lt;a href="http://flickr.com/groups/a3b"&gt;A3B&lt;/a&gt;, a challenge-style group where I am a moderator and enthusiastic participant.&lt;br /&gt;&lt;br /&gt;As you can guess from the number of pictures, I use Flickr for archival purposes, not as a showcase. I upload the raw pictures as they come out from the camera. Occasionally, be it as a reply to a &lt;a href="http://www.flickr.com/groups/a3b/discuss/"&gt;challenge&lt;/a&gt; or just because I feel like it, I download a picture, retouch it and re-upload it in its newly found glory. (I have a whole bunch of photos I took from the Sears Tower on a very foggy day; they are very bland, but I recently discovered that, with some tricks, you can get &lt;a href="http://www.flickr.com/photos/andvaranaut/1598691781/"&gt;gorgeous B&amp;amp;W pictures&lt;/a&gt; out of them, and I'm busy with that at the moment).&lt;br /&gt;&lt;br /&gt;I love GNU/Linux, so the natural option for photo retouching is &lt;a href="http://www.gimp.org"&gt;GIMP&lt;/a&gt;. However, a big pet peeve of mine was the fact that the integration between GIMP and Flickr is nil. At least, you can use the "Open Location..." option on the GIMP File menu (or the corresponding option on your browser) to save yourself the hassle of downloading the image, saving it to disk and hunting for it from within GIMP. However, there is no way you can save your images to Flickr: you have to save the image to disk and use whatever tool rows your boat to upload it. This makes the process cumbersome, to say the least.&lt;br /&gt;&lt;br /&gt;I spent some days searching for a plugin that would add an option to GIMP to save to my Flickr account, but couldn't find any. Therefore I concocted my own solution. As I didn't have much of a clue with Python, I wrote a very simple GIMP plugin which presents an interface and invokes an external shell script which does the magic, invoking Christophe Beauregard's &lt;a href="http://search.cpan.org/~cpb/Flickr-Upload/flickr_upload"&gt;flickr_upload&lt;/a&gt; to do the hard work. &lt;br /&gt;&lt;br /&gt;&lt;h2&gt;Acknowledgements&lt;/h2&gt;&lt;br /&gt;Thanks to Raphael Quinet for the CPAN suggestion.&lt;br /&gt;&lt;br /&gt;&lt;h2&gt;Contact&lt;/h2&gt;&lt;br /&gt;You can reach me in &lt;tt&gt;andvaranaut AT gmail . com&lt;/tt&gt;, or just leave a comment in this post. Enjoy!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8689372863103114839-8692745772184747642?l=anbits.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anbits.blogspot.com/feeds/8692745772184747642/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8689372863103114839&amp;postID=8692745772184747642' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8689372863103114839/posts/default/8692745772184747642'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8689372863103114839/posts/default/8692745772184747642'/><link rel='alternate' type='text/html' href='http://anbits.blogspot.com/2007/10/flickrsave-upload-your-photos-to-flickr.html' title='FlickrSave: Upload your photos to Flickr from within GIMP'/><author><name>CP</name><uri>http://www.blogger.com/profile/05060660472767938848</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://img203.imageshack.us/img203/1695/kenny965gw.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://farm3.static.flickr.com/2410/1605224627_ed5d263cbb_t.jpg' height='72' width='72'/><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8689372863103114839.post-3224061031741568192</id><published>2007-10-08T12:34:00.000+02:00</published><updated>2007-10-18T12:38:19.106+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='flickrsave'/><title type='text'>Manual installation of perl_upload</title><content type='html'>These are the instructions for manually installing perl_upload. Using CPAN is much simpler and is recommended instead.&lt;br /&gt;&lt;br /&gt;&lt;h2&gt;Step 1: Installing flickr_upload prerequisites&lt;/h2&gt;&lt;br /&gt;(&lt;i&gt;Note&lt;/i&gt;: You may skip this section and go directly to "Step 2: Installing flickr_upload", below. If you run into prerequisite problems, you may return to this section then).&lt;br /&gt;&lt;br /&gt;The &lt;tt&gt;flickr_upload&lt;/tt&gt; package has a few dependencies which may not be fulfilled by default on your Perl installation. This includes Flickr::API and XML::Parser::Lite::Tree, which in turn depends on SOAP::Lite.&lt;br /&gt;&lt;br /&gt;In Ubuntu Gutsy, you can install these modules by using the following command:&lt;br /&gt;&lt;blockquote&gt;&lt;tt&gt;$ sudo apt-get install libxml-parser-lite-tree-perl libflickr-api-perl&lt;/tt&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;If your distro does not provide these packages (as is the case, for instance, in Ubuntu Feisty), you'll have to install them manually. Follow these instructions:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Download the &lt;a href="http://search.cpan.org/~byrne/SOAP-Lite-0.69/lib/XML/Parser/Lite.pm"&gt;SOAP-Lite Perl module&lt;/a&gt;, which includes the XML::Parser::Lite class. As of this writing, the current version is &lt;a href="http://search.cpan.org/CPAN/authors/id/B/BY/BYRNE/SOAP-Lite-0.69.tar.gz"&gt;SOAP-Lite-0.69&lt;/a&gt;.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Open a terminal and go wherever the file was saved. Uncompress the file you just downloaded and generate the Makefile by using the following commands:&lt;br /&gt;&lt;blockquote&gt;&lt;tt&gt;$ tar xvzf SOAP-Lite-0.69.tar.gz&lt;br /&gt;$ cd SOAP-Lite-0.69&lt;br /&gt;$ perl Makefile.PL&lt;/tt&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;You'll be asked for some configuration options. Just press Enter three times to accept the default values. Then use these two commands to install the module:&lt;br /&gt;&lt;blockquote&gt;&lt;tt&gt;$ make&lt;br /&gt;$ sudo make install&lt;/tt&gt;&lt;/blockquote&gt;&lt;br /&gt;You will need to do the installation (the very last step) as root. I used &lt;tt&gt;sudo&lt;/tt&gt;, because I'm using Ubuntu; you might need to use &lt;tt&gt;su&lt;/tt&gt; instead.&lt;br /&gt;&lt;/li&gt;&lt;br /&gt;&lt;br /&gt;&lt;li&gt;Next in line is &lt;a href="http://search.cpan.org/dist/XML-Parser-Lite-Tree/Tree.pm"&gt;XML::Parser::Lite::Tree&lt;/A&gt;, which depends on XML::Parser::Lite (which is in turn provided by SOAP-Lite, which we just installed). Download the file (the current version as of this writing is &lt;a href="http://search.cpan.org/CPAN/authors/id/I/IA/IAMCAL/XML-Parser-Lite-Tree-0.03.tar.gz"&gt;XML-Parser-Lite-Tree-0.03.tar.gz&lt;/a&gt;), open a terminal, go to wherever the file was downloaded and run the following commands:&lt;br /&gt;&lt;blockquote&gt;&lt;tt&gt;$ tar xvzf XML-Parser-Lite-Tree-0.03.tar.gz&lt;br /&gt;$ cd XML-Parser-Lite-Tree-0.03&lt;br /&gt;$ perl Makefile.PL&lt;br /&gt;$ make&lt;br /&gt;$ sudo make install&lt;/tt&gt;&lt;/blockquote&gt;&lt;/li&gt;&lt;br /&gt;&lt;br /&gt;&lt;li&gt;Finally, for &lt;a href="http://search.cpan.org/~iamcal/Flickr-API-0.08/lib/Flickr/API.pm"&gt;Flickr::API&lt;/a&gt;, the procedure is exactly the same. The current version as of this writing is &lt;a href="http://search.cpan.org/CPAN/authors/id/I/IA/IAMCAL/Flickr-API-0.08.tar.gz"&gt;Flickr-API-0.08&lt;/a&gt;.&lt;br /&gt;&lt;blockquote&gt;&lt;tt&gt;$ tar xvzf Flickr-API-0.08.tar.gz&lt;br /&gt;$ cd Flickr-API-0.08&lt;br /&gt;$ perl Makefile.PL&lt;br /&gt;$ make&lt;br /&gt;$ sudo make install&lt;/tt&gt;&lt;/blockquote&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;That's it. Once you are done with the installation, you may remove the directories that were within the compressed files to save space.&lt;br /&gt;&lt;br /&gt;&lt;h2&gt;Step 2: Installing flickr_upload&lt;/h2&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Save the &lt;a href="http://search.cpan.org/CPAN/authors/id/C/CP/CPB/Flickr-Upload-1.29.tar.gz"&gt;Flickr-Upload-1.29.tar.gz&lt;/a&gt; file somewhere. Open a terminal, go to the directory where the file is located, and follow the instructions below:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;tt&gt;$ tar xvzf Flickr-Upload-1.29.tar.gz&lt;br /&gt;$ cd Flickr-Upload-1.29&lt;br /&gt;$ perl Makefile.PL&lt;/tt&gt;&lt;/blockquote&gt;&lt;br /&gt;At this point, Perl may complain that some prerequisites are not met: &lt;br /&gt;&lt;blockquote&gt;&lt;tt&gt;cepe@Imago:~/Flickr-Upload-1.29$ perl Makefile.PL &lt;br /&gt;Checking if your kit is complete...&lt;br /&gt;Looks good&lt;br /&gt;&lt;b&gt;Warning: prerequisite Flickr::API 0.07 not found.&lt;br /&gt;Warning: prerequisite XML::Parser::Lite::Tree 0.03 not found.&lt;/b&gt;&lt;br /&gt;Writing Makefile for Flickr::Upload&lt;/tt&gt;&lt;/blockquote&gt;&lt;br /&gt;If that's the case, &lt;b&gt;you need to follow the steps outlined in Section 1 before returning here.&lt;/b&gt; You have been warned ;) If not, continue reading.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Make and install &lt;tt&gt;flickr_upload&lt;/tt&gt; by running the following commands (stilll within the &lt;tt&gt;Flickr-Upload-1.29&lt;/tt&gt; directory): &lt;br /&gt;&lt;blockquote&gt;&lt;tt&gt;$ make&lt;br /&gt;$ sudo make install&lt;/tt&gt;&lt;/blockquote&gt;&lt;br /&gt;You will need to do the installation (the very last step) as root. I used &lt;tt&gt;sudo&lt;/tt&gt;, because I'm using Ubuntu; you might need to use &lt;tt&gt;su&lt;/tt&gt; instead.&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;You may now continue with the &lt;a href="http://anbits.blogspot.com/2007/10/flickrsave-upload-your-photos-to-flickr.html"&gt;instructions for FlickrSave installation.&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8689372863103114839-3224061031741568192?l=anbits.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anbits.blogspot.com/feeds/3224061031741568192/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8689372863103114839&amp;postID=3224061031741568192' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8689372863103114839/posts/default/3224061031741568192'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8689372863103114839/posts/default/3224061031741568192'/><link rel='alternate' type='text/html' href='http://anbits.blogspot.com/2007/10/manual-installation-of-perlupload.html' title='Manual installation of perl_upload'/><author><name>CP</name><uri>http://www.blogger.com/profile/05060660472767938848</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://img203.imageshack.us/img203/1695/kenny965gw.jpg'/></author><thr:total>0</thr:total></entry></feed>
