4.3 (Advanced) Native install
The full PEcAn system has a lot of dependencies, including R packages, compiled C and Fortran libraries, and system services and utilities. Installing all of these side by side, and getting them to work harmoniously, is very time-consuming and challenging, which is why we strongly encourage new users to use the VM or Docker if possible.
In a nutshell, the process for manual installation is as follows:
Download the PEcAn source code from GitHub. The recommended way to do this is with the shell command
git clone, i.e.
git clone https://github.com/pecanproject/pecan.
Download the BETY source code from GitHub.
Install the PEcAn R packages and their dependencies. This can be done by running the shell command
makeinside the PEcAn source code directory. Note that many of the R packages on which PEcAn depends have system dependencies that are not included by default on most operating systems, but almost all of which should be available via your operating system’s package manager (e.g. Homebrew for MacOS,
aptfor Ubuntu/Debian/Mint Linux,
yumfor RedHat Fedora/CentOS).
Install and configure PostgreSQL
Install and configure the Apache web server.
For more details, see our notes about OS Specific Installations.