ITK/Source: Difference between revisions

From KitwarePublic
< ITK
Jump to navigationJump to search
Line 12: Line 12:
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.
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 (Currently ITK3 only!) ===
=== Linux Package Distributions ===


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


   sudo apt-get install libinsighttoolkit3-dev
   sudo apt-get install libinsighttoolkit4-dev


==== Ubuntu ====
==== Ubuntu ====


   sudo apt-get install libinsighttoolkit3-dev
   sudo apt-get install libinsighttoolkit4-dev


This will give you the libraries and development headers. Packaging for ITKv4 is underway.
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 ==

Revision as of 18:55, 6 July 2016

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 git://itk.org/ITK.git

Latest Stable Release

  git clone -b release git://itk.org/ITK.git ITKLatestRelease

Previous Releases

You can get specific releases by using the tags, for example:

  git  clone -b v4.0.0   git://itk.org/ITK.git   ITK-4.0.0




ITK: [Welcome | Site Map]