wiki:programmersguide/installing

Version 2 (modified by jano.simas, 9 years ago) (diff)

--

Installing the Debian package

Configuring TerraMA2

Before continuing read through the page Configuring TerraMA2

Installing TerraMA2

The Debian package has 3 dependencies, TerraLib, NodeJs and Postgres/PostGIS. To install the TerraLib got to this page: ToDo?.

NodeJs can be installed with the commands:

  curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash -
  sudo apt-get install -y nodejs

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:

Ubuntu 14.04

sudo apt-get install postgresql-9.3-postgis-2.1

Ubuntu 16.04

sudo apt-get install postgresql-9.5-postgis-2.2

and finally install the TerraMA2 package with the commands:

Ubuntu 14.04

sudo dpkg -i TerraMA2-4.0.0-beta2-linux-x64-Ubuntu-14.04.deb
sudo apt-get install -f -y

Ubuntu 16.04

sudo dpkg -i TerraMA2-4.0.0-beta2-linux-x64-Ubuntu-16.04.deb
sudo apt-get install -f -y