Changes between Version 6 and Version 7 of pkg-apt
- Timestamp:
- 10/08/09 15:00:09 (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
pkg-apt
v6 v7 1 1 = apt = 2 2 3 * OSGeo4W command line Installer/Updater/Remover3 * '''OSGeo4W command line Installer/Updater/Remover''' 4 4 * Installs ''osgeo4w''\bin\apt.py which can be launched from the OSGeo4W shell. 5 * Built from the source code at http://svn.osgeo.org/osgeo4w/trunk/apt5 * Source code at http://trac.osgeo.org/osgeo4w/browser/trunk/apt 6 6 * Maintained by MattWilkie 7 7 8 ''This program is still in Alpha stage. The primary functions (install, upgrade, remove) seem to work well enough but it's not recommended for production use. There *are* bugs.'' 8 Current package version is v0.0-2. It can be found under Commandline Utilities in the setup.exe installer. 9 9 10 The package lags behind svn quite a bit right now, so please use [http://trac.osgeo.org/osgeo4w/browser/trunk/apt svn apt.py] when possible. 11 12 Interim documentation: http://code.google.com/p/maphew/wiki/AptGetLike 13 14 Not in the package but related is a 15 [http://code.google.com/p/maphew/downloads/list standalone apt.exe] which doesn't require an installed python and can be used to install OSGeo4W on a virgin system: 16 17 Minimal o4w skeleton: 10 First time use, from within OSGeo4W shell: 18 11 {{{ 19 SET OSGEO4W_ROOT=C:\Osgeo4W20 12 apt setup 21 apt update22 13 apt install msvcrt 23 14 }}} 15 After that: 16 {{{ 17 apt update (fetch up-to-date setup.ini) 18 apt install gdal (install package "gdal") 19 apt new (show possible upgrades) 20 apt list (show installed packages) 21 apt available (show installation candidates) 22 apt remove xxx (uninstall package xxx) 23 }}} 24 24 25 A skeleton install is not so useful, so after the above run `apt install gdal`, and perhaps `apt available` to see what other package choices there are. 25 For a completely virgin system see 26 [http://code.google.com/p/maphew/wiki/OsgeoFromScratch Osgeo From Scratch] which doesn't require an installed python or o4w shell. 27 28 Changes since v0-0.1: 29 30 * much better package removal (though still misses .tmpl files in ./bin and start menu shortcuts, #109) 31 * new command "apt available" shows packages which could be installed (previously one had to know the name already, #111) 32 * download percentage counter no longer reports >100% recieved 33 34 Apt.py and setup.exe use the same install database and procedures (though not code). One can switch between them at will depending on the needs of the moment. Configure setup.exe's cache directory to `C:\Osgeo4W\var\cache\setup` to avoid duplicating downloads. I would of course expect problems were both to run at the same time. 35 36 I've been using apt.py without significant issues for over a year, nevertheless I still consider this alpha software. This is my first real software development project and I've no training whatsoever. The only reason it works at all is because the original author, Jan Nieuwenhuizen, knew what he was doing when he wrote cyg-apt for cygwin. 37 38 The biggest functional problem is that uninstall is not yet comprehensive. There is little error trapping and not enough feedback on commands. For example "apt remove" just silently exits back to the shell prompt when it should respond with a usage message ("apt remove [package_name]"), at the least. (#53) 39 40 Feedback is welcome, especially on programming advice! Please use the o4w trac for logging bugs. 41 42 Enjoy!