https://github.com/GeoscienceAustralia/PyRate
Tip revision: a71f4aa5dd65c9b8bf679213700c009a498c3ce7 authored by S M T Chua on 02 March 2022, 04:59:20 UTC
Merge pull request #381 from GeoscienceAustralia/sc/ghpages
Merge pull request #381 from GeoscienceAustralia/sc/ghpages
Tip revision: a71f4aa
ubuntu.rst
Linux
^^^^^
These instructions have been tested using Ubuntu 18.04. If using another
Linux distribution, you will have to install packages equivalent to those
listed in ``PyRate/scripts/apt_install.sh``.
Clone the repository, install required packages and install `PyRate`:
::
git clone git@github.com:GeoscienceAustralia/PyRate.git
./PyRate/scripts/apt_install.sh
# Add GDAL includes to C/CPLUS paths before building Python GDAL bindings.
export C_INCLUDE_PATH=$C_INCLUDE_PATH:/usr/include/gdal
export CPLUS_INCLUDE_PATH=$CPLUS_INCLUDE_PATH:/usr/include/gdal
python3 setup.py install
These commands will compile the executable program ``pyrate``.