| 14 | | |
| 15 | | == Installing the Debian package == |
| 16 | | |
| 17 | | The Debian package has 3 dependencies, **!TerraLib**, **!NodeJs** and **Postgres/PostGIS**. To install the **!TerraLib** got to this page: ToDo. |
| 18 | | |
| 19 | | **!NodeJs** can be installed with the commands: |
| 20 | | {{{ |
| 21 | | curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash - |
| 22 | | sudo apt-get install -y nodejs |
| 23 | | }}} |
| 24 | | |
| 25 | | You can have the version of your preference of **Postgresql-9** and **PostGIS-2**, the versions in the **Ubuntu 14.04 (trusty)** repository can be installed with the command: |
| 26 | | |
| 27 | | **Ubuntu 14.04** |
| 28 | | {{{ |
| 29 | | sudo apt-get install postgresql-9.3-postgis-2.1 |
| 30 | | }}} |
| 31 | | **Ubuntu 16.04** |
| 32 | | {{{ |
| 33 | | sudo apt-get install postgresql-9.5-postgis-2.2 |
| 34 | | }}} |
| 35 | | |
| 36 | | and finally install the TerraMA2 package with the commands: |
| 37 | | |
| 38 | | **Ubuntu 14.04** |
| 39 | | {{{ |
| 40 | | sudo dpkg -i TerraMA2-4.0.0-beta2-linux-x64-Ubuntu-14.04.deb |
| 41 | | sudo apt-get install -f -y |
| 42 | | }}} |
| 43 | | **Ubuntu 16.04** |
| 44 | | {{{ |
| 45 | | sudo dpkg -i TerraMA2-4.0.0-beta2-linux-x64-Ubuntu-16.04.deb |
| 46 | | sudo apt-get install -f -y |
| 47 | | }}} |
| 48 | | |
| 49 | | == Configuring TerraMA2 == |
| 50 | | |
| 51 | | Go to the page [wiki:programmersguide/configuringterrama2 Configuring TerraMA2] |