Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
wiki:terralib5_download [2014/09/18 14:14] marisa [From GIT] |
wiki:terralib5_download [2014/10/03 10:24] (current) marisa |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== TerraLib 5.0 - Download ====== | ====== TerraLib 5.0 - Download ====== | ||
| | ||
- | Before downloading and install TerraLib 5, see its dependencies in [[wiki:terralib5_environment#Working Environment page]]. | + | Before downloading and install TerraLib 5, see the basic tools required in [[wiki:terralib5_environment#Working Environment page]]. |
- | * Download the latest version of TerraLib5: | + | * Download the available releases of TerraLib5 and TerraView: |
* [[wiki:terralib5_download#From_GIT|Source Code From GIT]] | * [[wiki:terralib5_download#From_GIT|Source Code From GIT]] | ||
* [[wiki:terralib5_download#From_a_zip_file|Source Code From .zip file]] | * [[wiki:terralib5_download#From_a_zip_file|Source Code From .zip file]] | ||
- | * [[wiki:terralib5_download#binaries|Binaries]] | ||
==== Source code ==== | ==== Source code ==== | ||
- | == From GIT == | + | === From GIT === |
The GIT repository is located at https://git.dpi.inpe.br/terralib5 that must be accessed using: | The GIT repository is located at https://git.dpi.inpe.br/terralib5 that must be accessed using: | ||
Line 17: | Line 16: | ||
//Password: terralibdpi// | //Password: terralibdpi// | ||
- | To get the TerraLib and TerraView source code, use the command: | + | To get the TerraLib and TerraView source code under your current directory, use the git clone command below. |
+ | |||
+ | After cloning, a //terralib5// directory is created and the DEPENDENCIES and BUILD-INSTRUCTIONS files can be accessed. Make sure all dependencies are installed before building. | ||
+ | |||
+ | ^Date^Release^Git Command^Dependencies^Build Instructions^DoxygenDoc^ | ||
+ | |2014/09/29| terralib-5.0.0-beta|%%git clone -b release-5.0.0-beta --origin release-5.0.0-beta https://git.dpi.inpe.br/terralib5%%|DEPENDENCIES| [[http://www.dpi.inpe.br/terralib5/wiki/doku.php?id=wiki:terralib5_build|General Guide]] or BUILD-INSTRUCTIONS|[[http://www.dpi.inpe.br/terralib5/codedocs_beta/| Doc5.0.0-beta ]]| | ||
+ | |2013/12/19| terralib-5.0.0-alpha|%%git clone -b release-5.0.0-alpha --origin release-5.0.0-alpha https://git.dpi.inpe.br/terralib5%% and %%git clone https://git.dpi.inpe.br/terraview_help%% |[[wiki:dependencies_alpha|Dependencies]]| [[wiki:build_alpha|Build Instructions]]|[[http://www.dpi.inpe.br/terralib5/codedocs/|Doc5.0.0-alpha]]| | ||
- | git clone https://git.dpi.inpe.br/terralib5 | ||
If you experience problems with the SSL certificate try to use the command: | If you experience problems with the SSL certificate try to use the command: | ||
Line 25: | Line 29: | ||
sudo env GIT_SSL_NO_VERIFY=true git clone https://tester:terralibdpi@git.dpi.inpe.br/terralib5 | 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 [[:wiki:terralib5_build| Build and Install]]. | + | Go to the directory where the TerraLib and TerraView source code is located: |
cd terralib5 | 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: | It is also possible to checkout a specific tag and create a local branch from this tag to work on: | ||
Line 53: | Line 38: | ||
git checkout -b tag_branch_5.0.0-alpha 5.0.0-alpha | 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. | + | It is worth mention that a tag is created only into the master branch after merging a release-x.x.x 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). | 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 == | + | Now it is time to build the working environment. Use the BUILD-INSTRUCTIONS file located at the root of terralib5 source tree. Alternatively, use the [[:wiki:terralib5_build| General Guide]] instructions. |
- | If you are not familiar with GIT, an alternative way is to download the source code of the available versions: | + | |
- | ^Release^Build Instructions^DoxygenDoc^ | + | |
- | | {{:wiki:terralib_5.0.0-beta.zip|terralib_5.0.0-beta}} |BUILD_INSTRUCTIONS.txt |Build Terralib_doxygen project| | + | |
- | | {{:wiki:terralib_5.0.0-alpha.zip|terralib_5.0.0-alpha}}|http://www.dpi.inpe.br/terralib5/wiki/doku.php?id=wiki:terralib5_build&rev=1387547639|Download DoxygenDoc http://www.dpi.inpe.br/terralib5/codedocs/ | | + | |
- | For a complete guide on how to build from source look at: [[:wiki:terralib5_build| Build and Install]]. | + | === From a .zip file === |
- | ==== Binaries ==== | + | If you are not familiar with GIT, an alternative way is to download the source code of available releases: |
- | Download the installer packages: | + | ^Launched^Release^Dependencies^Build Instructions^DoxygenDoc^ |
- | * For Windows 32 bits at: [[http://www.dpi.inpe.br/terralib5/installer/terraview-5.0.0-alpha-win32.exe|terraview-5.0.0-alpha-win32]] | + | |2014/09/29| {{:wiki:terralib_5.0.0-beta.zip|terralib_5.0.0-beta}} |DEPENDENCIES|BUILD_INSTRUCTIONS|[[http://www.dpi.inpe.br/terralib5/codedocs_beta/|Doc5.0.0-beta ]]| |
+ | |2013/12/19| {{:wiki:terralib_5.0.0-alpha.zip|terralib_5.0.0-alpha}}|[[wiki:dependencies_alpha|Dependencies]]|[[wiki:build_alpha|Build Instructions]]|[[http://www.dpi.inpe.br/terralib5/codedocs/|Doc5.0.0-alpha]]| |