ITK/Source
From KitwarePublic
< ITK
Jump to navigationJump to search![]() | This section is currently out-of-date and may contain errors but is retained for historical reference. For peer-reviewed, authoritative guidance on ITK, see The ITK Software Guide. Additional guidance can be found via the ITK Discourse. |
The source distribution for ITK can be obtained in two ways:
- Official release tarballs
- Git SCM checkout.
Contents
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