ITK/Source: Difference between revisions

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


=== Download page ===
=== Source code ===


* http://itk.org/ITK/resources/software.html
* 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 ===
=== Linux Package Distributions ===


==== Mandrake ====
==== Debian ====
 
==== RPM ====


  sudo apt-get install libinsighttoolkit4-dev


==== Debian ====
==== Ubuntu ====
 
  sudo apt-get install libinsighttoolkit3-dev


== 2. CVS Snapshots ==
  sudo apt-get install libinsighttoolkit4-dev


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
This will give you the libraries and development headers.
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:
For information on other ITK packages and packages for other distributions, see [https://blog.kitware.com/itk-packages-in-linux-distributions/ this blog post].


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


When prompted for a password, simply press Enter (it is empty).
=== Development ===


To check out ITK itself:
  git clone https://itk.org/ITK.git


cvs -d :pserver:anoncvs@www.itk.org:/cvsroot/Insight co Insight
=== Latest Stable Release ===


To check out the Insight documentation (warning: this is '''huge'''):
  git clone -b release https://itk.org/ITK.git ITKLatestRelease


cvs -d :pserver:anoncvs@www.itk.org:/cvsroot/Insight co InsightDocuments
=== Previous Releases ===


Numerous sample applcations, some simple and some quite sophisticated, are available from InsightApplications:
You can get specific releases by using the tags,
for example:


  cvs -d :pserver:anoncvs@www.itk.org:/cvsroot/Insight co InsightApplications
  git clone -b v4.10.0  https://itk.org/ITK.git  ITK-4.10.0


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


* `ITK-2-0-1` for release 2.0 branch, patch 1.
* `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


{{ITK/Template/Footer}}
{{ITK/Template/Footer}}

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]