[osgeo4w-dev] o4w-apt: an apt-get like utility for OSGeo4W

Matt Wilkie matt.wilkie at gov.yk.ca
Thu Jul 3 15:01:41 EDT 2008


Hello World,

o4w-apt.py is a program for installing modules from the command line 
within an OSGeo4W shell.

It is based on 'cyg-apt' by Jan Nieuwenhuizen. The main changes are to 
using pure python instead of system calls for rm, mv, gzip, tar, md5sum. 
The only wholly new function is to automatically run the 
postinstall/.bat files.

== Usage ==

d:\> o4w-apt update
. . . . .

d:\> o4w-apt new
gdal                1.5.2-2
gdal-ecw            1.5.2-2
java                1.6.0._.5-2
msvcrt              1.0.0-6
ogdi                3.2.0.b.1-4
openev              1.9.0-3
proj                4.6.0-3

d:\> o4w-apt install proj
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . 
C:/OSGeo4W/var/cache/setup/http%3a%2f%2fdo
wnload.osgeo.org%2fosgeo4w/./release/proj/proj-4.6.0-3.tar.bz2

76d10d9bbe120ef44554fb57623d288c  proj-4.6.0-3.tar.bz2
c2593a75bad7951868d77457f54cf1a2  proj-4.6.0-3.tar.bz2
MD5 does't match, carrying on anyway (probably a dumb idea).

preparing to replace proj 4.6.0-2
installing proj 4.6.0-3

d:\>

== Known Problems ==

The md5sum never matches. I don't know why. Current workaround is report 
the mismatch but carry on anyway.

I'm not a developer. This is the most significant python project I've 
ever undertaken and without doubt THERE ARE PROBLEMS. Still, it seems to 
work for me on my computer. I don't know what it might do to anyone elses.

((http://code.google.com/p/maphew/wiki/AptGetLike))
((http://code.google.com/p/maphew/source/browse/trunk/gis/o4w_extras/bin/o4w-apt.py))

cheers,

-- 
matt wilkie
--------------------------------------------
Geographic Information,
Information Management and Technology,
Yukon Department of Environment
10 Burns Road * Whitehorse, Yukon * Y1A 4Y9
867-667-8133 Tel * 867-393-7003 Fax
http://environmentyukon.gov.yk.ca/geomatics/
--------------------------------------------



More information about the osgeo4w-dev mailing list