ITK/Source: Difference between revisions
From KitwarePublic
< ITK
Jump to navigationJump to search
Daviddoria (talk | contribs) |
|||
Line 12: | Line 12: | ||
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. | 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 | === Linux Package Distributions === | ||
==== Debian ==== | ==== Debian ==== | ||
sudo apt-get install | sudo apt-get install libinsighttoolkit4-dev | ||
==== Ubuntu ==== | ==== Ubuntu ==== | ||
sudo apt-get install | sudo apt-get install libinsighttoolkit4-dev | ||
This will give you the libraries and development headers. | This will give you the libraries and development headers. | ||
For information on other ITK packages and packages for other distributions, see [https://blog.kitware.com/itk-packages-in-linux-distributions/ this blog post]. | |||
== 2. Git == | == 2. Git == |
Revision as of 18:55, 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 git://itk.org/ITK.git
Latest Stable Release
git clone -b release git://itk.org/ITK.git ITKLatestRelease
Previous Releases
You can get specific releases by using the tags, for example:
git clone -b v4.0.0 git://itk.org/ITK.git ITK-4.0.0