Difference between revisions of "ITK/Source"
Jhlegarreta (talk | contribs) (Add the historical label after Change-Id I5b79451da962c95614c65e09679bc8b5c12b6dea was merged) |
|||
(6 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{ Historical }} | |||
The source distribution for ITK can be obtained in two ways: | The source distribution for ITK can be obtained in two ways: | ||
Line 6: | Line 8: | ||
== 1. Official Releases == | == 1. Official Releases == | ||
=== | === Source code === | ||
* http://itk.org/ITK/resources/software.html | * http://itk.org/ITK/resources/software.html | ||
Line 13: | Line 15: | ||
=== 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. | |||
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 == | ||
Line 29: | Line 32: | ||
=== 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 40: | Line 43: | ||
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}} |
Latest revision as of 15:06, 6 October 2017
![]() | {{#switch:|User|User talk=This user {{#ifeq:ITK|ITK/Source||sub}}page is currently inactive and is retained for historical reference. {{#if: |It was last updated {{{last}}}.}} If you want to revive discussion regarding the subject, you might try contacting the user in question or seeking broader input via a forum such as the village pump.|#default={{#switch:{{{type}}}|policy=This former Wikipedia policy, no longer backed by community consensus, is retained for historical reference.|guideline=This former Wikipedia guideline, no longer backed by community consensus, is retained for historical reference.| |section=This section is currently out-of-date and may contain errors but is retained for historical reference. {{#if: || For peer-reviewed, authoritative guidance on ITK, see The ITK Software Guide.. Additional guidance can be found via the mailing lists.}} |woundup=This page has been closed down by community consensus, and is retained only for historical reference. For peer-reviewed, authoritative guidance on ITK, see The ITK Software Guide. If you wish to restart discussion on the status of this page, seek community input via the mailing lists].|#default=This section is currently out-of-date and may contain errors but is retained for historical reference. {{#if: || For peer-reviewed, authoritative guidance on ITK, see The ITK Software Guide. Additional guidance can be found via the ITK Discourse.}}}} {{#if: |{{{comment}}}|}} {{#if: |It was last updated {{{last}}}.}} }} | {{#if: | {{#if:
| {{#ifexist: | | }}}} }} |
{{#switch:|User|User talk=|#default={{#ifeq:{{{category}}}|no||}}}}
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