Hi Matt, thanks for the istructions, I wrapped them up here: http://jgrasstechtips.blogspot.com/2011/03/osgeo4w-for-impaired-networks.html
Hope that is ok with you and if you have comments, just shout. Andrea On Tue, Mar 29, 2011 at 10:25 PM, andrea antonello <[email protected]> wrote: > Hi Matt, > I was really hoping for this to work without dependencies. It needs > python though, which I had installed, but not in my osgeo4w install. > So even if the apt install via commandline is easy and works (tested, > yeah!), one has to go through a customized install of python, which > kind of defeats the purpose. Anyways I am sure many will be happy to > install also by doing so and most probably many will have python > installed, so I will wrap the instructions up and let others know. > Thank you for the help! > > Andrea > > On Tue, Mar 29, 2011 at 12:39 AM, Matt Wilkie <[email protected]> wrote: >> It's just two files. Save >> http://trac.osgeo.org/osgeo4w/export/1170/trunk/apt/apt.py as >> %OSGeo4w_root%\bin\apt.py (default is C:\OSGeo4W) >> >> Then create batch file %OSGeo4w_root%\bin\apt.bat with the following >> content: >> >> @python "%OSGEO4W_ROOT%\bin\apt.py" %* >> >> From there you can run something like the following from inside an osgeo4w >> command shell: >> >> apt --mirror=http://download_alternate.osgeo.org update >> :: or apt --mirror=file:///path/to/package/mirror update >> apt available | more >> apt install gdal17 gdal17-python (etc...) >> >> cheers, >> >> matt wilkie >> -------------------------------------------- >> Geomatics Analyst >> 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/ >> -------------------------------------------- >> >> On 28/03/2011 1:29 PM, andrea antonello wrote: >>> >>> Hi Matt, >>> that would be an great option. There is only one problem with it. It >>> is not installed by default, right? So for example in my case I have >>> no way to get the commandline installer without passing through the >>> gui installer. >>> >>> Or is there a way for this? >>> >>> Thanks, >>> Andrea >> > _______________________________________________ osgeo4w-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/osgeo4w-dev
