ITK/Source: Difference between revisions
From KitwarePublic
< ITK
Jump to navigationJump to search
(→2. Git) |
|||
Line 30: | Line 30: | ||
=== Development === | === Development === | ||
git clone | git clone https://itk.org/ITK.git | ||
=== Latest Stable Release === | === Latest Stable Release === | ||
git clone -b release | git clone -b release https://itk.org/ITK.git ITKLatestRelease | ||
=== Previous Releases === | === Previous Releases === | ||
Line 41: | Line 41: | ||
for example: | for example: | ||
git clone -b v4. | git clone -b v4.10.0 https://itk.org/ITK.git ITK-4.10.0 | ||
{{ITK/Template/Footer}} | {{ITK/Template/Footer}} |
Revision as of 18:57, 6 July 2016
The source distribution for ITK can be obtained in two ways:
- Official release tarballs
- Git SCM checkout.
1. Official Releases
Source code
Note that the software must be compiled from source using CMake and your favorite C++ compiler. The toolkit can be installed, but it is not necessary -- it can be used directly from its build directory.
Linux Package Distributions
Debian
sudo apt-get install libinsighttoolkit4-dev
Ubuntu
sudo apt-get install libinsighttoolkit4-dev
This will give you the libraries and development headers.
For information on other ITK packages and packages for other distributions, see this blog post.
2. Git
Development
git clone https://itk.org/ITK.git
Latest Stable Release
git clone -b release https://itk.org/ITK.git ITKLatestRelease
Previous Releases
You can get specific releases by using the tags, for example:
git clone -b v4.10.0 https://itk.org/ITK.git ITK-4.10.0