Installation Linux

This section describes how to install ITK with python wrappings on Fedora 19 or 20, or Ubuntu 14. This can of course be extended to other Linuxes.

Step 1: Dependencies

Fedora 20 has very few packages installed y default, so you may have to install them manually.

On Fedora 20:

Python will need to be installed along with the Python development headers (Python.h), which is not the case on most platforms:

Step 2: Setup the build

Clone the git repository in /home/yourname/ITK:

Create a build directory, it is recommended to build outside of the source directory:

Use cmake to configure your build

Set different variables, you may have to configure [C] the build 2 or 3 times. Use the advanced mode [T] to see all the possibilities.

On Fedora 19 or 20:

On Ubuntu 14:

Once configuration is finished, you may now generate the needed files by pressing [g].

Step 3: Run the build

Step 4: Install

You need to have root access to install ITK (if you left the default installation path):

On Fedora:

On Ubuntu: Here, the super-user account is disabled by default, run the install step like this:

ITK will install by default in /usr/local/lib. Now, you have to tell the system that the files have been installed here.

Step 5: Test your installation

This should run without producing an error.



ITK: [Welcome | Site Map]