wiki:Vagrant

Version 1 (modified by Even Rouault, 10 years ago) ( diff )

--

Vagrant

Vagrant is a tool that works together with VirtualBox to create reproducable developement environment. GDAL now includes a Vagrant configuration file that setups a Ubuntu Precise 64bit virtual machine, install all needed dependencies (quite comprehensively, except proprietary ones), and build GDAL.

  1. Download and install VirtualBox.
  1. Download and install Vagrant.
  1. Download GDAL sources :
    svn co https://svn.osgeo.org/gdal/trunk gdal
  1. Execute the vagrant configuration:
        cd gdal/gdal
        vagrant up
    
  1. Wait for the base virtual machine to be downloaded the first time, then complementary packages to be downloaded, then GDAL dependencies to be built, then GDAL sources from being fetched again, then GDAL from being compiled and installed...
  1. Log to the gdal-vagrant virtual machine:
        vagrant ssh
    
  1. Run any GDAL command :
        gdalinfo --version
    
  1. Hack GDAL...
        cd gdal/gdal
        [ modify files ]
        make
        sudo make install
    
Note: See TracWiki for help on using the wiki.