Geoscience Reference
In-Depth Information
sudo apt-get install gdal-bin libgdal1 libgdal1-dev
For some of the examples in this topic, we recommend that you install the Python
bindings to GDAL, which can be done as follows:
sudo apt-get install python-gdal
For Windows operating systems it is possible to install GDAL using a number
of pre-compiled binaries. The OSGEO4W 21 includes a set of open source geospa-
tial packages for 32 and 64-bit environments. The installation wizard provides an
'Express' option and allows for specific packages to be installed. TheWindows pack-
ages maintained by Tamas Szekeres available here 22 are also popular. They are based
on the latest stable and development branches available from the GDAL SVN.
It is also possible to install GDAL directly from source, which first requires down-
loading the package tar ball (or zip file) from the GDAL homepage. Installing from
source provides more flexibilty, but also requires more configuration. The following
steps provide a very rudimentary description of how this can be achieved and likely
you will need to provide more specifications during the configuration.
wget http://download.osgeo.org/gdal/1.11.1/gdal-1.11.1.tar.gz
tar xzvf gdal-1.11.1.tar.gz
cd gdal-1.10.1
./configure
make
make install
B.3
Installation of Pktools
If you are on a Linux system that is based on Ubuntu (or running a virtual machine
based onOSGeo), you can simply download the install script install_pktools.
sh available on the pktools website. 23 You should run it as root (sudo):
sudo bash install_pktools.sh
This will download and install the latest version of pktools including all depen-
dencies. For an installation on different platforms, you can check the instructions on
the pktools website.
21 http://trac.osgeo.org/osgeo4w/
22 http://www.gisinternals.com/sdk/
23 http://download.savannah.gnu.org/releases/pktools
 
 
Search WWH ::




Custom Search