NIMS Development Setup

From VISTA LAB WIKI

Jump to: navigation, search

The preferred environment is Ubuntu 10.04, with your IDE of choice. I suggest Netbeans. I love the jVi plug-in, and it's got a lot of snazzy bells and whistles without being bloated. You'll also need a few libraries, which you can retrieve by following the documentation here.

If you've never coded in Python, I suggest a couple links:


Contents

[edit] Setting up a Linux box with Ubuntu 10.04 for NIMS development

[edit] Install Ubuntu

Select 10.04 LTS and the architecture (32/64 bit) from the drop down menus prior to downloading:

[edit] Install Java

sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"
sudo apt-get update
sudo apt-get install sun-java6-jdk sun-java6-jre sun-java6-plugin sun-java6-fonts

[edit] Install an IDE

Any environment will do, but I prefer Netbeans:

sudo apt-get install netbeans

Configure Netbeans for Python development:

  • From within Netbeans:
    • Tools -> Plugins
    • Select the Available Plugins tab.
    • Scroll down to Python, check the adjacent box.
    • Click the Install button below, and Netbeans should guide you through the rest.

[edit] Install NIPY

Install NeuroDebian to get all dependencies:

sudo add-apt-repository "deb http://neurodeb.pirsquared.org lucid main contrib non-free"
sudo add-apt-repository "deb http://neurodeb.pirsquared.org data main contrib non-free"
sudo apt-get update

If you receive the following error message:

W: GPG error: http://neurodeb.pirsquared.org data Release: The following signatures
couldn't be verified because the public key is not available: NO_PUBKEY A5D32F012649A5A9
W: GPG error: http://neurodeb.pirsquared.org lucid Release: The following signatures
couldn't be verified because the public key is not available: NO_PUBKEY A5D32F012649A5A9

Execute the following commands for the missing key, taking care to replace key with that displayed on your machine:

gpg --keyserver pgpkeys.mit.edu --recv-key A5D32F012649A5A9
gpg -a --export A5D32F012649A5A9 | sudo apt-key add -
sudo apt-get update

Complete the NIPY install:

sudo apt-get install python-nipy python-nipype

[edit] Install NiBabel

sudo apt-get install python-nibabel
Personal tools