Changes between Initial Version and Version 1 of pkg-apt/AptFromScratch


Ignore:
Timestamp:
Sep 5, 2011, 11:45:41 PM (13 years ago)
Author:
maphew
Comment:

initial version

Legend:

Unmodified
Added
Removed
Modified
  • pkg-apt/AptFromScratch

    v1 v1  
     1Download the latest `apt-rxx.exe` from http://download.osgeo.org/osgeo4w/release/apt/. If you like rename to apt.exe.
     2Open a CMD shell and:
     3{{{
     4SET OSGEO4W_ROOT=C:\Osgeo4W
     5apt setup
     6apt update
     7apt install shell
     8}}}
     9
     10== Results ==
     11><b>set osgeo4w_root=d:\test-osgeo4w</b><br>
     12><b>apt setup</b><br>
     13Root dir not found, creating d:/test-osgeo4w<br>
     14creating d:/test-osgeo4w/etc/setup/<br>
     15creating d:/test-osgeo4w/etc/setup//installed.db<br>
     16getting d:/test-osgeo4w/etc/setup//setup.ini<br>
     17...100%<br>
     18><b>apt install shell</b><br>
     19to install:<br>
     20    shell msvcrt<br>
     21Fetching http://download.osgeo.org/osgeo4w/./release/shell/shell-1.0.0-5.tar.bz2<br>
     22<br>
     23...100%  d:/test-osgeo4w/var/cache/setup/http%3a%2f%2fdownload.osgeo.org%2fosgeo4w/./release/shell/shell-1.0.0-5.tar.bz2<br>
     24<br>
     25a01e6dcdc9e2d2c49424585aa3e1b44f  shell-1.0.0-5.tar.bz2 - remote<br>
     26a01e6dcdc9e2d2c49424585aa3e1b44f  shell-1.0.0-5.tar.bz2 - local<br>
     27<br>
     28Fetching http://download.osgeo.org/osgeo4w/./release/msvcrt/msvcrt-1.0.1-2.tar.bz2<br>
     29...100%  d:/test-osgeo4w/var/cache/setup/http%3a%2f%2fdownload.osgeo.org%2fosgeo4w/./release/msvcrt/msvcrt-1.0.1-2.tar.bz2<br>
     30<br>
     31195c192b98b7333e2d3f9e04717c2eb5  msvcrt-1.0.1-2.tar.bz2 - remote<br>
     32195c192b98b7333e2d3f9e04717c2eb5  msvcrt-1.0.1-2.tar.bz2 - local<br>
     33installing shell 1.0.0-5<br>
     34<br>
     35>mkdir "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\OSGeo4W"<br>
     36>xxmklink "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\OSGeo4W\OSGeo4W.lnk" "d:\test-osgeo4w\OSGeo4W.bat" " " \ "OSGeo for Windows command shell" 1 "d:\test-osgeo4w\OSGeo4W.ico<br>
     37>xxmklink "C:\ProgramData\Desktop\OSGeo4W.lnk" "d:\test-osgeo4w\OSGeo4W.bat" " " \ "OSGeo for Windows command shell" 1 "d:\test-osgeo4w\OSGeo4W.ico<br>
     38Post_install complete, return code 0<br>
     39installing msvcrt 1.0.1-2<br>
     40<br>
     41>"d:\test-osgeo4w\bin\vcredist_x86.exe" /q<br>
     42>del "d:\test-osgeo4w\bin\vcredist_x86.exe"<br>
     43>textreplace -std -t bin/o4w_env.bat<br>
     44Post_install complete, return code 0<br>
     45<br>
     46><b>apt list</b><br>
     47msvcrt              1.0.1-2<br>
     48shell               1.0.0-5<br>
     49----
     50
     51Shell is only a skeleton, there are no applications installed. So to get something actually useful:
     52{{{
     53>apt available
     54
     55 Packages available to install (* = already installed)
     56
     57agg-devel                       mapscript-dev-python
     58apache                          mapscript-java
     59apache-manual                   mapscript-python
     60...snipped >140 package names...
     61libxdr                          xerces-c
     62libxml2                         xerces-c-devel
     63mapfish_framework               zlib
     64
     65>apt install gdal
     66...snip...
     67
     68>gdalinfo --version
     69GDAL 1.5.4, released 2009/01/07
     70}}}