ITK/Source: Difference between revisions

From KitwarePublic
< ITK
Jump to navigationJump to search
m (Reverted edits by At7E4g (Talk); changed back to last version by Andy)
(Add the historical label after Change-Id I5b79451da962c95614c65e09679bc8b5c12b6dea was merged)
 
(13 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 ==


=== 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://www.itk.org/files/v1.8/InsightToolkit-2.0.0.zip InsightToolkit-2.0.0.zip] (for Windows, 15.5Mb)
* [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
and at SourceForge http://sourceforge.net/projects/itk/
 
=== Sample Applications ===
 
A series of example applications for ITK are available.  See [[ITK Insight Applications]] for full details.  The source is available for download:


* [http://prdownloads.sourceforge.net/itk/InsightApplications-2.0.1.zip?download InsightApplications-2.0.1.zip] (for Windows, 9.9Mb)
* http://itk.org/ITK/resources/software.html
* [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.)
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 ====
ITK 2.0.1 Has been packaged for Mandrake Linux by Gaetan Lehmann (Thanks to Gaetan for doing this).
Here are instructions from his email
If you use mandrake cooker or mandrake 10.2 and above,
  "urpmi  libitk-devel",
  "urpmi python-itk"
  or "urpmi itk-doc"
(for example) should  install packages you need to use itk.
If you use an earlier release, you can download source rpm from your  favorite mirror and rebuild the package with
  "rpmbuild --rebuild  itk-*-src.rpm".
Read  http://qa.mandrakesoft.com/twiki/bin/view/Main/DistroSpecificReleaseTag 
for more information on macro needed for backport.
==== RPM ====
Fabrice bellet updated some rpm for:
          http://fr2.rpmfind.net
(thanks to Brad King for updating gccxml to support gcc 3.4).
You can find there binaries for :
      cableswig-0.1.0-0.20050402.src.rpm            02-Apr-2005 00:54  11M
      cableswig-0.1.0-0.20050402.i386.rpm            02-Apr-2005 00:54  2.7M
      cableswig-debuginfo-0.1.0-0.20050402.i386.rpm  02-Apr-2005 00:54  8.4M
      itk-2.0.1-2.src.rpm                            02-Apr-2005 21:22  14M
      itk-2.0.1-2.i386.rpm                          02-Apr-2005 21:23  3.4M
      itk-examples-2.0.1-2.i386.rpm                  02-Apr-2005 21:23  7.5M
      itk-devel-2.0.1-2.i386.rpm                    02-Apr-2005 21:23  2.4M
      itk-tcl-2.0.1-2.i386.rpm                      02-Apr-2005 21:25  14M
      itk-python-2.0.1-2.i386.rpm                    02-Apr-2005 21:26  16M
      itk-java-2.0.1-2.i386.rpm                      02-Apr-2005 21:27  19M
      itk-testing-progs-2.0.1-2.i386.rpm            02-Apr-2005 21:29  40M
      itk-debuginfo-2.0.1-2.i386.rpm                02-Apr-2005 21:49  318M


==== Debian ====
==== Debian ====


Debian packages for Version 2.2 ITK are available.  The full source packages can be obtained from:
   sudo apt-get install libinsighttoolkit4-dev
 
   http://mentors.debian.net/
 
where there are instructions on how to install and build them.  The source package is called
<tt>insighttoolkit</tt>.
 
Note that
source packages only are available from this site, due to bandwidth considerations. The packages
are soon to appear in Debian main (thanks to Andreas Tille) and will then be available as binary
packages for all supported platforms.


These packages are maintained by Gavin Baker, and further information on the packages can be found at
==== Ubuntu ====
http://www.cs.mu.oz.au/~gavinb/projects/itk.php


== 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]