TerraLib and TerraView Wiki Page

This is an old revision of the document!



Warning: Declaration of syntax_plugin_iframe::handle($match, $state, $pos, &$handler) should be compatible with DokuWiki_Syntax_Plugin::handle($match, $state, $pos, Doku_Handler $handler) in /var/www/html/terralib5/wiki/lib/plugins/iframe/syntax.php on line 18

Warning: Declaration of syntax_plugin_iframe::render($mode, &$R, $data) should be compatible with DokuWiki_Syntax_Plugin::render($format, Doku_Renderer $renderer, $data) in /var/www/html/terralib5/wiki/lib/plugins/iframe/syntax.php on line 18

Warning: Declaration of syntax_plugin_externallink::handle($match, $state, $pos, &$handler) should be compatible with DokuWiki_Syntax_Plugin::handle($match, $state, $pos, Doku_Handler $handler) in /var/www/html/terralib5/wiki/lib/plugins/externallink/syntax.php on line 107

Warning: Declaration of syntax_plugin_externallink::render($mode, &$renderer, $data) should be compatible with DokuWiki_Syntax_Plugin::render($format, Doku_Renderer $renderer, $data) in /var/www/html/terralib5/wiki/lib/plugins/externallink/syntax.php on line 107

TerraLib 5.0 - Download

Before downloading and install TerraLib 5, see its dependencies in Working Environment page.

Source code

From GIT

The GIT repository is located at https://git.dpi.inpe.br/terralib5 that must be accessed using:

Username: tester

Password: terralibdpi

To get the TerraLib and TerraView source code, use the command:

  git clone https://git.dpi.inpe.br/terralib5

If you experience problems with the SSL certificate try to use the command:

  sudo env GIT_SSL_NO_VERIFY=true git clone https://tester:terralibdpi@git.dpi.inpe.br/terralib5 

Go to the directory where the TerraLib and TerraView source code is located and use the BUILD-INSTRUCTIONS text file to build it. Alternatively, use the instructions at Build and Install.

  cd terralib5

To check all branches available (remotes and local) and all tags use the following git commands:

  $ git branch -a
  *master                           -- *master -> means the current branch is master
  remotes/origin/HEAD -> origin/master
  remotes/origin/develop
  remotes/origin/master
  remotes/origin/release-5.0.0-alpha
  remotes/origin/release-5.0.0-beta
  
  $ git tag -l    or git tag --list
  5.0.0-alpha 
   

To work in a specific branch, for example “remotes/origin/release-5.0.0-beta”, use the checkout command to create a local branch to track the remote branch (preferable with the same last name of the remote branch):

 git checkout -b <local_branch_name> <remote_branch_name without the "remotes" part>
 git checkout -b release-5.0.0-beta origin/release-5.0.0-beta
 

It is also possible to checkout a specific tag and create a local branch from this tag to work on:

git checkout -b <local_branch_tag_name> <one_of_tag_name_listed>
git checkout -b tag_branch_5.0.0-alpha  5.0.0-alpha

It is worth mention that a tag is created only into master branch. It happens after merging release-branch into master, thus most of the time there is a release-branch related to a tag.

If you are not familiar with GIT commands, you can use a graphical GIT client like TortoiseGIT (for Windows) or Git-Cola (for Linux, Mac and Windows).

From a .zip file

If you are not familiar with GIT, an alternative way is to download the source code of the available versions:

ReleaseBuild InstructionsDoxygenDoc
terralib_5.0.0-beta BUILD_INSTRUCTIONS.txt Build Terralib_doxygen doc
terralib_5.0.0-alpha Build Instructions Download DoxygenDoc

For a complete guide on how to build from source look at: Build and Install.

Binaries

Download the installer packages: