...
Code Block |
---|
cd /usr/local/src/TARFILES/
wget http://www.psycopg.org/psycopg/tarballs/PSYCOPG-2-4/psycopg2-2.4.5.tar.gz
cd ../
tar xvfz TARFILES/psycopg2-2.4.5.tar.gz
cd psycopg2-2.4.5/
sudo /usr/local/python27/bin/python2.7 setup.py install
/usr/local/python27/bin/python2.7
# echo should be as follows
# Python 2.7.3 (default, May 16 2012, 09:40:25)
# [GCC 4.1.2 20080704 (Red Hat 4.1.2-48)] on linux2
# Type "help", "copyright", "credits" or "license" for more information.
# check your work
# >>> import psycopg2
# >>> psycopg2.__version__
# stdout should be
# '2.4.5 (dt dec pq3 ext)' #
# >>> exit()
|
upgrade proj.4
Code Block |
---|
cd /usr/local/src/TARFILES wget ftp://ftp.remotesensing.org/proj/proj-4.8.0.tar.gz wget ftp://ftp.remotesensing.org/proj/proj-datumgrid-1.5.tar.gz cd ../ tar xvfz TARFILES/proj-4.8.0.tar.gz cd proj-4.8.0/nad tar xvfz ../../TARFILES/proj-datumgrid-1.5.tar.gz cd .. ./configure make sudo make install # find and remove old proj libraries (?) sudo find / -name "*proj*" cd /usr/local/lib ls -l sudo rm libproj.so.0.6.6 |
...