ITK/Source: Difference between revisions

From KitwarePublic
< ITK
Jump to navigationJump to search
(Add the historical label after Change-Id I5b79451da962c95614c65e09679bc8b5c12b6dea was merged)
 
(21 intermediate revisions by 8 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:


# Official release tarballs
# Official release tarballs
# Snapshot from CVS
# Git SCM checkout.


== 1. Official Releases ==
== 1. Official Releases ==


=== Core Library ===
=== Source code ===
 
There have been five official releases of ITK since its inception. The latest official release is 2.0.1 from March 2005.  It contains several important fixes since 2.0.0:
 
* [http://prdownloads.sourceforge.net/itk/InsightToolkit-2.0.1.zip?download InsightToolkit-2.0.1.zip] (For Windows, 15.5Mb)
* [http://prdownloads.sourceforge.net/itk/InsightToolkit-2.0.1.tar.gz?download InsightToolkit-2.0.1.tar.gz] (for Unixen, 11.8Mb)


The previous official release was v2.0, which was released in February 2005. This can be obtained from:
* http://itk.org/ITK/resources/software.html


* [http://www.itk.org/files/v1.8/InsightToolkit-2.0.0.zip InsightToolkit-2.0.0.zip] (for Windows, 15.5Mb)
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.
* [http://www.itk.org/files/v1.8/InsightToolkit-2.0.0.tar.gz InsightToolkit-2.0.0.tar.gz] (for Linux and other *nixen, 11.8Mb)


Older releases are archived at http://www.itk.org/HTML/Download.htm
=== Linux Package Distributions ===
and at SourceForge http://sourceforge.net/projects/itk/


=== Sample Applications ===
==== Debian ====


A series of example applications for ITK are available.  See [[ITK Insight Applications]] for full details.  The source is available for download:
  sudo apt-get install libinsighttoolkit4-dev


* [http://prdownloads.sourceforge.net/itk/InsightApplications-2.0.1.zip?download InsightApplications-2.0.1.zip] (for Windows, 9.9Mb)
==== Ubuntu ====
* [http://prdownloads.sourceforge.net/itk/InsightApplications-2.0.1.tar.gz?download InsightApplications-2.0.1.tar.gz] (for Linux and other *nixen, 8.9Mb)


(Note: the contents of the archives above are identical; only the archiving and compression is changed to best suit different platforms.)
  sudo apt-get install libinsighttoolkit4-dev


== 2. CVS Snapshots ==
This will give you the libraries and development headers.


Since many bug fixes and improvements are invariably applied to the source since an official release, it is often worthwhile getting a source snapshot from CVS.  However, before doing so you should always consult the
For information on other ITK packages and packages for other distributions, see [https://blog.kitware.com/itk-packages-in-linux-distributions/ this blog post].
NightlyDashboard to see the latest [http://www.itk.org/Testing/Dashboard/MostRecentResults-Nightly/Dashboard.html nightly build status] for all platforms.  Find a build matching your platform, and ensure that it is all green.  If not, some unit tests may have failed and you may need to go back a day or so to find a build that has passed green.


The very first time you access the ITK CVS repository, you must log in:
== 2. Git ==


cvs -d :pserver:anoncvs@www.itk.org:/cvsroot/Insight login
=== Development ===


When prompted for a password, simply press Enter (it is empty).
  git clone https://itk.org/ITK.git


To check out ITK itself:
=== Latest Stable Release ===


cvs -d :pserver:anoncvs@www.itk.org:/cvsroot/Insight co Insight
  git clone -b release https://itk.org/ITK.git ITKLatestRelease


To check out the Insight documentation (warning: this is '''huge'''):
=== Previous Releases ===


cvs -d :pserver:anoncvs@www.itk.org:/cvsroot/Insight co InsightDocuments
You can get specific releases by using the tags,
for example:


Numerous sample applcations, some simple and some quite sophisticated, are available from InsightApplications:
  git  clone -b v4.10.0  https://itk.org/ITK.git  ITK-4.10.0


cvs -d :pserver:anoncvs@www.itk.org:/cvsroot/Insight co InsightApplications


Here are the known release tags (use with cvs -r):


* `ITK-2-0-1` for release 2.0 branch, patch 1.
{{ITK/Template/Footer}}
* `ITK-2-0` for release 2.0 branch.
* `ITK-1-8-1` for release 1.8 branch patch 1.
* `ITK-1-8` for release 1.8 branch.
* `ITK-1-6` for release 1.6 branch.
* `ITK-1-4` for release 1.4 branch.
* `Release-1-2` for release 1.2 branch.
* `Release-1-0` for release 1.0 branch.
* `Release-0_7` for beta release 0.7 branch

Latest revision as of 15:06, 6 October 2017

The source distribution for ITK can be obtained in two ways:

  1. Official release tarballs
  2. 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




ITK: [Welcome | Site Map]