My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
Install  
How to install GoogleCL
Featured
Updated Feb 3, 2012 by Coilamg

Please note that we haven't tried all of these methods, and there may be a package/port in your distribution's package manager that we're not aware of. If something seems amiss, ask around on the mailing list, or file an issue in the tracker.

Dependencies

  • Python 2.5 or 2.6
  • gdata 2.0.12 through 2.0.16 --Note the best version for docs support is 2.0.14

While we've made efforts to be backwards compatible with gdata 1.2.4, there are a few things that will not work. For a list of known issues with 1.2.4, see the troubleshooting guide

All systems

From source

Fortunately, installing GoogleCL is super easy, because it's all Python. Download the latest .tar.gz, unpack it, and run setup.py to install it system wide or just run it from the src/ directory. -- Note: as of February 2, 2012, docs are broken with the .tar.gz versions of GoogleCL. If you need docs support, checkout GoogleCL from svn.

  • tar xvf googlecl-x.x.x.tar.gz
  • cd googlecl-x.x.x

then

  • sudo python setup.py install --record=files.txt (creates a list of files installed and saves it in files.txt)

OR don't install it and just use it this way:

  • cd src/
  • ./google

PyPi (The Cheeseshop)

There are a few ways to access the cheeseshop:

GNU/Linux

Debian and company (e.g. Ubuntu)

Installation should be very simple. Grab the .deb file from the Downloads section, cd to your downloads directory, and run

  • sudo dpkg -i googlecl*.deb

Note: We've heard of problems from Hardy users and Debian Lenny (unless you've enabled backports).

python-gdata version

Note that most versions of Ubuntu only come standard with gdata 1.2.4, so you may see a message like:

  • "Editing documents is not supported for gdata-python-client < 2.0"

If you need to use tasks unsupported by gdata-1.2, you'll need to manually install a newer version of the gdata and gdata python libraries.

Mac

Someone on reddit says that it's available via macports:

  • sudo port install googlecl

If it's not there, run 'sudo port selfupdate', then try again.

bodo.tasche reports that Brew has removed the googlecl package because it is part of pip. To install pip and then googlecl, use

  • brew install pip
  • pip install googlecl

Windows

0.9.8 and up

The zip file available in the Downloads section contains an executable called "google" that you can run from inside that folder. Running it will bring up the interactive shell prompt (> ) where you can enter commands such as docs list or blogger post "Hello World!"

If it crashes, does nothing, or says "MCVCR71.dll not found" you may need a DLL from Microsoft installed via this tool.

0.9.7 and earlier

Isaac Truett wrote up a HOWTO on his blog: http://publicint.blogspot.com/2010/06/setup-googlecl-on-winxp.html

FreeBSD

There is a FreeBSD port available under net/googlecl

Other

Did we miss something? Let us know via the mailing list. (The wiki comments are rarely, if ever, checked! But we appreciate the feedback when we see it!)

Comment by ShadowRa...@gmail.com, Oct 17, 2010

Available under Gentoo as /net-misc/googlecl

Currently marked untested on x86 - add to your /etc/portage/package.keywords

Comment by deverit...@gmail.com, Nov 16, 2010

"easy_install googlecl" gets "Best match: googlecl 0.9.11-win32" then fails with "Couldn't find a setup script". Yes, I know I can do a manual install from the right archive but, well, I wanted it to be an easy_install :-) BTW OS X 10.4.11, Python 2.6

Comment by wejradf...@gmail.com, Nov 17, 2010

As per deveritt08 on Ubuntu Lucid, python2.6

Comment by jon.is.o...@gmail.com, Jul 14, 2011

On Mac you will have to type "easy_install pip" instead of using brew.

Comment by abhishek...@gmail.com, Aug 3, 2011

you can do "sudo apt get install googlecl" for ubuntu(11.4), it worked for me :)

Comment by erikvv...@gmail.com, Aug 12, 2011

I'm using macports for other packages successfully on my osx, so I tried sudo ports install googlecl and it is listed when I use ports installed but when I try googlecl I get "-bash: googlecl: command not found"

Any idea what I did wrong?

Comment by erikvv...@gmail.com, Aug 12, 2011

I tried installing with easy_install now too, and the install seems to have worked but the command is not working still (I still get the same message as above).

I'm using Python 2.7 if that matters..

Comment by darkm...@gmail.com, Aug 16, 2011

erick the correct syntax for the command is google not googlecl. I'm so out of practice I was stumped by that for a couple of days.

Comment by erikvv...@gmail.com, Aug 17, 2011

ahh thanks!

Comment by adam.i.h...@gmail.com, Jan 26, 2012

I installed via cygwin using gdata version 2.0.14 and googlecl 0.9.13-1 and that combination seems to work well.


Sign in to add a comment
Powered by Google Project Hosting