...
Code Block |
---|
# find old geos programs and libs and remove them $ sudo find / -name "*geos*" | grep -v src ... # install new geos $ cd /usr/local/src/TARFILES $ wget http://download.osgeo.org/geos/geos-3.3.3.tar.bz2 $ bunzip2 geos-3.3.3.tar.bz2 $ cd ../ $ tar xvfz TARFILES/geos-3.3.3.tar $ cd geos-3.3.3 # no python bindings $ ./configure $ make $ sudo make install $ |
upgrade gdal
Code Block |
---|
# find old gdal and remove
$ sudo find / -name "*gdal*" | grep -v src
$ sudo ls -l /usr/local/bin/gdal*
$ sudo rm /usr/local/bin/gdal*
# repeat the above 3 lines until you are satisfied.
....
$ 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/
# make sure the PATH is right so we get the right version of python
$ PATH=/usr/local/python27/bin:$PATH
$ ./configure --with-python
$ make clean
$ make
$ sudo make install
$ |
OBSOLETE - install virtualenv 2.7
...