Slicer3:Debian

From Slicer Wiki
Revision as of 23:59, 12 June 2011 by Belhachemi (talk | contribs)
Jump to: navigation, search
Home < Slicer3:Debian

Intro

A Debian package for slicer has been created to make it easier to install "3D Slicer" on Debian machines. This means users can simply do:

sudo apt-get install slicer

and the slicer3 command will be available in their path and system menus. All slicer executables and libraries will be installed along with dependencies.

Debian "squeeze"

Debian "squeeze" contains a "3D Slicer 3.4" package.

The next major Debian release "wheezy" will contain a "3D Slicer 3.6" package.

Dependencies

Media:slicer_rdep_squeeze.png

Cloud computing

3D Slicer 3.4
ami-6ca05805  (~ $0.02 per hour)

Example session:

$ AMI=mi-6ca05805
$ ec2-describe-images $AMI
$ ec2-run-instances -t t1.micro $AMI -n1 -k mykey
$ ec2-describe-instances
$ user=...
$ host=...
$ ssh -i id_rsa-mykey -X ${user}@${host}

Use Slicer's command line tools

$ /usr/lib/Slicer3/Plugins/AffineRegistration --help

or start Slicer's GUI

$ slicer3

Switching to Debian "unstable"

  • You also could switch to Debian "unstable" to access the bleeding edge version of the slicer package.

1. Boot or Install Debian "squeeze".

2. Add the following line to /etc/apt/sources.list

deb http://http.us.debian.org/debian/ unstable main

3. As root perform

apt-get update
apt-get dist-upgrade


Ubuntu

The Ubuntu distribution will also contain a slicer package in their universe repository [1]. This package is probably based on the slicer package taken from Debian "unstable".

Thanks!

These packages were the result of a lot of work by Dominique Belhachemi.