ITK/Source: Difference between revisions

From KitwarePublic
< ITK
Jump to navigationJump to search
(Created from antonym)
 
(Add the historical label after Change-Id I5b79451da962c95614c65e09679bc8b5c12b6dea was merged)
 
(24 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 ==


There have been four official releases of ITK since its inception. The latest is v1.6, which was released in early 2004.  This can be obtained from:
=== Source code ===
 
* http://itk.org/ITK/resources/software.html
 
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


* http://www.itk.org/files/v1.6/InsightToolkit1.6.0.zip (for Windows)
==== Ubuntu ====
* http://www.itk.org/files/v1.6/InsightToolkit1.6.0.tar.gz (for Unix and others)


Older releases are archived at http://www.itk.org/HTML/Download.htm
  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-1-6` for release 1.6 branch.
{{ITK/Template/Footer}}
* `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]