https://github.com/GeoscienceAustralia/PyRate
Tip revision: 75568d175fb9b7f9421e532a5dbfc65c2c4f3b28 authored by Richard Taylor on 16 March 2022, 00:02:33 UTC
Update build.yml
Update build.yml
Tip revision: 75568d1
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``.