https://github.com/GeoscienceAustralia/PyRate
Tip revision: 791d01c4e7168788973afcf74a8e3eccd0627d3d authored by S M T Chua on 24 February 2022, 04:26:55 UTC
Merge pull request #378 from GeoscienceAustralia/develop
Merge pull request #378 from GeoscienceAustralia/develop
Tip revision: 791d01c
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``.