...
switch default python versions
python2.5 It is already installed - we want to make it the default version - here's how.
You won't see this take effect unless you reenter the shell.
Code Block |
---|
sudo rm /usr/bin/python ln -s ./python2.5 python |
Exit the shell and reneter to get settings.
The default python should now be python 2.5
install gdal
Code Block |
---|
cd /usr/local/src/TARFILES wget http://download.osgeo.org/gdal/gdal-1.9.0.tar.gz cd ../ tar xvfz TARFILES/gdal-1.9.0.tar.gz cd gdal-1.9.0/ # set your PATH properly so we get the right version of python export PATH=/usr/local/bin/:$PATH ./configure --with-python make sudo PATH=/usr/local/bin/:$PATH make install |
...